Skip to main content

Posts

Showing posts with the label Axapta Tips fun trick

Open many reports on a single click button

To Open many reports on a single click button, write code on click button str _menuItemOutputStr; Args args = new Args(); Args args1 = new Args(); Args args2 = new Args(); Args args3 = new Args(); Args args4 = new Args(); MenuFunction menuFuction; args.record(PurchProforma); args1.record(PurchProforma); args2.record(PurchProforma); args3.record(PurchProforma); args4.record(PurchProforma); new MenuFunction(menuitemoutputstr(_ExProforma_Purch1),MenuItemType::Output).run(args); new MenuFunction(menuitemoutputstr(_ExProforma_Purch1Duplicate),MenuItemType::Output).run(args1); New MenuFunction(menuitemoutputstr(_ExProforma_Purch1Triplicate),MenuItemType::Output).run(args2); new MenuFunction(menuitemoutputstr(_ExProforma_Purch1GateCopy),MenuItemType::Output).run(args3); new MenuFunction(menuitemoutputstr(_ExProforma_Purch1ExtraCopy),MenuItemType::Output).run(args4); super();