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.
2008 R1 - nlapiCreateRecord is failing in client suitescript
It seems that nalpiCreateRecord is failing to operate in client suitescript, the following code was working fine before the upgrade to 2008 R1, now i get the error message alert window 'An unexpcted error has occcured'. Attempting to catch the error in javascript returns error description of undefined.
// if UP billing items found, Add to [PCM UP Billing Data] record
alert('0'); // i get this alert
UPBillingRecord = nlapiCreateRecord('customrecord70'); // PCM UP Billing Data - this is a custom record
alert('1'); // this is not displayed, instead i get unexpected errro alert message
UPBillingRecord.setFieldValue('custrecord_billingdata_billingmonth',month); // set billing month
0