Тема: RunBaseReport
Показать сообщение отдельно
Старый 11.09.2006, 15:25   #6  
Jabberwocky is offline
Jabberwocky
Microsoft Dynamics
Аватар для Jabberwocky
Сотрудники Microsoft Dynamics
 
274 / 307 (11) ++++++
Регистрация: 02.09.2005
Адрес: Москва
Использовать RunBaseReport в общем случае имеет смысл, если необходимо перед формированием отчета запросить у пользователя критерии отчета в диалоговом окне и запомнить их для последующего использования (наследование от RunBase). Вообще-то, если верить документу "What's new in Axapta 3.0" использование RunBaseReport - устаревший механизм :

In version 3.0, it is not necessary to create an inheritance of the runbaseReport class to be able to run a report in batch. Instead your report has to comply with the SysPromptable interface, meaning that you have to implement dialog(), getFromDialog(), pack(), and unpack() methods. MenuItems must point to the report instead of the class.
An example can be seen with the Tutorial_RunbaseReportStd report.
__________________
You should use Bing before asking dumb questions.