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!
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
how to load another record to a form
dear UG ,
i am trying to load a record from another custom record unto a form so i can edit the record and make changes to the database from the form.
here is the code i used which does not return any errors although it does not do any changes
"
<!-- script written by Enyioko Cosmos ocp oca,mcse,mcsa,mcp, GMNIM->
function beforeSubmit()
{
// run this script for existing records
//call the old record
// Get or load the existing record
var record = nlapiLoadRecord( 'customrecord_books_records', 19);
// Get the particular book record
// call the reference id of the book record
0