Join Slack
Communities
Powered by
With SS1.0 it was as easy as using nlapiGetRecordI...
# suitescript
t
Tyler
04/02/2019, 5:26 PM
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
texmc
04/02/2019, 5:29 PM
you need to get the current record being passed in the context object if it is a userevent script
texmc
04/02/2019, 5:29 PM
read more about the context object under user event entry points
texmc
04/02/2019, 5:29 PM
it returns record.Record
texmc
04/02/2019, 5:29 PM
so it would be currentRecord.id
t
Tyler
04/02/2019, 5:46 PM
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
Open in Slack
Previous
Next