{"id":20117,"date":"2026-07-08T10:35:09","date_gmt":"2026-07-08T10:35:09","guid":{"rendered":"https:\/\/tenthplanet.in\/idempiere\/?p=20117"},"modified":"2026-07-08T11:21:03","modified_gmt":"2026-07-08T11:21:03","slug":"how-to-reprice-a-sales-order-or-invoice-in-idempiere","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/idempiere\/how-to-reprice-a-sales-order-or-invoice-in-idempiere\/","title":{"rendered":"How to RePrice a Sales Order or Invoice in iDempiere"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>Introduction<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The process refreshes line prices, discounts, taxes, and the Grand Total automatically, without changing the original Price List, Product Price, or order quantities.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Business Rules<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Only one document, either a Sales Order or an Invoice, can be repriced per execution.<\/li>\n\n\n\n<li>The selected document must remain editable, typically Drafted or Open.<\/li>\n\n\n\n<li>The document must have a valid Price List assigned.<\/li>\n\n\n\n<li>The process uses the latest active Price List Version tied to the document.<\/li>\n\n\n\n<li>All document lines are repriced automatically, along with taxes and totals.<\/li>\n\n\n\n<li>Product Price records themselves are not modified by this process.<\/li>\n\n\n\n<li>Quantities, warehouse, and business partner details remain unchanged.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Process Flow Diagram<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"278\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/RePrice-OrderInvoice-1024x278.png\" alt=\"\" class=\"wp-image-20140\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/RePrice-OrderInvoice-1024x278.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/RePrice-OrderInvoice-300x81.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/RePrice-OrderInvoice-768x208.png 768w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/RePrice-OrderInvoice-1536x417.png 1536w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/RePrice-OrderInvoice.png 1923w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Configuration Steps<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1: Update the Product Price<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Repricing only has an effect if the Price List Version actually contains a changed price; otherwise the document is recalculated to the same values.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open Price List \u2192 Version \u2192 Product Price for the product, update the Standard Price (or List or Limit Price), then save the record.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Field<\/strong><\/td><td><strong>Sample Value<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Price List Version<\/td><td>Retail Sales Price List &#8211; 2026<\/td><td>Active version the order&#8217;s Price List points to<\/td><\/tr><tr><td>Product<\/td><td>AASH-ATTA-5KG_Aashirvaad Atta \u2013 5kg<\/td><td>Product whose price is being updated<\/td><\/tr><tr><td>List Price<\/td><td>300.00<\/td><td>Reference price; unchanged in this example<\/td><\/tr><tr><td>Standard Price<\/td><td>280.00 (was 290.00)<\/td><td>Selling price used on new order lines and by RePrice<\/td><\/tr><tr><td>Limit Price<\/td><td>270.00<\/td><td>Minimum allowed selling price; unchanged in this example<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"479\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice3.png\" alt=\"\" class=\"wp-image-20127\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice3.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice3-300x140.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice3-768x359.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Select the Document to Reprice<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The process needs to know exactly one document to recalculate, so only one of Order or Invoice should be filled in.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open RePrice Order\/Invoice, select the Order (or Invoice) to reprice, leave the other field blank, then click Start.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Field<\/strong><\/td><td><strong>Sample Value<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Order<\/td><td>50009_08\/03\/2026<\/td><td>Sales Order to be repriced<\/td><\/tr><tr><td>Invoice<\/td><td>(Blank)<\/td><td>Left empty when repricing an Order<\/td><\/tr><tr><td>Run as Job<\/td><td>Unchecked<\/td><td>Runs the process in the background<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"479\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice4.png\" alt=\"\" class=\"wp-image-20128\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice4.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice4-300x140.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice4-768x359.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3: Execute the Process<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Clicking Start is what actually triggers the recalculation; selecting the document alone does not change any prices.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click Start. The system reads the document&#8217;s Price List, retrieves the latest active Price List Version, finds the latest Product Prices, and updates every line.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 4: Review the Repricing Result<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The confirmation message shows exactly which document changed and by how much, before you reopen it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Read the result line in the format Document: Previous Grand Total \u2192 Updated Grand Total.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Field<\/strong><\/td><td><strong>Sample Value<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Document<\/td><td>50009<\/td><td>Sales Order that was repriced<\/td><\/tr><tr><td>Previous Grand Total<\/td><td>342.20<\/td><td>Grand Total before repricing<\/td><\/tr><tr><td>Updated Grand Total<\/td><td>330.40<\/td><td>Grand Total after repricing<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"329\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice5.png\" alt=\"\" class=\"wp-image-20129\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice5.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice5-300x96.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice5-768x247.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 5: Verify the Updated Document<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A final check on the document itself confirms the new price carried through to every affected field, not just the Grand Total.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Reopen the Sales Order and check the Order Line tab: Price, Line Amount, Total Lines, and Grand Total should reflect the updated price.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Field Reference<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Field<\/strong><\/td><td><strong>Sample Value<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Price<\/td><td>280.00 (was 290.00)<\/td><td>Updated line price from the Price List Version<\/td><\/tr><tr><td>Total Lines<\/td><td>280.00 (was 290.00)<\/td><td>Sum of line amounts before tax<\/td><\/tr><tr><td>Grand Total<\/td><td>330.40 (was 342.20)<\/td><td>Total including tax after repricing<\/td><\/tr><tr><td colspan=\"3\"><strong>Note: <\/strong>Quantity, Warehouse, and Business Partner on the order are unchanged; only price-related fields are refreshed.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"379\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice6.png\" alt=\"\" class=\"wp-image-20130\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice6.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice6-300x111.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/TenthPlanet-iDempiere-Sales-RePriceOrderInvoice6-768x284.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Common Issues and Resolutions<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Issue<\/strong><\/td><td><strong>Cause<\/strong><\/td><td><strong>Resolution<\/strong><\/td><\/tr><\/thead><tbody><tr><td>No change after repricing<\/td><td>Latest Price List Version does not contain an updated Product Price<\/td><td>Verify the Product Price was actually changed in the active Price List Version<\/td><\/tr><tr><td>Order not available for selection<\/td><td>Order does not exist, or is no longer eligible for modification<\/td><td>Confirm the Order exists and is still Drafted or Open<\/td><\/tr><tr><td>Invoice not available for selection<\/td><td>Invoice status restricts editing<\/td><td>Verify the Invoice is valid and not Completed or Closed<\/td><\/tr><tr><td>Price remains unchanged<\/td><td>Product Price edit was not saved before running the process<\/td><td>Save the Product Price change, then rerun RePrice Order\/Invoice<\/td><\/tr><tr><td>Incorrect totals after repricing<\/td><td>Tax, discount, or Price List assignment misconfigured<\/td><td>Review Product Prices, Taxes, Discounts, and the Price List assignment<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Next Steps<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Complete the Sales Order.<\/li>\n\n\n\n<li>Generate the Shipment.<\/li>\n\n\n\n<li>Generate the Customer Invoice.<\/li>\n\n\n\n<li>Process the Customer Payment.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Introduction The RePrice Order\/Invoice process updates the prices on an existing Sales Order or Invoice using the latest active Product [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[67,76],"tags":[],"class_list":["post-20117","post","type-post","status-publish","format-standard","hentry","category-retail","category-sales"],"acf":[],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/20117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/comments?post=20117"}],"version-history":[{"count":2,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/20117\/revisions"}],"predecessor-version":[{"id":20141,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/20117\/revisions\/20141"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/media?parent=20117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/categories?post=20117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/tags?post=20117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}