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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 24.05.2012, 14:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Dynamics AX 2012 Reporting: How to specify new design for Sales order confirmation
Источник: http://blogs.msdn.com/b/axsupport/ar...firmation.aspx
==============

Sales order confirmation report is one of the special reports which are manage by print management. When we create new design in Visual Studio for out Sales order confirmation report and we want to use it it is not enough to change the code. Even those we will change the code in class AOT\Class\SalesConfirmationController method main from:

controller.initArgs(_args,ssrsReportStr(SalesConfirm,Report)
to

controller.initArgs(_args,ssrsReportStr(SalesConfirm,Report_NewDesign)
that will not be picked up and sales confirmation will be still printed in old design.

To change the design you need to:

If you go to

Account receivable > Setup > Forms > Form setup

Click on button Print management

You will see that by default report format is set up to: SalesConfirm.Report



If you want to use every time your new design then you can select for Report format your desire design.



If your desire format does not appear in drop down list you will need to edit method populate of table PrintMgmtReportFormat http://msdn.microsoft.com/en-us/library/printmgmtreportformat.populate.aspx



You can do it in following way:

// Add additional custom report formats here..// Here is an example:

addOther(PrintMgmtDocumentType::SalesOrderConfirmation, 'SalesConfirm.Report_NewDesignA', 'SalesConfirm.Report_NewDesignA', #NoCountryRegionId);




then when you open again Print management form the report name will be available in drop down.

If you want to use the design only in some cases then you can use procedure describe here: http://technet.microsoft.com/en-us/library/dd309660.aspx (section: Specify conditional settings for an original or copy record)

To learn more about print management

http://technet.microsoft.com/en-us/library/dd309615.aspx

http://technet.microsoft.com/en-us/library/dd309745.aspx






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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
dynamicsaxtraining: Purchase Blog bot DAX Blogs 0 11.03.2012 05:25
emeadaxsupport: New Content for Microsoft Dynamics AX 2012 : October 2011 Blog bot DAX Blogs 0 27.10.2011 17:11
dynamics-ax: Interview with Microsoft's Lachlan Cash on his new role, AX 2012 and more Blog bot DAX Blogs 6 22.04.2011 14:55
axinthefield: Dynamics AX Event IDs Blog bot DAX Blogs 0 01.03.2011 22:11
daxdilip: Whats New in Dynamics AX 2012 (A brief extract from the recently held Tech Conf.) Blog bot DAX Blogs 7 31.01.2011 12:35
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 02:47.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.