This entry point is used to prevent the descheduling/rescheduling of optimized work orders (managed by an external scheduling: see Connectors).
See also OPTSCDRAZ in SUBMFGA and UPDSCD in SUBMTKC.
On reading each operation in the scheduling.
The MFO, SCH, MFG and ITF classes are on-line.
This entry point was designed to avoid the descheduling/rescheduling of WOs with an Optimized scheduling status. To do so, the GPE variable must be activated.
Caution: In the case where the EP should not block all the rescheduling cases, make sure to test the current function (GFONCTION variable).
The EP code is the following:
#---------------------------------------------------------------
# Processing: ZJALLIBA
# Entry point: OPTSCDRAZ Issue 91273
# Not descheduling optimized WOs (External detailed scheduling)
#---------------------------------------------------------------
$ACTION
ACTION example
When "OPTSCDRAZ": Gosub OPTSCDRAZ
Endcase
Return
#---------
$OPTSCDRAZ
GPE=1
Return
In the table below, the significant content flag indicates that the content matches the context (…).
Table | Significant content | Table Title |
MFGHEAD | Yes | OF |
MFGOPE | No | WO operations |
SCHEDULING | No | WO scheduling data |
ITMFACILIT | Yes | Product-site |
FACILITY | Yes | Sites |