Hi all. With a UserEvent script (deployed on Sales...
# suitescript
s
Hi all. With a UserEvent script (deployed on Sales Order record) I want to add Promotion line(s) with my custom PURCHASE DISCOUNT BUT whenever I try to do so it seems like NetSuite reverts my set value back to original calculated value. For example: I tested this on client side (screenshot attached), when using nlapiSetCurrentSublistValue() I am able to set the PURCHASE DISCOUNT to -800 but when I click on "OK" button, NetSuite revert the value back to -229.98. Any idea how can we set the value of PURCHASE DISCOUNT in promotions sublist? Or is it even feasible? Thank you