Get Started
Understanding Price Calculations
19 min
in this tutorial, we will provide an overview of the pricing fields in quotes and quote line items when a quote is generated into an order, all the pricing fields will be copied to the order and order products as well general pricing logic in nue, each line item, which can be a quote line item, or an order product, must be associated with a product , which has a price book entry in the price book selected for the quote or order list price and list total so for all types of line items, we always calculate the list price directly from the corresponding price book entry of the product when a user searches for a product in the line editor's select product panel, we return all price book entries available for products satisfying the searching criteria in the selected price book in nue, a product may have more than one price book entries in one price book because of multi attribute pricing for example, if a price book "partner price book" is associated to 3 pricing attributes currency, uom, and partner level, there may be a price book entry for each combination of the pricing attribute, for example, usd, license/month, and titanium in addition to list price, we also calculate list total , which is the list price multiplied by the quantity and the subscription term if the product's revenue model is one time or credit, the subscription term is considered 1 list total is the total price of the line item if there is no further discounts sales price, subtotal and system discount next, we calculate the subtotal by applying the price tags (including price tags and discount tags) applicable to this product line a price tag overrides the list price it is applied first if there are more than one price tags related to the line item, only the first one will be applied a discount tag adds discount, either in dollar value or percentage, on top of the price we apply all discount tags on top of the price one by one, according to a certain sequence order once all applicable price tags and discount tags are applied, the subtotal is determined for example, if product vroom pro has a list price $15 with uom license/month, and we have the following price tags associated to this price book entry name price tag type tier type price type description pt 1 price tag tiered quantity 0 10 users $15 per unit 10 100 users $14 per unit 100+ users $13 per unit dt 1 discount tag volume quantity 50+ users 25% off (special promotion) dt 2 discount tag volume term 24 month subscription 10% off a user adds this product to the quote, and set the quantity to be 150 licenses, and the subscription term as 36 months (3 years) the subtotal calculation process is apply price tag pt 1 $15 10 + $14 90 + $13 50 = $2060 per month apply discount tag dt 1 $2060 (1 25%) = $1545 per month apply dt 2 $1545 (1 10%) = $1390 5 per month for 150 users subtotal = $1390 5 36 month = $50,058 once subtotal is determined, the sales price will be calculated as subtotal / quantity / subscription term for products with revenue model one time or credit, the subscription term is considered 1 in the above example, sales price = $50,058 / 150 / 36 = $9 27 we use the difference between the list price and subtotal to calculate the system discount the system discount value is determined by the price tags configured by the admin, so it is read only and cannot be manually changed there are 2 system discount fields system discount amount system discount amount = list total subtotal system discount % system discount % = percent ((list total subtotal) / list total) net sales price, total price and discount in the line editor, a user can apply on the fly discount , either in dollar value or discount percentage, to a line item or to the quote or order header the discount amount or percentage applied to the quote or order header will be propagated to each line item evenly we apply the on the fly discount over the subtotal to calculate the total price there are 2 fields in the line item representing discounts discount % the on the fly discount percentage discount amount the on the fly discount amount calculated from the discount over subtotal we use field level permission to control who can issue an on the fly discount if the user has field level permission to above fields, she can then enter discount (or discount amount) for a line item in the line editor in the line editor, discount, discount amount, and total price can be recalculated from each other from subtotal if the user enters a discount, the discount amount and total price will be automatically re calculated if the user enters a discount amount, the discount and total price will be automatically re calculated if the user enters a total price, the discount and discount amount will be automatically re calculated after the total price is calculated by applying discounts over subtotal, the net sales price will be calculated as total price / quantity / subscription term if the product has one time or credit revenue model, the subscription term is considered 1 in the example above, if a user applies 10% discount, then we have list price $15 quantity 150 term 36 list total $15 36 150 = $81000 subtotal $50,058 sales price $50058/36/150 = $9 27 system discount 81000 50058 = $31942 discount 10% discount amount $5005 8 total price $50058 $5005 8 = $45052 2 net sales price $45052 2 / 150 / 36 = $8 343 if the user manually set the discount amount as 5000, then we have discount 9 99% discount amount $5000 total price $50058 $5000 = $45058 net sales price $45058 / 150 / 36 = $8 344 tax amount and total amount if a product is taxable, the tax amount will be applied to the total price using the tax rate associated to the tax code of the product after the tax amount is calculated, the total amount will be calculated using the following formula if the tax mode is exclusive, total amount = total price + tax amount if the tax mode is inclusive, total amount = total price the total amount is in general considered the total price the customer is committed to pay for the quote or order put it all together in summary, a quote or an order has one or more line items in each line item, we calculate prices by applying the following logic find out the list price of the product, given the price book entry selected apply all applicable price tags and discount tags, associated to the product, the product option (if this line item is part of a product bundle), and the product group (if this line item is part of a product group) to calculate the subtotal, sales price and system discounts apply any additional on the fly discounts to calculate total price, net sales price and discounts apply tax rate to the total price and calculate tax amount and total amount these pricing fields at the line level will be aggregated to the quote and order header please note that, each line has a line type, which indicates if the line item is a summary line, regular line item, ramp line or split line only the pricing values of the regular line item and ramp lines are aggregated to the quote and order header in the price summary panel of the line editor, we can see all these pricing fields list price x quantity x subscription term \ \= list total \ system discount amount \ \= subtotal (= sales price quantity subscription term) \ discount amount \ \= total price (= net sales price quantity subscription term) \+ tax amount \ \= total amount
🤔
Have a question?
Get answers fast with Nue’s intelligent AI, expert support team, and a growing community of users - all here to help you succeed.
To ask a question or participate in discussions, you'll need to authenticate first.