Skip to main content
Question

Recalculate Price/Currency in workflow

  • February 23, 2026
  • 0 replies
  • 3 views

Forum|alt.badge.img+1

I’m currently creating a workflow to update a price on a Customer Order Line as well as Purchase Order Line. The scenario is internal trade, where my trigger is state of Customer Order changes to “Delivered”.

Then, I want to update my BaseUnitPrice on the COL with the Cost from the same COL. However, before patching the COL, I need to recalculate my price and currency to correctly update all prices on the COL.

However, in DevTools I can see that manual edit and the command “Recalculate Price/Currency” both use the ValidateBaseSaleUnitPrice to calculate prices. My problem is that workflow doesn’t support this call as it contains ValidationRec, which is an array, as an input parameter.

So, does anybody know how to recalculate my prices prior to patch in a workflow?