With SS1.0 it was as easy as using nlapiGetRecordI...
# suitescript
t
With SS1.0 it was as easy as using nlapiGetRecordId() but for some reason I am having trouble with the crossover to 2.0
t
you need to get the current record being passed in the context object if it is a userevent script
read more about the context object under user event entry points
it returns record.Record
so it would be currentRecord.id
t
Thank you! I was able to get it working with your recommendation - I still have much to learn as I transition over to 2.0