AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.05.2013, 15:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,617 / 848 (80) +++++++
Регистрация: 28.10.2006
dynamicsaxbi: Best Practices: Report Data Methods
Источник: http://blogs.msdn.com/b/dynamicsaxbi...a-methods.aspx
==============

 

Microsoft Dynamics AX 2012

 

With the introduction of the new developer tools provided by the Microsoft Dynamics Ax 2012 Reporting Framework, accessing AX business data has never been easier.  The framework offers provides many built-in utility functions that can be exercised directly using text box expressions.  However, there are cases where more complex algorithms are necessary to produce the desired output.  For these situations, it’s worth considering taking advantage of report data methods.  MSDN offers an excellent overview of Report Data Methods that’s worth reviewing.  The following article surfaces some of the highlights from this reading.



DO USE ….. logic in the Report Data Provider class to calculate and manipulate data whenever possible

It is strongly recommended that you take steps to minimize the amount of network traffic required to produce the report data set.  One of the key benefits to Report Data Providers is that all of the processing occurs on the AOS.  The SSRS Server makes a request to build the data set and the AOS streams the response back without a great deal of back and forth communication.  For this reason, porting all of your AX data access manipulation code into a Report Data Provider class is worth considering before using Data Methods.

 

DO USE ….. report data methods to apply custom formatting operations at runtime

The framework offers provides many built-in utility functions that can be exercised directly using text box expressions.  However, there are cases where more complex algorithms involving external data are required to produce the desired output.  For these case, it may be appropriate to use some custom business logic



 

DO NOT ….. reference C# data methods from an expression to access AX Service APIs

Whereas report data method are perfectly suited for producing rectangular data sets using C# business logic, they are NOT intended for use as a callback into AX Services.  The report uses Data Methods in SSRS Expressions to make service calls to AX.  The expression host that performs the execution is by design a low trust environment.  This has been known to cause the service execution to fail in many cases.




Источник: http://blogs.msdn.com/b/dynamicsaxbi...a-methods.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
ax-erp: Walkthrough: Creating a Report Bound to a Report Data Provider Class (X++ Business Logic) [AX 2012] Blog bot DAX Blogs 0 20.09.2012 11:11
sumitsaxfactor: Building a simple report – Using Report Data Provider Blog bot DAX Blogs 9 11.09.2012 10:17
sumitsaxfactor: Report Design and Controls Blog bot DAX Blogs 0 05.09.2012 22:11
ax-erp: Report Data provider [RDP] as data source type in data set – SSRS reports [Dynamics ax 2012] Blog bot DAX Blogs 0 18.07.2012 12:11
emeadaxsupport: New Content for Microsoft Dynamics AX 2012 : October 2011 Blog bot DAX Blogs 0 27.10.2011 17:11

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 15:24.