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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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