In the process for creating an ERP number (add2db), there is a new server-side callback that is executed before the ERP dialog is displayed. This allows you to check prerequisites and, before opening the dialog, prompt the user, display a message, or prevent the dialog from opening with a message. Data is not modified in this callback. #184987[21]
The compiled
script in the erpcustom.cfg in the [SERVER_BEFORE_SHOWDIALOG] section. The
Function Execute(context) must return 1.
The context object and sample script are described in the issue.
