How to RePrice a Sales Order or Invoice in iDempiere

Introduction

The RePrice Order/Invoice process updates the prices on an existing Sales Order or Invoice using the latest active Product Prices in the assigned Price List Version.

It is used when a product price changes after an order was created but before it ships, so the customer is billed at the current rate without recreating the order.

The process refreshes line prices, discounts, taxes, and the Grand Total automatically, without changing the original Price List, Product Price, or order quantities.

Business Rules

  • Only one document, either a Sales Order or an Invoice, can be repriced per execution.
  • The selected document must remain editable, typically Drafted or Open.
  • The document must have a valid Price List assigned.
  • The process uses the latest active Price List Version tied to the document.
  • All document lines are repriced automatically, along with taxes and totals.
  • Product Price records themselves are not modified by this process.
  • Quantities, warehouse, and business partner details remain unchanged.

Process Flow Diagram

RePrice OrderInvoice

Configuration Steps

Step 1: Update the Product Price

Repricing only has an effect if the Price List Version actually contains a changed price; otherwise the document is recalculated to the same values.

Open Price List → Version → Product Price for the product, update the Standard Price (or List or Limit Price), then save the record.

FieldSample ValueDescription
Price List VersionRetail Sales Price List – 2026Active version the order’s Price List points to
ProductAASH-ATTA-5KG_Aashirvaad Atta – 5kgProduct whose price is being updated
List Price300.00Reference price; unchanged in this example
Standard Price280.00 (was 290.00)Selling price used on new order lines and by RePrice
Limit Price270.00Minimum allowed selling price; unchanged in this example
TenthPlanet iDempiere Sales RePriceOrderInvoice3

Step 2: Select the Document to Reprice

The process needs to know exactly one document to recalculate, so only one of Order or Invoice should be filled in.

Open RePrice Order/Invoice, select the Order (or Invoice) to reprice, leave the other field blank, then click Start.

FieldSample ValueDescription
Order50009_08/03/2026Sales Order to be repriced
Invoice(Blank)Left empty when repricing an Order
Run as JobUncheckedRuns the process in the background
TenthPlanet iDempiere Sales RePriceOrderInvoice4

Step 3: Execute the Process

Clicking Start is what actually triggers the recalculation; selecting the document alone does not change any prices.

Click Start. The system reads the document’s Price List, retrieves the latest active Price List Version, finds the latest Product Prices, and updates every line.

Step 4: Review the Repricing Result

The confirmation message shows exactly which document changed and by how much, before you reopen it.

Read the result line in the format Document: Previous Grand Total → Updated Grand Total.

FieldSample ValueDescription
Document50009Sales Order that was repriced
Previous Grand Total342.20Grand Total before repricing
Updated Grand Total330.40Grand Total after repricing
TenthPlanet iDempiere Sales RePriceOrderInvoice5

Step 5: Verify the Updated Document

A final check on the document itself confirms the new price carried through to every affected field, not just the Grand Total.

Reopen the Sales Order and check the Order Line tab: Price, Line Amount, Total Lines, and Grand Total should reflect the updated price.

Field Reference

FieldSample ValueDescription
Price280.00 (was 290.00)Updated line price from the Price List Version
Total Lines280.00 (was 290.00)Sum of line amounts before tax
Grand Total330.40 (was 342.20)Total including tax after repricing
Note: Quantity, Warehouse, and Business Partner on the order are unchanged; only price-related fields are refreshed.
TenthPlanet iDempiere Sales RePriceOrderInvoice6

Common Issues and Resolutions

IssueCauseResolution
No change after repricingLatest Price List Version does not contain an updated Product PriceVerify the Product Price was actually changed in the active Price List Version
Order not available for selectionOrder does not exist, or is no longer eligible for modificationConfirm the Order exists and is still Drafted or Open
Invoice not available for selectionInvoice status restricts editingVerify the Invoice is valid and not Completed or Closed
Price remains unchangedProduct Price edit was not saved before running the processSave the Product Price change, then rerun RePrice Order/Invoice
Incorrect totals after repricingTax, discount, or Price List assignment misconfiguredReview Product Prices, Taxes, Discounts, and the Price List assignment

Next Steps

  • Complete the Sales Order.
  • Generate the Shipment.
  • Generate the Customer Invoice.
  • Process the Customer Payment.