Conversion Factors from Object Dependencies
Use
You use this function if you want to calculate conversion factors from the batch specifications.
This function is available for receipt postings to batches that have never been posted, for example, when a new batch is created at goods receipt.
You post a goods receipt to a new batch C1. In the batch classification, you enter the dimensions of the batch as follows:
Length 2000 mm
Width 1200 mm
Thickness 12 mm
Density 7.85
From this, the system calculates the weight per piece using object dependencies:
Weight = length x width x thickness x density = 226.08 kg/pc
Prerequisites
You have to create object dependencies.
Procedure PLATE_CALC_WEIGHT_PC_B
$SELF.Kilogram per PC (help field) = $SELF. batch length* $SELF.batch width *
$SELF.Thickness of steel batch * $SELF.density/1000000
Activities
In the object dependencies, you have to ensure that the conversion factor found has a maximum of 3 places after the decimal point and can be expressed as a 5-figure numerator/denominator ratio.
The system does this by using the object dependency described to calculate an intermediate result from the batch characteristics entered. The intermediate result can then be rounded by another procedure.
25,000 kg are ordered. The price is set per KG. In this case, the price in the purchase order should be entered in KV (actual weight) to balance the differences between the theoretical weight in inventory management and the actual weight.
The quantity specified in the shipping documents is 24,000 KG. This quantity is entered. The dimensions are then specified in the batch. This results in a conversion factor of 2,342.641 KG/PC. This amounts to a quantity with decimal places (10.245), which is not allowed. The quantity is therefore manually reset to 10.0. This results in a quantity of 23,426.41 KG in stockkeeping units. So that differences do not arise in Invoice Verification, you can manually change the purchase order price quantity to 24,000.