Entry points > Module Manufacturing > Standard script PITMFG 

CHECKOPS: Consideration of the WO

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.

Context and operating mode

Set GOK to zero to avoid loading the WO corresponding to the current operation in the [M:OPTK] screen mask.

CUSSELFLT: Inserting additional filters

Context and operating mode

OPTDATCONT: Date control

Is used to avoid the control on the current operation start and end dates.

Context and operating mode

Set GPE to a value other than zero in order not to pass in this standard control.

CRITORD: Adding a filter on product codes for purchase pivot

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.

Context and operating mode

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'"

GETMFGNUM: Retrieving the current WO number extracted for optimization

Use this entry point to retrieve the MFGNUM current WO number extracted for optimization by the connector.

Context and operating mode

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