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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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