Calculate PO unit price
Overview
You can choose to automatically calculate the unit price of every purchase order line from the line's amount and quantity, instead of using the unit price that came with the purchase order. This is particularly useful when the unit price in the purchase order (in Infor ERP / SAP) differs from the price on the document. Such discrepancies may arise if a discount is applied to the unit price in the purchase order, while the document only applies the discount to the net amount.
Activation Steps
Navigate to Settings -> Document Processing -> Document Types.
Select the desired document type and click on More Settings.

Access to additional Invoice document-type settings. In the Purchase Order section, enable the option Calculate PO Unit Price.

Settings for already consumed purchase-order lines.
How the price is calculated
Once the setting is activated, the unit price of a purchase order line is calculated as:
Unit Price = Line Amount ÷ Quantity × Unit Price Per
where the line amount is chosen like this:
a net amount (extended_amount) that is greater than 0 and not above the line total
the net amount
no net amount, or a net amount above the line total
the line total (total_amount)
no positive amount at all, or no positive quantity
nothing is calculated, the PO price stays
Why the net amount comes first: ERP feeds (Infor BODs) send the net line amount as extended_amount and carry tax and charges on top in total_amount. Dividing a taxed total by the quantity gives a gross unit price, and every invoice that is priced net then shows as unit price under-matched although it is correct. Example from a real purchase order line: quantity 9, net amount 879.84, total 954.63 (8.5 % tax) — the net-based price is 97.76 and matches the invoice; the total-based price would be 106.07.
A net amount that is larger than the line total cannot be a net amount, so the total is used in that case. A Unit Price Per of 0 or empty counts as 1.
Worked example
For a quantity of 9 and Unit Price Per = 1:
Net line amount
879.84 ÷ 9 × 1
97.76
Total including 8.5% tax
954.63 ÷ 9 × 1
106.07
Comparison with a net-priced invoice needs the net unit price of 97.76 in this example.
Related settings
Purchase Order Matching Rules — the rules compare the effective unit price, which is this calculated price when the setting is on.
Purchase Order Tolerance Settings — how much the invoice price may deviate from the calculated price.
Last updated
Was this helpful?