Split macro order (SPLITMACRO)
The definition of the fields sent with the action are as follows:
| Action type | SPLITMACRO |
| Action group |
| Company | CONO | K |
| Macro ord type | MOTY | K |
| Macro ord no | MONO | K |
| Temp macro no | TMON | R |
| Planning date | PLDT | R |
The implementation copies a macro order header to create a new macro order. All fields on the new header except the bucket start and stop is equal to the "old" macro order.
The action is implemented in this way:
- Look-up and copy the macro order header.
- Retrieve bucket start and stop based on the planning date included in the action. The bucket start/stop is set to be same as on "old" macro order if no planning date is sent.
- Set the field Temp macro order number on the new macro order to the sent Temp macro order number in the action.
Note: This field is used in other actions to be able to find the new macro
order.