Customer account statement in AX 2012 R3 can be generated from Accounts Receivable > Reports > External > Customer account statement. However, if we need to generate this report through code - how can we achieve this? I created a new query in AOT with only dataSource 'CustTable', as I want to loop on selected customers only. I created a class extending from RunBase (did not want to touch existing report and class for customer account statement) being considering it a custom process of generating customer account statement using X++ code opposed to what exists in system. New query looks like this with three ranges, these ranges will show on dialog form Created a new class with following methods which are common for every dialog class; main construct new pack unpack dialog getFromDialog run showQueryValues queryRun I will explain important methods from the class which I think need discussion. QueryRun method - this method ...
A library with Microsoft Dynamics AX, Microsoft Dynamics 365 FinOps and Supply Chain Management, Power Platform, Integrations, development and functional processes, tricks and trip, tutorials and much more....