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.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
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