Use this entry point to take over during the creation of selection filters in the time tracking plan processing (FUNBENCHO function).
The CUSFLT variable (255 characters) is used to set filters on additional file fields.
The filter can be applied to the WO operation file (MFGOPE class [F :MFO]) or the routing detail file (ROUOPE class [F :ROO]) according to whether the operations are to be selected for the WO or the routing.
There is no transaction in progress.
There is no open log file.
The MTKBENCHO mask is open and the different selections 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 |
FACILITY | Yes | Site |
ROUTING | No | Routing header |
ROUOPE | No | Route detail |
MFGHEAD | No | WO header |
MFGOPE | No | WO operations |
WORKSTATIO | No | Work centers |
Use this entry point to delete the display of the generated log file on time tracking plan validation.
The GPOINT variable must be reset to prevent the display.
There is no transaction in progress.
There is an open log file.
The MTKBENCHO mask is open and the different selections 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 |
FACILITY | Yes | Site |
ROUTING | No | Routing header |
ROUOPE | No | Routing detail |
MFGHEAD | No | WO header |
MFGOPE | No | WO operations |
WORKSTATIO | No | Work centers |
Use this entry point to take over in time tracking creation in order to update the specific tables linked to the tracking header.
This entry point is called just before the "Write [F:MTK]" instruction.
There is one transaction in progress.
If a problem arises, set the GOK global variable to 0.
There is an open log file.
The MTKBENCHO mask is open and loaded.
The MTOK invisible mask is open and loaded with the information of the last operation processed.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
FACILITY | Yes | Site |
ROUTING | Yes | Routing header |
ROUOPE | No | Routing detail |
MFGHEADTRK | Yes | Tracking header |
MFGHEAD | Yes | WO header |
MFGOPE | No | WO operations |
WORKSTATIO | No | Work centers |
Use this entry point to take over just after the use of the "Validation" button in order to carry out additional controls and potentially prevent the creation.
On leaving this entry point, the GPOINT variable is tested and the database update is only carried out if this variable is not empty. If these additional controls are not satisfying, it is necessary to empty this variable (GPOINT = "").
There is no transaction in progress.
There is no open log file.
The MTKBENCHO mask is open and loaded.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
FACILITY | Yes | Site |
ROUTING | No | Routing header |
ROUOPE | No | Routing detail |
MFGHEAD | No | WO header |
MFGOPE | No | WO operations |
WORKSTATIO | No | Work centers |
Use this entry point to take over in the read loop for the operation records to be taken into account in the time tracking plan processing (FUNBENCHO function), thus allowing to exclude an operation or to add another.
Deactivating the GPE variable (value=0) is used to avoid the loading of the [MFO] current line in the grid.
There is no transaction in progress.
There is no open log file.
The MTKBENCHO mask is open and the different selections are loaded. The operations grid is being loaded and a recording of the [MFO] file is being analyzed check whther all the criteria are met in order to load it in the grid.
Deactivating the GPE variable (value=0) is used to avoid the loading of the [MFO] current line in the grid.
Open tables
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
FACILITY | Yes | Site |
ROUTING | No | Routing header |
ROUOPE | No | Routing detail |
MFGHEAD | Yes | WO header |
MFGOPE | Yes | WO operations |
WORKSTATIO | No | Work centers |
Use this entry point to take over upon exiting the time tracking plan in order to carry out a specific processing, such as launching a print.
There is no transaction in progress.
There is an open log file.
Variable or mask | Definition |
Mask MTKBENCHO [MBO] | Operations grid |
Char WMTKNUMSTR | Number of the first tracking created |
Char WMTKNUMEND | Number of the last tracking created |
Char ERR_TRA(132) | Log file text |
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
FACILITY | Yes | Site |
ROUTING | No | Routing header |
ROUOPE | No | Routing detail |
MFGHEAD | No | WO header |
MFGOPE | No | WO operations |
WORKSTATIO | No | Work centers |
Use this entry point to take over before the display of the time tracking plan grid (FUNBENCHO function) in order to load it in a specific way.
There is no transaction in progress.
There is no open log file.
The FUNBENCHO mask is open and the different selections 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 |
FACILITY | Yes | Site |
ROUTING | No | Routing header |
ROUOPE | No | Routing detail |
MFGHEAD | No | WO header |
MFGOPE | No | WO operations |
WORKSTATIO | No | Products |
Use this entry point to take over just before sending a warning or error message when responses to technical sheets have not been provided.
For instance, it allows to check if another tracking has already been carried out on this WO operation, in order to stop sending the message.
When resuming the execution of the processing, the value of the GPE variable is tested.
There is no transaction in progress.
There is no open log file.
The MTKBENCHO mask is open and loaded.
The GCTLFICTEC global variable contains the value of the CTLFICTEC general setup (Check of the technical sheets). It is necessary to test the value of this variable in order to know the call context.
The GPE variable is loaded with the value 0 before calling the entry point.
To prevent the message from displaying, set the variable to 1.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
FACILITY | Yes | Site |
ROUTING | No | Routing header |
ROUOPE | No | Routing detail |
MFGHEAD | No | WO header |
MFGOPE | No | WO operations |
WORKSTATIO | No | Work centers |
MFGHEADTRK | No | Tracking header |
MFGOPETRK | No | Operation tracking |
Use this entry point to authorize (or not) the scheduling recalculation following an operation tracking creation from the time tracking plan or ADCs.
There is one transaction in progress.
There is an open log file.
Set GPE to 1 to prevent 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 |
FACILITY | Yes | Site |
ROUTING | No | Routing header |
ROUOPE | No | Routing detail |
MFGHEAD | No | WO header |
MFGOPE | No | WO operations |
WORKSTATIO | No | Products |
Use this entry point to authorize or not the validation after specific controls.
There is one transaction in progress.
There is an open log file.
Activating the GPE variable (value=1) is used to stop the validation.
The MTKBENCHO mask is open and loaded.
Open tablesIn the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
FACILITY | Yes | Site |
ROUTING | No | Routing header |
ROUOPE | No | Routing detail |
MFGHEAD | No | WO header |
MFGOPE | No | WO operations |
WORKSTATIO | No | Products |
Use this entry point to take over after the controls authorizing the creation of trackings have been performed.
The standard will sort the grid lines according to IPTDAT, TIMTYP, MFGNUM, OPENUM and CLEFLG. It is then possible to perform a personalized sort. The value 1 must then be added to the WCRETRK variable.
It it also possible for the user to indicate that they want to use the EP according to MBOTRKLIN by adding the value 2 to the WCRETRK variable.
There is no transaction in progress.
There is an open log file.
The MTKBENCHO mask is open and loaded.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
FACILITY | Yes | Site |
ROUTING | No | Routing header |
ROUOPE | No | Routing detail |
MFGHEAD | No | WO header |
MFGOPE | No | WO operations |
WORKSTATIO | No | Work centers |
This entry point is triggered only if the value 2 has been added to the WCRETRK variable (WCRETRK=2 or 3) in the MBOTRKCRE entry point. It it used to force the creation of a new tracking and thus avoid the accumulation of different plan lines into a signle tracking by assigning the value 1 to the WNEW variable.
The standard will always create a new tracking when loading the allocation date.
For example, to force the creation of a new tracking when loading the WO number:
If WWMFGNUM<>[M:MBO]MFGNUM(nolign-1)
WNEW=1
Endif
There is one transaction in progress.
There is an open log file.
The MTKBENCHO mask is open and loaded.
WNEW: 0 by default Change to 1 to create a new tracking
WWMFGNUM: WO number of the tracking line that has just been created
nolign: line number being processed
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
FACILITY | Yes | Site |
ROUTING | No | Routing header |
ROUOPE | No | Routing detail |
MFGHEAD | No | WO header |
MFGOPE | No | WO operations |
WORKSTATIO | No | Work centers |