Skip to main content

Posts

Showing posts with the label Modify a RunBase Class in axapta

Modify a RunBase Class in MSD axapta

Modify a RunBase Class 1. Insert a queryRun variable in classDeclaration. 2. Define the query and initialize queryRun in new(). 3. Modify the pack() and unpack() methods. 4. Implement the methods queryRun() and showQueryValues(). 5. Fields and variables related to “From Account” and “To Account” should be removed from classDeclaration, getFromDialog(), and validate(). 6. Modify the run() method to use queryRun to fetch the records in LedgerTable. 7. Modify the dialog() method to take the correct parameters and insert a call to super().