Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
7529 Lượt xem

i have the following tariff scheme: the consumption of certain product is divided in consumption categories, for example

category 1: from 1 to 50, costs $10 each unit category 2: from 51 to 150, costs $11 each unit category 3: from 151 to 250, costs $12 each unit

i tried using pricelists but it doesn't work the way i need it:

if i consume 200 units pricelists give me a total of 200*12=$2400 instead i need the following calculation:

50 * 10 = $500 (first 50 units use cat1 price)

100 * 11 = $1100 (the next 100 units use cat2 price)

50 * 12 = $600 (the last 50 units use cat3 price)

total = $500+$1100+$600 = $2200

so, is there anyway to implement this?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Just compensate each price with the amount you are overcharging for the lower quantities.

A fixed price per unit for 51 and above will overcharge by $1 per unit for the first 50 ($50), so subtract $50.

A fixed price per unit for 151 and above will overcharge by $2 per unit for the first 50 ($100) and $1 per unit for the next 100 ($100), so subtract $200

Rules:

 No Min Qty: Price = Baseprice * ( 1 + 0 ) + 0
Min Qty  51: Price = Baseprice * ( 1 + .1 ) + -50
Min Qty 151: Price = Baseprice * ( 1 + .2 ) + -200

200 units = 200 x $12 minus 200 = $2,200

Ảnh đại diện
Huỷ bỏ
Tác giả

it doesn't work, the -50 or -200 terms are applied to every single unit in price calculation

Exactly. But - the calculations above correct for this by removing an amount equal to what was overcharged. For 51 units, the unit price is $11 per unit, but $50 is taken away, accounting for the first 50 units being only $10. All of the formulas charge the SAME unit price for every unit, then compensate for the overcharge by removing it (the last part of the calculation). Try it.

Tác giả

i tried your advice and i got the following result: if i sell up to 50 units everything is ok, but if i sell 51 i get a total of 51 * ((10 * 1.1) - 50) = 51 * (11 - 50) = −1989

Yes - you are correct. It won't work this way. The price in the pricelist is a UNIT price. Sorry - I don't know an easy way to support this, without working out all of the unit prices beforehand and having a pricelist with every possible quantity that can be sold.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 23
242
1
thg 12 22
4115
Sales Unit Price Đã xử lý
1
thg 1 22
2670
0
thg 3 15
4084
2
thg 3 15
7729