function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
babacandoitbabacandoit 

what is the difference between the list-price and unit-price field of OrderItem in salesforce?

Hi, I am working on Order & OrderItem,
I have a custom Field Disount , depending on discount Im updating the unitPrice.
(For example, if dicount is 5%, then unit prise will change from 40 to 38).
My Requriment is to display both the values of the UnitPrice(40 & 38 in my case) .
ie, UnitPrice before updating and UnitPrice after updating.

bob_buzzardbob_buzzard
The list price is the standard price.  The unit price is the "deal price", or the price agreed for this specific order.  It sounds like you need a workflow field to capture the initial unit price (unless the list price is the initial unit price).
babacandoitbabacandoit
Thanks bob :) 
You saved me from creating a new field and playing around it.