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.
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