Join Slack
Powered by
use getSublistText on the rate
# suitescript
b
battk
04/10/2020, 2:50 PM
use getSublistText on the rate
👍 1
w
Watz
04/10/2020, 7:08 PM
unfortunately that API was not available in beforeSubmit.newRecord
b
battk
04/11/2020, 12:49 AM
you may be stuck with your method then
battk
04/11/2020, 12:50 AM
i guess you could do the math on the matching item to see if the discount rate times the item amount equals the discount amount
battk
04/11/2020, 12:51 AM
thats a lot of work for to handle an ill advised scenario when someone edits the amount to not match the rate
3
Views
Open in Slack
Previous
Next