sublistChanged question: Is there a way to access ...
# suitescript
j
sublistChanged question: Is there a way to access the "Main" record fields when in this entry point? The script context returns the current line on the sublist that was changed. Within this script, on a Sales Order, i need to access the customer (entity) and the location. I tried "var mainRecord = scriptContext.currentRecord.CurrentRecord;" , but that returned undefined. Any thoughts? Thx
n
scriptContext.currentRecord
j
thanks @NickSuite! that works, i need more coffee...
👍 1