[SalesForce] Where does this List price come from in opportunity Products

There is a field called list price in opportunity Product.
From where does this field get populated from?
enter image description here

EDIT :
From the documentation

Corresponds to the UnitPrice on the PricebookEntry that is associated
with this line item, which can be in the standard pricebook or a
custom pricebook. A client application can use this information to
show whether the unit price (or sales price) of the line item differs
from the pricebook entry list price.

Does this mean that List price holds the price from pricebook entry and salesprice hold the value entered while creating the opp line item?
Thanks

Best Answer

That is correct, the ListPrice is the 'Unit Price' in the PriceBook Entry that the Opportunity Line Item has been created from. When creating an OLI, the Sales Price (UnitPrice) and List Price (ListPrice) defaults to the UnitPrice in the PriceBookEntry, but can be overridden to a different value.

The Total Price takes the Sales Price into account and is calculated as Sales Price X Quantity (less any Discount)

enter image description here

Related Topic