Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Getting the Record Id
Is there a way I can get a record id, or retrieve a record? At the moment I have the following;
var newRecord = nlapiLoadRecord(nlapiGetRecordType(), nlapiGetRecordId());
But nlapiGetRecordId() is returning null so the line is failing when I submit a sales order. Any ideas how to work around this? Thank You.
Trevor
0