Hello I want to ask, how to create discount percen...
# suitescript
m
Hello I want to ask, how to create discount percentage per item line in sales transaction?
t
Could you elaborate on that? I am getting the idea, you need a discount item with a variable percentage, corresponding to the item line. If that’s the case. I would say, discount items don’t do that, either create 100 different discounts and apply based on line. or create a service item, you can customize the amount anytime during the order creation for any line.
m
For now if I want to create item with discount, I have to create 2 line item one for the item and another one for the discount. Our client want the item, discount percentage and the discount amount in one line item.
t
You should be able to do that using Price Levels.
Define specific price levels for each customer, and it will use the discounted price in one line.
To show that on the line level, you can get two custom fields right there on sublist, maybe source them from a sublist line function based on the line level. The same can be taken over to PDF if that’s the need.
m
Thank you, I will try your suggestion