This entry point is used to process or not the WO based on criteria related to the OPERATIONS current operation of the [F:OPS] buffer.
Set GOK to zero to avoid loading the WO corresponding to the current operation in the [M:OPTK] screen mask.
Is used to avoid the control on the current operation start and end dates.
Set GPE to a value other than zero in order not to pass in this standard control.
Use this entry point to add a filter on product codes of orders (purchase pivto) in order to exclude part of the code when generating the purchase file.
This entry point is called when creating the query on orders based on the list of WO selected by the connector. It is used to add to the CRITERE variable a filter on order product codes that will be taken into account upon execution of the query.
For example:
CRITERE = "left$([ORD]ITMREF,3)<> 'EMB'"
Use this entry point to retrieve the MFGNUM current WO number extracted for optimization by the connector.
This entry point is called every time a WO is extracted for optimization.
The OPERATIONS [F:OPS] table is open and points to the current WO.
For example:
local char WMFGNUM(50)
WMFGNUM = [F:OPS]MFGNUM