If I have a main line discount on a sales order......
# suitescript
v
If I have a main line discount on a sales order.... how do I get the proportionally discounted value of the items via a script (user event)? I see that netamount exists and it looks like it reflects the value of the discounted item, however even tho I can access that field in a search it keeps logging out blank in my UE. Technically that field isn't what i really want either... I would prefer the explicit amount that NS has automatically discounted that line item (if this data even exists).