Announcements
No record found.
[FormDataSourceEventHandler(formDataSourceStr(SalesCreateQuotation, SalesQuotationTable), FormDataSourceEventType::Activated)] public static void SalesQuotationTable_OnActivated(FormDataSource sender, FormDataSourceEventArgs e) { #define.BTNNAME('DTCreateCustQuotation') FormRun form = sender.formRun(); FormDataSource SalesQuotationTable_ds = form.dataSource(formDataSourceStr(SalesCreateQuotation , SalesQuotationTable)) as FormDataSource; SalesQuotationTable salesQuotationTable = SalesQuotationTable_ds.cursor(); FormControl createRetailCustbtn = form.design(0).controlName(#BTNNAME); FormComboBoxControl accountType = form.design().controlName("AccountType"); if(accountType.selectionChange() == smmQuotationAccountType::BusRelAccount) { createRetailCustbtn.enabled(false); } else if(accountType.selectionChange() == smmQuotationAccountType::CustAccount) { createRetailCustbtn.enabled(true); } }
[FormDataSourceEventHandler(formDataSourceStr(SalesCreateQuotation, SalesQuotationTable), FormDataSourceEventType::Activated)] public static void SalesQuotationTable_OnActivated(FormDataSource sender, FormDataSourceEventArgs e) { FormRun form = sender.formRun(); FormDataSource SalesQuotationTable_ds = form.dataSource(formDataSourceStr(SalesCreateQuotation , SalesQuotationTable)) as FormDataSource; SalesQuotationTable salesQuotationTable = SalesQuotationTable_ds.cursor(); FormControl createRetailCustbtn = form.design(0).controlName(formcontrolStr(SalesCreateQuotation, DTCreateCustQuotation)); FormComboBoxControl accountType = form.design().controlName(formcontrolStr(SalesCreateQuotation, AccountType)); if(accountType.selectionChange() == smmQuotationAccountType::BusRelAccount) { createRetailCustbtn.enabled(false); } else if(accountType.selectionChange() == smmQuotationAccountType::CustAccount) { createRetailCustbtn.enabled(true); } }
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 507 Most Valuable Professional
André Arnaud de Cal... 419 Super User 2026 Season 2
CU-1234529-002 155