This document explains what a macro order is, how and why it is used, how it is created, and how its content (materials and operations) is aggregated into the macro order.
Understanding the macro order functionality can help you working with macro orders and carry out planning in M3 Business Engine (BE) and M3 Planning Workbench (M3 PWB).
Information about macro orders is saved in the following tables:
To use macro orders, the functionality must be activated and basic settings must be defined. This process is described in Enabling Macro Orders.
A macro order is an aggregated order that summarizes information from several manufacturing orders and/or supply chains that refer to the same group of items.
Macro orders can be used for planning purposes if M3 PWB is integrated with M3 BE. Macro orders are especially suited for planning performed on a medium-term horizon or long-term horizon.
The planner's work in M3 PWB is considerably simplified by macro orders for the following reasons:
One effect of this is that system performance is improved and the transfer time to M3 PWB greatly reduced.
An order or supply chain can automatically be connected to a macro order if the order or supply chain meets the following conditions:
When the content of the macro order is generated, only the materials and operations from the connected orders and/or supply chains that are considered critical are aggregated. The content can be regenerated whenever needed, which means that the information in the macro orders always is kept up to date.
The aggregation rules are user defined. This makes it possible to tailor the macro orders according to the planning requirements and routines at your company.
The following section provides an overview of how the macro orders are processed through the system.
Macro orders are generated and maintained in M3 BE. The macro order header and its relation to orders and/or supply chains are generated automatically, while the information about materials and operations can be generated both automatically and manually. A number of programs further described below are used for this.
The macro orders are then transferred to M3 PWB as API transactions. The program used for this purpose is RPS300MI.
The planner in M3 PWB uses the macro orders for planning. The results of the planning are different types of decisions. Examples of decisions are to change planning dates or to move the entire production of an item or parts of the production to another date.
When the planning has been carried out, only the decisions that were made – and not the macro orders themselves – are sent back to M3 BE. This is done in the form of an action log. The API program used for this purpose is CMS050MI.
The action log is then displayed in M3 BE and the decisions are implemented. The concept of the action log is not further described in this document.
This section describes the building blocks of a macro order as well as when the different blocks are generated and where they are displayed.
The macro order header contains general information such as status, time frame, and the item and demand level on which the aggregation is performed as well as general planning information such as safety time and summarized order quantity.
The macro order header is created automatically when an order or supply chain that should be aggregated into a macro order is created and there is no existing valid macro order.
The macro order header can also be re-created manually in 'Macro Order Connections. Re-create' (RPS370).
|Where?||The macro order header is displayed and maintained in 'Macro Order. Open' (RPS300).|
This is a list of the orders and/or supply chains that are connected to the macro order. Some general information is displayed for each connected order and supply chain, such as the valid item, start and finish date, and the quantity. Note that both orders and supply chains can be connected to the same macro order.
This is all the materials and operations from the connected orders and supply chains that have been aggregated into the macro order. Each material or operation line contains summarized information such as the item level on which the aggregation was done, the valid time frame, and the quantity. For operation lines, information about the work center and run time is also displayed.
The aggregation of materials and operations can be started in one of the following ways:
The aggregation can be done many times, which means that the macro orders always can be kept up to date.
|Where?||The macro order materials are displayed in 'Macro Order Material. Open' (RPS302), and the operations in 'Macro Order Operation. Open' (RPS303).|
This is a list displaying the connection between the structure sequence number of aggregated materials and operations in the macro order and the orders and/or supply chains from which the material and operations originate.
Every time a manufacturing order or supply chain is created in M3 BE, a check is made to determine whether or not the order should be connected to a macro order. For a connection to take place, one of the following conditions must be met:
The following flow chart describes how the macro order header is created and how an order or supply chain is connected to the macro order:
Retrieving Macro Order policy
The macro order policy for the new order or supply chain item is retrieved.
Checking if an existing Macro Order can be used
A check is made to determine whether or not the new order or supply chain can be connected to an existing macro order. All conditions must be met for the connection to take place.
Creating a new Macro Order
If not all conditions are met, a new macro order is created. The macro order automatically receives the following:
In certain situations, the item level for the macro order can be automatically changed to the item number (MMITNO) instead of the item level on the macro order policy. This happens if an item that is connected to a macro order with
A message about the change of item level is then logged in 'Detailed Mail Message. Open' (CMS421).
Connecting order or supply chain to Macro Order
When the procedure above is completed, the order or supply chain is connected to a macro order.
Manufacturing orders are always connected one by one, while a supply chain is always connected as a whole, using the supply chain number.
When the macro order details are generated, it affects not only the materials and operations. All of the components in the macro order are affected. The effects are described below.
If an entire order or supply chain is reported as closed (status 90), it is removed from the macro order relation list.
The following fields in the macro order header are automatically recalculated and might therefore be changed:
All relations between the materials/operations that were aggregated into the macro order and the order or supply chain from which they originate are stored in a separate table.
The information in the table consists of the order number or supply chain number as well as the structure sequence number that the aggregated materials or operations have received.
All critical operations from connected orders and supply chains are retrieved into the macro order.
All operations from different orders and supply chains are aggregated into the same operation line in the macro order if they
Each operation line in the macro order is assigned an operation sequence number. Note that these numbers are set according to the order in which the operation lines are created in the macro order, and have nothing to do with the sequence in which the operations will be performed. The operations are assigned sequence numbers starting with 0000001, unless they have the 'Critical resource' field set to 2 (Critical but non-controlling) in the product structure, in which case the sequence numbers starts with 900001.
Certain data for the operation is calculated when the details are aggregated, such as the order quantity, manufactured quantity, and run time. See the help text in 'Macro Order Operation. Open' (RPS303) for information about this is done.
When all operations are aggregated into the macro order, internal relations between the operations are generated. For each operation, a reference to a parallel operation and/or next operation might be added if the following conditions are met:
Parallel operations are only managed within one order regardless of whether or not the order is included in a supply chain.
For the parallel relation to be created, the 'Parallel operation overlap code' field must be activated for the operations in the product structure in 'Product. Connect Operations' (PDS002/I), and the controlling operation must have a higher operation number. This can only be done for facilities with the M3 SWB functionality which is activated in 'Facility. Open' (CRS008).
If these conditions are met, the sequence number of the controlling parallel operation is displayed for the controlled operation.
Next operations are created when the operations are within the same order, if the next operation has a higher operation number and is set as a critical operation.
If these conditions are met, the sequence number of the next operation is displayed on the previous operation in the macro order.
Next Operation – Supply Chains
Next operations are created if the operations are within the same supply chain, within the same leg of the supply chain and set as critical operations.
The meaning of "within the same leg" is illustrated above. Both operation 1 and 2 will have operation 3 as next operation. However, there will be no connection between operation 1 and 2 even though operation 1 is at a lower level. This is because they exist on different legs in the supply chain.
If these conditions are met, the sequence number of the next operation is displayed for the previous operation in the macro order.
A safety time can be calculated if the operation is retrieved from a supply chain. The safety time is set to the maximum safety time for all item levels between the operation in question and the next operation. The time is used during planning to determine how much the operation can be moved in time without delaying the top-level demand.
Normally a shipping buffer, expressed in production days, is calculated for an operation. The shipping buffer is the time spent between the operation and the next operation minus the transportation time. This includes time spent in non-critical operations, waiting time between operations or orders, and possible safety times.
The time spent between operations' is calculated as the time between the original finish date for the operation and the original start date of the sub-sequential operation (next operation). If there is no next operation relation, the planning start date on the macro order header is used instead of the original start date. 'The transportation time' is calculated as the difference between the sending and receiving date/time in the material plan.
All critical materials from connected orders and supply chains are retrieved into the macro order. There is one exception: Materials are retrieved from all levels in a supply chain except from the order set as the lowest level in the used supply chain policy. This order is always connected to a separate macro order and not the one to which the supply chain is connected. The reason for this is that the lowest level order can be connected to multiple supply chains and could therefore be calculated multiple times.
All materials from different orders and supply chains are aggregated into the same material line in the macro order if they
Each material line in the macro order is assigned a material sequence number. This number is added in the same order as the material lines are created in the macro order and has nothing to do with the sequence in which the materials will be used.
Some data for the material is calculated when the details are aggregated, as for example reserved and allocated quantity. See the help text in 'Macro Order Material. Open' (RPS302) for information about how this is done.
A material can be connected to an operation. When this connection is made differs for orders and supply chains.
The connection is made if the operation is within the same order as the material, if it is set as critical, and if it has an equal or higher operation number than the material in question.
Refer to the 'Next Operation – Supply Chain' section.
A safety time can be calculated for the material if it is retrieved from a supply chain. The safety time is calculated in the same way as for an operation.
A shipping buffer is calculated in the same way as for an operation.