Announcements
No record found.
public void init() { super(); //FormControl sender; str caller = element.args().callerName();//FormControl(sender) childform Args args = new Args(); ; //caller = sender.formRun().args().caller(); if(caller == formStr(SalesCreateOrder)) { if (element.args().dataset() == tableNum(SalesTable)) { SalesTable salesTable = element.args().record(); } } else if(caller == formStr(SalesCreateQuotation)) { if (element.args().dataset() == tableNum(SalesQuotationTable)) { SalesQuotationTable salesQuotationTable = element.args().record(); } } }
public void init() { super(); if(element.args()) { if( element.args() && element.args().menuItemName() == menuItemDisplayStr(YourMenuItemName)) { FormRun formRun = element.args().caller(); SalesTable salesTable = formRun.dataSource(tableNum(SalesTable)).cursor(); } else if(element.args().menuItemName() == menuItemDisplayStr(YourMenuItemName2))) { FormRun formRun = element.args().caller(); SalesQuotationTable salesQuotationTable = formRun.dataSource(tableNum(SalesQuotationTable)).cursor(); } } }
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 586 Super User 2026 Season 1
Giorgio Bonacorsi 311
Diego Mancassola 271