Add OE Line - Screen Script¶
This screen script doesn’t make any customizations to the UI but monitors the data sources opened by the screen for changes. When a new detail line is added, the screen adds another line with a fixed item.
Unlike in the view script solution,
poplar_oeaddlne.OE0500_oe_add_line, we cannot pass parameters to the
screen script so the item mapping is hard coded.
Insert a new OE line following the insert of a line with a particular item.
Part of an introductory training to Extender. Learn more at https://poplar_addoelne.rtfd.io.
This file is provided under a Creative Commons 4 Sharealike license. See https://creativecommons.org/licenses/by-sa/4.0/ for details.
A UI that monitors the order details and inserts a new line.
This UI class makes no changes to the OE1100 screen, it simply monitors and writes to the Data Sources connected to it.
If the item inserted was
ITEM, add a new line.
Raises: None Return type: None
The item number that triggers the new line.
The item line type to insert.
The item number to insert.
The item quantity to insert.
Executed by VI when the screen is loaded. Create our UI.