AX 2012 SSRS Report: Multiple design under Print management
If new formats for Sales order confirmation/Picking/Packing/Invoice Purchase order postings etc. are needs to be added. Following steps needs to be performed.
Step1. Create new Design for report under visual studio
Step2. Add code to method:
\Data Dictionary\Tables\PrintMgmtReportFormat\Methods\populate
Step2. Add code to method:
\Data Dictionary\Tables\PrintMgmtReportFormat\Methods\populate
Add Code in the before TTSCOMMIT:
addOther(PrintMgmtDocumentType::SalesOrderPackingSlip, ‘SalesPackingSlip.Report_XYZ,’SalesPackingSlip.Report_XYZ’ ,’XYZ’);
addOther(PrintMgmtDocumentType::SalesOrderPackingSlip, ‘SalesPackingSlip.Report_XYZ,’SalesPackingSlip.Report_XYZ’ ,’XYZ’);
Step 3. Setup the Format under:
AR -> setup -> form setup -> Print management -> Sales order Packing slip
original -> report format to SalesPackingslip.Report_XYZ
AR -> setup -> form setup -> Print management -> Sales order Packing slip
original -> report format to SalesPackingslip.Report_XYZ
Step 4.
New Report design can be executed from use Print management from Inquiry journal forms or during posting by selecting Print management destination.
New Report design can be executed from use Print management from Inquiry journal forms or during posting by selecting Print management destination.