Announcements
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…
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... 662 Super User 2026 Season 1
Abhilash Warrier 280 Super User 2026 Season 1
Martin Dráb 201 Most Valuable Professional