Carry out the following steps in order to complete this recipe:
- Add a new class named MyDialogSelect with the following code snippet:
class MyDialogSelect extends RunBase { DialogField fieldAccount; DialogField fieldName; DialogField fieldGroup; DialogField fieldCurrency; DialogField fieldPaymTermId; DialogField fieldPaymMode; public container pack() { return conNull(); } public boolean unpack(container _packedClass) { return true; }
- Create a dialog method to capture run time user inputs for customer details:
Object dialog() { Dialog dialog; DialogGroup groupCustomer; DialogGroup groupPayment; dialog = super(); dialog.caption("Customer information"); dialog.allowUpdateOnSelectCtrl(true); fieldAccount = dialog.addField ...