Notifications
Announcements
No record found.
final class DTPackingSlipNotInvoicedBatchUIBuilder extends SysOperationAutomaticUIBuilder { DialogField typeField; DialogField toField; public void postBuild() { super(); // get references to dialog controls after creation typeField = this.bindInfo().getDialogField(this.dataContractObject(), methodStr(DTPackingSlipNotInvoicedBatchContract, parmtype)); toField = this.bindInfo().getDialogField(this.dataContractObject(), methodStr(DTPackingSlipNotInvoicedBatchContract, parmTo)); } public void postRun() { super(); // register overrides for form control events typeField.registerOverrideMethod(methodstr(FormComboBoxControl, modified), methodstr(DTPackingSlipNotInvoicedBatchUIBuilder, modified), this); } public boolean modified(FormComboBoxControl _selection) { boolean toField; DTPackingSlipNotInvoicedBatchContract cTPackingSlipNotInvoicedBatchContract = this.dataContractObject() as DTPackingSlipNotInvoicedBatchContract; if(_selection.selection() == DTPackingSlipNotInvoiceType::SalesPerson) { toField.visible(false); } return toField; } }
public void modified(FormComboBoxControl _selection) { DTPackingSlipNotInvoicedBatchContract cTPackingSlipNotInvoicedBatchContract = this.dataContractObject() as DTPackingSlipNotInvoicedBatchContract; if(_selection.selection() == DTPackingSlipNotInvoiceType::SalesPerson) { toField.enabled(false); } }
final class DTPackingSlipNotInvoicedBatchUIBuilder extends SysOperationAutomaticUIBuilder { DialogField typeField; DialogField toField; public void postBuild() { super(); // get references to dialog controls after creation typeField = this.bindInfo().getDialogField(this.dataContractObject(), methodStr(DTPackingSlipNotInvoicedBatchContract, parmtype)); toField = this.bindInfo().getDialogField(this.dataContractObject(), methodStr(DTPackingSlipNotInvoicedBatchContract, parmTo)); } public void postRun() { super(); // register overrides for form control events typeField.registerOverrideMethod(methodstr(FormComboBoxControl, modified), methodstr(DTPackingSlipNotInvoicedBatchUIBuilder, modified), this); } public void modified(FormComboBoxControl _selection) { DTPackingSlipNotInvoicedBatchContract cTPackingSlipNotInvoicedBatchContract = this.dataContractObject() as DTPackingSlipNotInvoicedBatchContract; if(_selection.selection() == DTPackingSlipNotInvoiceType::SalesPerson) { toField.visible(false); } } }
if(_selection.selection() == DTPackingSlipNotInvoiceType::SalesPerson)
public void postBuild() { super(); // get references to dialog controls after creation typeField = this.bindInfo().getDialogField(this.dataContractObject(), methodStr(DTPackingSlipNotInvoicedBatchContract, parmtype)); toField = this.bindInfo().getDialogField(this.dataContractObject(), methodStr(DTPackingSlipNotInvoicedBatchContract, parmTo)); if(typeField.Value() == DTPackingSlipNotInvoiceType::SalesPerson) { toField.enabled(false); } }
public void postBuild() { super(); // get references to dialog controls after creation typeField = this.bindInfo().getDialogField(this.dataContractObject(), methodStr(DTPackingSlipNotInvoicedBatchContract, parmtype)); toField = this.bindInfo().getDialogField(this.dataContractObject(), methodStr(DTPackingSlipNotInvoicedBatchContract, parmTo)); if(typeField.Value() == DTPackingSlipNotInvoiceType::SalesPerson) { toField.enabled(false); }
}
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 664 Most Valuable Professional
André Arnaud de Cal... 522 Super User 2025 Season 2
Sohaib Cheema 303 User Group Leader