When taking a look at the object product.product, there exists the field "list_price" in which we introduce the price of each product, but then when I am in order line, there appears this price with the name of "unit_price". Does anyone know how this relation is made..or more in general, how can I change "unit_price" baesd on other fields??
Thanks in advance!!!
list price is unit price depending on your settings. They can be the same value or have a difference based on your tax setting. The unit price is your list price minus tax if you set you ticked the "include in price" box in tax code. unit price is list price if you did not tick the box in your tax code. unit price = list price or unit price = list price - tax code % value. The system thus calculate unit price based on your list price (automatic calculation). eg discounts, public pricelist
There is no relation between list_price of product and unit_price of sale_order_line. For a sale order line, if product is specified then product's list_price value will be loaded to unit_price. As kaynis said, its value will change according to the tax type. Also its value is dependents on the pricelist we are using, the discount value etc.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/6/13, 5:08 AM|
|Seen: 886 times|
|Last updated: 3/16/15, 8:10 AM|