Enter it as a number, not something with a `%` tac...
# suitescript
s
Enter it as a number, not something with a
%
tacked on it
e
but i need a percentage
as if i were doing it in the ui. especially when adding multiple discount lines one after the next, the percentage is calculated on the original line
@battk suggested the correct approach:
REC.setSublistText({ sublistId: 'item', fieldId: 'rate', line: newLineId, text: rate });