Manufacturing Order (MO)

MO Status

Flags are needed in moodt and moout, to identify the lines that came through explosion and are not user-entered or user-modified. There is no flag needed in moord. Presence of any flagged item in moodt or moout will automatically indicate exploded data. Also, if any change is made to an exploded line by the user, the record flag should be set to '', even if the line was originally a result of explosion.

Status should be

Empty - No record in input and output details tables

Empty Input - No record in input details tables

Empty Output - No record in output details tables

Open - Not Exploded, but there are records in input details (moodt) and ouput details (moout).

Exploded - Not Released and there is at least one flagged record in moodt or moout.

Released - Not Partially Kitted but for each component xqtyrel = xqtyreq

Partially Kitted - Not Kitted and sum(xqtykit)>0

Kitted - Not completed and for each component xqtykit = xqtyreq

Completed - GL header has MO and GL details are not empty.

Following the current convention, show all the status concurrently. Thus a completed MO will have ststus like:

Exploded|Released|Kitted|Completed

Please note that Kitted and Partially Kitted, as well as Empty, Open and Exploded are mutually exclusive. So, you cannot have something like:

Empty|Open|Exploded|Released|Partially Kitted|Kitted|Completed|

Empty and Open are unnecessary, the moment the MO propagates to Released state. So, you can have:

Exploded|Released|Kitted|Completed

Or,

Released|Kitted|Completed

But NOT,

Open|Released|Kitted|Completed

NOR,

Released|Partially Kitted|Kitted

Instead the above should be

Released|Kitted

Also note that, by definition, Empty, Empty Input and Empty Output are mutually exclusive.

MO/BOM Structure

MO module is designed for one or more output products manufactured from one or more components. To facilitate that, standard structures may be defined in BOM that are accessed by unique BOM keys. A single BOM key may refer to multiple components (as sets of Options) and multiple output products.

A manufacturing order can be populated by Exploding a BOM with the help of a BOM key and a lot size defined in MO header. User can also manually add in components as well as output records. A component or output record is flagged as “Exploded”, if it's been created from BOM as a result of Explosion. A manually added or modified record will have no such flags.

The usual flow of processes comprises:

Add an MO

Explode

Manually add or modify outputs and components

Release

Kit

Complete

At the end of completion, a GL voucher is created using IM to GL Interface table. For the purpose of this module, the interface ensures that all outputs are treated as Transfer Receipts and all components as Transfer Issues.

At any point of time, an Undo will undo the last significant process. The undoing of a Completed MO will bring it back to Kitted status, the same that of a Kitted one will yield a Released MO, and so on.

Please see the discussion above about MO Status for an understanding of the real process.