In this example a own modal window will be created

- define new window
- change properties in the window
- create work order
Note:
Two variants are possible
- 1 script: all functionality defined in one script. You define in this one script all functions for target window
- 2 scripts: 1. script for opening the window, 2. script inside the new window for the logik
In this example the 1 script solution is described.
BSL: Workorder
WindowEvents form_opened
JBScript See openwindow, SQL, messagebox