Is there an easy way without creating a complex se...
# suitescript
s
Is there an easy way without creating a complex search, that when adding lines items to a sales order, to get the original rate without discounts?
b
be more specific, original implies there is an old rate
which sounds strange when adding new lines
s
True. So we have a Default Discount on a price level and then different price points depending on the quantity. When a price level is selected, it shows the rate with the discount. I need a way to get the original rate so that I can add it to a custom column. Right now I'd have to do a look up on price level's that also filters on the quantity range. I was hoping there is a simple getSublistValue I can do that will get it for me
c
There's no way to do this natively you're gonna have to script it because of price levels and other things. I've had to do something similar for a % difference in price vs default price level.
s
Yeah, that's what I was thinking @creece My laziness was hoping that there was something not in the docs that was available to me. Thanks!
b
you can probably just set the base price level and quantity to 1 and store that rate
more complicated would be doing that process using a copy of the transaction using N/record and dynamic mode