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