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 a record
dear UG,
i am in search of a script that loads a custom record on to a form so i can make changes and save to the database.
take a look at the script below and see if there is anything am not doing right. as it does not return any error but is does not do the required function.
<!-- 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
0