1. In the class, declare the dialog variable as ‘DialogRunbase’

2. Override the dialogPostRun method in the class as follows:
public void dialogPostRun(DialogRunbase _dialog)
{
;
super(_dialog);
_dialog.dialogForm().formRun().controlMethodOverload(true);
_dialog.dialogForm().formRun().controlMethodOverloadObject(this);
}
3. Assuming the dialog field as fld3_1, override/create the method as follows:

To summarize the same, the ItemGroupId is the (fld3_1) field. Upon selecting the value in this field, the Division field should get disabled


Too good and optimised.
ReplyDeleteIn the dialog method, How is initialized?
ReplyDelete