Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Sunday, May 14, 2017

Print management in AX 2012

Hi,

There are 2 set of tables associated to Print management
1. Default
2 Print management design.

1. Default will be called by class\PrintMgmtDocType\methods\getDefaultReportFormat where as we can change this values in form setup form level.

2. For Print management on customized design called by
Tables - PrintMgmtReportFormat\Methods\populate

addOther(PrintMgmtDocumentType::SalesOrderPackingSlip, ssrsReportStr(SalesPackingSlip, ReportUD), ssrsReportStr(SalesPackingSlip, ReportInternational), #NoCountryRegionId);

Here ReportInternational is my design name.

Then run the populate method will create a record in PrintMgmtReportFormat with your new design as same document type that you mentioned in the above added code.

if you want change this design as default please change by manual in Form setup (of concern module)\ print management.

Hope you enjoyed,
Regards,


No comments:

Post a Comment

How find size of recordsortedlist in D365/AX 2012

Hi, This is the continuity of the previous article where we are now getting the size of recordsortedlist . if(recordsortedlist.len() >1) ...