hello, I have a script that sets a sublist value o...
# suitescript
s
hello, I have a script that sets a sublist value of the entity in the advintercompanyjournalentry record. I can set the value in UI but having error "Invalid entity reference key 570." when running via suitescript.
advJe.setSublistValue({
sublistId: "line", fieldId: "entity", value: billEntity, line: i Any possible reasion? The script execute as Administrator
p
Did you use your Inter-Company Customer/Vendor on your billEntity or you are using the normal Customer/Vendor?
s
Intercompany