How the Distribution is Calculated

Create Lines for Cost Distr. makes one line per item ledger entry of the selected agreements, lots or trips. Each line stores four values, one per method, and the header shows their totals:

Distribution Method

Value on the line

Net Weight (BWU)

The item's net weight per base unit × Quantity (Base), in the base weight unit (kg or lb)

Cost Value

The entry's Cost Amount (Actual); outbound entries count as positive

Sales Value

The entry's Sales Amount (Actual)

Trade Items (Base)

The number of trade items on the entry

Calc. Distribution for Lines gives each line

image-20261127-090715.png

The amount is rounded to the currency's precision. Any rounding difference goes on the line with the largest share, so the lines always add up to the Total Amount. Example: 1,500.00 by cost value rounds to 455.70 + 512.66 + 531.65 = 1,500.01, so the largest line becomes 531.64.

Which method to choose:

Method

Use when

Net Weight (BWU)

The cost depends on weight, for example freight per tonne

Cost Value

Products of higher value should carry more, for example insurance

Sales Value

The cost follows the sales price, for example commission

Trade Items (Base)

The cost is per box or pallet, for example handling or labelling

If you change something: changing the Distribution Method clears the distributed amounts. Changing the Total Amount turns Distributed Amount red and disables posting. Run Calc. Distribution for Lines again in both cases.

How_to_calculate.png