Update status depending of aging - MMS975

(MMS975) is used to set statuses in MITLOC/MILOMA, depending on aging parameters.

  1. Job is started if a transaction with ORCA=961 is found in MITPLO.
  2. Control if Planning date PLDT and Time TIHM is less then today's date.
  3. Read all corresponding MITPLO items ITNO included in MITLOC. Key is CONO, PLDT, WHLO and ITNO.
  4. If Inspection code QACD=0 is status set to 2 and MITTRA records are created.
  5. If QACD=1 is a check done against MWOHED, status=90. Then is status set to 2 and MITTRA records are created.
  6. If QACD=2 is a check first done against MLIAHE, status=70. Then is status set to 2 and MITTRA records are created.

    There are no input parameters.