Rounding quantities during order explosion
To round decimal fractions of quantities occurred from the setting of yield and so on, you can use the internal function Roundup or Round for the following properties.
"Production qty formula" and "Input qty formula" of the master input instruction class
"Production qty formula" and "Output qty formula" of the master output instruction class
Example of Roundup:
When you do not want to display decimal fractions
Roundup( x, 0 ) *x: Quantity to round up
In most cases, you only have to set the two properties of the master output instruction class.
Specific examples are given below.
Production qty formula
Output qty formula
Please note that Round (rounding down) is used instead of Roundup for the output qty formula. This is because the quantity is calculated in the reverse direction.
The production qty formula is used for calculating production quantity from output quantity.
Example: When calculating the production quantity of the final process based on the order quantity
The output qty formula is used for calculating output quantity from production quantity.
Example: When calculating the input quantity of the later process based on the result quantity of this process that is completed