Alfasith AX

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

Sunday, June 8, 2014

Customization or completed development of SalesInvoice report in Dynamic AX 2012

Hi,

DP - SalesInvoiceDP
Contract - SalesInvoiceContract
Conttroller - SalesInvoiceController
Temporary Header table - salesInvoiceHeaderFooterTmp
Temporary Header table - salesInvoiceLocalizationTmp
Temporary lines table - salesInvoiceTmp
(Its not tempDB but the records will be deleted once the transaction completes)

Details about DP and explaination of few method
(Not all the method I explaied only mandrantry method)
I added few fields in the lines table and inserted values.


Methods Description Country
generateInvoiceHeaderLocalizationData Populates a SalesInvoiceHeaderFooterTmp record for the Eastern Europe countries. EA
getDataFromContract Initializes data from the contract class. (Overrides the getDataFromContract Method.)  
getInvoiceCount_IN Calculates the invoice count. For line count  
insertCreditNoteSummaryLine_PL Insert the credit note summary line. (Overrides the insertCreditNoteSummaryLine_PL Method.)  
insertDataInSalesInvoiceTmp_IN Inserts data into SalesInvoiceTmp_IN table. Only for India
insertIntoSalesInvoiceHeaderFooterTmp Inserts the invoice header information.  
insertIntoSalesInvoiceLocalizationTmp Inserts the invoice detail information.  
insertIntoSalesInvoiceTmp Inserts the invoice detail information.  
processReport Processes the report business logic. (Overrides the processReport Method.)  
Regards,

1 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) ...