I'm writing an afterSubmit user event script that ...
# suitescript
b
I'm writing an afterSubmit user event script that triggers when an item receipt is created. I'm trying to get the
tranid
but it's returning "To Be Generated", so i'm assuming it's not available yet. What would be the appropriate way to get this value from the record?
p
nlapiGetFieldValue worked for me with an afterSubmit script, instead of record.getFieldValue
a
👍
b
Sorry, forgot to mention I'm working with SS 2.0