| # Generating Order Block Planning Procedure If you enter values in the fields of this session, and click Generate, ERP LN performs the following actions: ERP LN checks whether the Order Block Planning (tisfc0151m000) session already has records for the values you specified in the Machine field and the Start Date of Order Block Period field. If such order blocks exists, ERP LN deletes these order blocks, except for the order blocks of which the start time is before the value of the Freezing Time field. ERP LN selects all production orders that meet the following criteria: The production order has an operations that is executed on the specified machine If a production order has multiple operations that are executed on the specified machine, ERP LN takes the first of these operations. This operation's originally planned finish date falls within the specified range. The production order has an order code that falls within the specified selection range. The production order has a status that falls within the specified selection range. The production order has a planner that falls within the specified selection range. The production order is not contained in any order block for any machine or start date of order block period. For each of the selected operations, and for each of the setup classes you specified in this session, ERP LN searches the applicable setup state, as defined in the Setup Classes and States by Operation (tisfc0133m000) session. If ERP LN finds no such setup state for an operation, ERP LN assumes that the operation has the setup state that comes after all other setup states. ERP LN clusters the selected operations into order blocks, whereby every order block has a different combination of setup states. ERP LN sorts the production order in each order block according to the relevant operation's originally planned finish date. For more information, refer to the Help of the Original Planned Finish Date field in the Production Orders by Block (tisfc0152m000) session. ERP LN sequences the order blocks by using the following procedure: For each order block, get the setup state that belongs to the setup class you specified in the First Setup Class field. Get the value of the Planning Sequence field in the Setup States (tcmcs0186m000) session. Sort the order blocks ascending, using the planning sequence as key. If a setup state has no planning sequence, put the order block in last place. If multiple order blocks have the same value of the Planning Sequence field, ERP LN sequences these order blocks further by using the setup states that belong to the setup class you specified in the Second Setup Class field. If necessary, ERP LN repeats that procedure by using the setup classes you specified in the Third Setup Class field and the Fourth Setup Class field. Related topics Order-block planning To plan with order blocks |