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.
Problem with addSubList method of nlobjForm
Hi,
I have a suitelet which runs fine in 2008.1 but throws an unexpected error in 2008.2
The script is as follows
function massUpdateForm (request, response) { if (request.getMethod() == "GET") { var form = nlapiCreateForm('IS Mass Update',false); form.setScript('50018'); var searchIdField = form.addField('searchidfield','text','Search Id'); var massUpdateTypeField = form.addField('massupdatetypefield','text','Mass Update Type'); var lineItemTab = form.addTab('updatefieldstab', 'Update Fields'); var lineItemObj = form.addSubList('updatefields', 'inlineeditor', 'Update Fields','updatefieldstab'); var submitButton = form.addSubmitButton('Perform Mass Update'); var massUpdateField = lineItemObj.addField('massupdatefield', 'text', 'Mass Update Field'); var massUpdateValue = lineItemObj.addField('massupdatevalue', 'text', 'Mass Update Value'); response.writePage(form); } } 0