step1: Create a form and apply form pattern as wizard step2 : create a class and extend the class with SysWizard. code : class BAS_WIzardScreen extends SysWizard { #MACROLIB.AviFiles FormName formname() { return formstr(BAS_WIzardForm); // name of the wizard form } public void run() { info(strFmt("Thankyou")); } public void setupNavigation() { } public boolean validate() { return true; } public static str description() { return "BASOFA WIZARD"; // title of the wizard } public static void main(Args _args) { BAS_WIzardScreen wizard = new BAS_WIz...
Reuirement : I have to create a table called BASTradeAgreementTable with fields like following Item number Product Name ToDate FromDate InventSiteId InventLocationId Amount From Unit Step2: After Creating Table I have to create a form and add the created table into the form datasource and add all the fields of that datasource to form grid. I have to create a button called Post whenever user clicks on that button i have to create and post Trade Agreement Journals with the data provided in the form grid. [Control("Button")] class Post { /// <summary> /// /// </summary> public void clicked() { int recordsCount; BASTradeAgreementTable tradeAgreement; ...
Comments
Post a Comment