Flags control example in report of Axapta I think its going to difficult to understand. public boolean fetch() { // boolean ret; // ret = super(); boolean HeaderFlag; boolean ProgFlag; boolean FirstRun; Boolean HeaderOnFirstRun; QueryBuildDataSource qbds__RegBatchProcess; QueryBuildRange QrRegNo,qrcrop,rangeTransDate,QBR_TechYear; Query q = new Query(); ; q = this.query(); qbds__RegBatchProcess = q.dataSourceTable(tablenum(_RegBatchProcess)); //Add Sort Field qbds__RegBatchProcess.addSortField(fieldnum(_RegBatchProcess, InventLocationId));//1 Center qbds__RegBatchProcess.addSortField(fieldnum(_RegBatchProcess, _seasonid));//2 Season qbds__RegBatchProcess.addSortField(fieldnum(_RegBatchProcess,Stg));//3 Stage qbds__RegBatchProcess.addSortField(fieldnum(_RegBatchProcess, ItemId));//4 Crop qbds__RegBatchProcess.addSortField(fieldnum(_RegBatchProcess, CustAccount));//5 MPCode qbds__RegBatchProcess.addSortField(fieldnum(_RegBa...
Microsoft Dynamics Ax,AIF,Axapta, Enterprise portal,,Microsoft , United State,U.S., SharePoint , BI Tools, Performance Tuning, SSRS,Business Logic,Ax ERP Errors and solution,Dynamics 365 Errors Solution,Business software .