Use this entry point to take over when creating or modifying operation trackings just before writing or rewriting the operation tracking line (this is used, for example, to initialize the specific table fields).
A "WACTION" character type variable is set to the "C" value in creation mode and the "M" value in modification mode.The content of this variable is queried in order to establish the call context.
There is one transaction in progress.
To cancel the transaction if a problem occurs, the GOK variable must be set to 0.
Opening the log is subjected to the "STOTRACE" stock general parameter value.
The [F:MKO] buffer is loaded when calling the entry point.
The [M :MTK0] and [M :MTK1] screen classes linked to the time tracking creation are loaded.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
MFGHEADTRK | Yes | Tracking header |
MFGHEAD | No | WO header |
MFGOPE | Yes | Operations |
MFGOPETRK | Yes | Operation tracking |
SCHEDULING | No | Scheduling |
FACILITY | Yes | Site |
Use this entry point to intercept the production tracking events likely to have an impact on the production cost of the work order.
The event type concerned here is the creation and deletion of the three possible tracking types: production reporting, material consumption and operation tracking.
There is one transaction in progress.
There is no open log file.
The entry point is situated in 6 locations, at the end of update phases. Two types of updates are concerned: the creation and the deletion of a tracking (operation tracking, consumption or production reporting depending on the context).
The context is passed by the GWIPCOST global variable:
GWIPCOST = "ITMTRK_NEW" for each production reporting creation.
GWIPCOST = "ITMTRK_DEL" for each production reporting deletion.
GWIPCOST = "MATTRK_NEW" for each material consumption creation.
GWIPCOST = "MATTRK_DEL" for each material consumption deletion.
GWIPCOST = "OPETRK_NEW" for each operation tracking creation.
GWIPCOST = "OPETRK_DEL" for each operation tracking deletion.
It is possible to send an error status to the standard program in order to interrupt the process, by initializing the WRET variable to a value that is not null.
According to the tracking type processed, the [F:MKO], [F:MKI] and [F:MKM] buffers, as well as the [M :MTK0], [M :MTK1], [M :MTK2] and [M :MTK3] screen classes are loaded when calling the entry point.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
MFGITMTRK | Yes | Production reporting |
MFGITM | No | Released product |
MFGMATTRK | Yes | Material consumption |
MFGMAT | No | Material |
MFGOPETRK | Yes | Operation tracking |
MFGHEADTRK | Yes | Tracking header |
MFGHEAD | No | WO header |
MFGOPE | Yes | Operations |
SCHEDULING | No | Scheduling |
FACILITY | Yes | Site |
When modifying stock movement linked to a production reporting line, use this entry point to intervene in the closing indicator for the released product lines (MFITRKFLG field in the MFGITM file).
There is one transaction in progress.
To cancel the transaction if a problem occurs, the GOK variable must be set to 0.
There is no open log file.
The [F:MFI] buffer is loaded when calling the entry point.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
MFGITMTRK | Yes | Production reporting |
MFGITM | Yes | Released product |
MFGMATTRK | No | Material consumption |
MFGMAT | No | Material |
MFGOPETRK | No | Operation tracking |
MFGHEADTRK | Yes | Tracking header |
MFGHEAD | No | WO header |
MFGOPE | No | Operations |
SCHEDULING | No | Scheduling |
FACILITY | Yes | Site |
Use this entry point to take over when creating or modifying production reporting, just before writing the material tracking (MFGMATTRK [F :MKM] file) in order to modify or specify the value of certain fields.
A "WACTION" character type variable is set to the "C" value in creation mode and the "M" value in modification mode.The content of this variable is queried in order to establish the call context.
There is one transaction in progress.
Opening the log file is subjected to the "STOTRACE" stock general parameter value.
The MTK0, MTK1, MTK2, MTK3 masks may potentially be open and loaded (according to the tracking transaction).
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
MFGHEAD | Yes | WO header |
MFGITM | No | Released products |
MFGOPE | No | Operations |
MFGMAT | Yes | Components |
MFGOPETRK | No | Operation tracking |
MFGMATTRK | Yes | Material consumption |
Use this entry point to take over when creating or modifying production tracking, just before writing the production declaration (MFGITMTRK [F :MKI] file) in order to modify or specify the value of certain fields.
A "WACTION" character type variable is set to the "C" value in creation mode and the "M" value in modification mode.The content of this variable is queried in order to establish the call context.
There is one transaction in progress.
Opening the log file is subjected to the "STOTRACE" stock general parameter value.
The MTK0, MTK1, MTK2, MTK3 masks may potentially be open and loaded (according to the tracking transaction).
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
MFGHEAD | Yes | WO header |
MFGITM | Yes | Released products |
MFGOPE | No | Operations |
MFGMAT | No | Components |
MFGOPETRK | No | Operation tracking |
MFGMATTRK | No | Material consumption |
MFGITMTRK | Yes | Production reporting |
Use this entry point to take over when creating, modifying or deleting production tracking, just before rewriting the WO material ( MFGMAT [F :MFM] file) in order to modify or specify the value of certain fields.
A "WACTION" variable of character type is set to the "C" value in creation, to the "M" value in modification and the "A" value in cancellation.
A "WCUMMATSUI" variable of integer type contains the value of the CUMMATSUI parameter and is used to know whether the materials are totaled on tracking (0: materials are not totaled; 1: materials are totaled).
The content of these variables must be queried in order to establish the call context.
There is one transaction in progress.
Opening the log file is subjected to the "STOTRACE" stock general parameter value.
The MTK0, MTK1, MTK2, MTK3 masks may potentially be open and loaded (according to the tracking transaction).
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
MFGHEAD | Yes | WO header |
MFGITM | No | Released products |
MFGOPE | No | Operations |
MFGMAT | Yes | Components |
MFGOPETRK | No | Operation tracking |
MFGMATTRK | Yes | Material consumption |
Use this entry point to authorize (or not) the re-calculation of the scheduling after an operation tracking deletion.
There is one transaction in progress.
There is an open log file.
Set GPE to 1 in order to avoid a re-calculation of the scheduling.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
MFGHEADTRK | Yes | Tracking header |
MFGOPETRK | No | Operation tracking |
In creation and cancellation of work order tracking, use this entry point to take over when managing the allocation on the material, in order, for example, to manage global allocations instead of detailed allocations.
There is one transaction in progress.
There is an open log file.
When resuming the execution of the processing, the GPE global variable must be set to 0 to prevent the allocation creation or cancellation standard processing.
If TRTLIG = "A", the allocations must be canceled, otherwise updated.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
MFGHEADTRK | Yes | Tracking header |
MFGMATTRK | Yes | Material tracking |
Use this entry point to modify the quantity to allocate to a WO material assigned with current tracking.
There is one transaction in progress.
There is an open log file.
The entry point set the WALLQTY global varibale to the quantity that must be allocated.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
MFGHEADTRK | Yes | Tracking header |
MFGMATTRK | Yes | Material tracking |
Use this entry point in order not to update the operation on deletion of the current tracking.
A "WACTION" character type variable is set to the "C" value in creation mode and the "M" value in modification mode.The content of this variable is queried in order to establish the call context.
There is one transaction in progress.
To cancel the transaction if a problem occurs, the GOK variable must be set to 0.
Opening the log is subjected to the "STOTRACE" stock general parameter value.
The [F:MKO] buffer is loaded when calling the entry point.
The [M :MTK0] and [M :MTK1] screen classes linked to the time tracking creation are loaded.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
MFGHEADTRK | Yes | Tracking header |
MFGHEAD | No | WO header |
MFGOPE | Yes | Operations |
MFGOPETRK | Yes | Operation tracking |
SCHEDULING | No | Scheduling |
FACILITY | Yes | Site |