SUBMFG script: Script linked to the WO
RPLMAT: Leveling WO materials
This entry point is called when the RELSTRDAT - ‘Level on WO start date change’ site parameter is set to Yes. This entry point is used to prohibit the leveling of work order materials when the work order start date is changed (directly or indirectly by modifying the end date).
Context and operating mode
Context description of the call
There is no transaction in progress.
Log file
There is no open log file.
Available screens and file classes
The [M:MFG0], [M:MFG1] and [M:MFG2] screen classes are loaded based on the [L]WMEMDAT value of the WO start date before modification.
Usage
The GPE variable is used. It is set to the value 0 by default.
It must be set to 1 in the specific processing in order to short-circuit the WO materials leveling based on the [M:MFG1]STRDAT value of the WO start date after modification.
Open tables
In the table below, the Significant content flag indicates that the content matches the context.
Table |
Significant content |
Table title |
MFGHEAD |
No |
WO header |
MFGITM |
No |
Released products |
MFGOPE |
No |
Operations |
MFGMAT |
No |
Materials |
MFGPRN |
No |
Documents |
ORDERS |
No |
WIPs |
SCHEDULING |
No |
Scheduling |
OPERATIONS |
No |
Load WIP |
ROUTING |
No |
Routing header |
ROUOPE |
No |
Routing operations |
ROUSCD |
No |
Routing - Scheduling |
BOM |
No |
Bill of materials |
BOMD |
No |
BOM lines |
FACILITY |
No |
Site |
ITMMASTER |
No |
Product |
ITMFACILIT |
No |
Product-site |