Hi guys! In one of suitescripts examples, I faced ...
# suitescript
y
Hi guys! In one of suitescripts examples, I faced into this strange id
Copy code
sublist.setSublistValue({id: 'formulatext_currency', line: lineNumber, value: 100});
What does the refer to id like “formulatext_currency” mean? I can suppose what it is Sublist Item field “currency” + prefix “formulatext”. What does this prefix mean in this case? Can anyone explain me?
l
I haven't encountered this before.. can you post the entire script?
is it declared somewhere?
n
Seems like an invalid ID.
b
where the id is the id of the field
notably can be used with Sublist.addField, so its not necessarily an invalid id
n
Got it. Someone probably assigned this field ID to match it with the search columns.