OPTSCDRAZ: no descheduling of optimized WOs

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.

Context and operating mode

On reading each operation in the scheduling.

Available screen and file classes

The MFO, SCH, MFG and ITF classes are on-line.

 Use

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

Open tables

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