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