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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Anyone know how to add a "created from" link in a custom record?
Hi All,
I was wondering if anyone has tried to add a "created from" link in a custom record? Basically, I want to replicate the way NS links related records by adding a link pointing to the parent record where the script is triggered, as a number with a URL behind it on the custom record that the script creates.
My first snag is that when I try to get the record ID in order to build a URL, on an after-submit script, the script still returns "to be generated."
var transactionId = nlapiGetFieldValue( 'tranid' );
nlapiLogExecution('DEBUG','transactionId: '+transactionId);
nlapiGetRecordId works, is there a way to load that record and extract the transaction ID from there?
0