How to use arg for output and display menu items public static void main(Args args) { VendPurchOrderJour vendPurchOrderJour; PurchTable purchTable; ; if(args.dataset() == tablenum(VendPurchOrderJour)) { vendPurchOrderJour = args.record(); select purchTable where purchTable.PurchId == vendPurchOrderJour.PurchId; if(purchTable.CustomsImportOrder_IN == noYes::Yes) new MenuFunction(menuitemoutputstr(TestPurch), MenuItemType::Output).run(args); else new MenuFunction(menuitemoutputstr(TestS), MenuItemType::Output).run(args); } }
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 .