Hello, I keep on getting a null value for the subl...
# suitescript
p
Hello, I keep on getting a null value for the sublistid. It works fine on the item submit but returns null for the expense sublist. It is a postsourcing script. What am I doing incorrect? Here is the script: try { var record = scriptContext.currentRecord; var type = scriptContext.sublistId; var name = scriptContext.fieldId; log.debug('record '+record); log.debug('sublist type is '+type); log.debug('name of field is '+name);
k
Phillip, where did you deploy and what was the record type ?
p
I deployed on the vendor bill and purchase order