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.
Can a sublist be updated on a suitelet form?
Can anybody help me woth this? I have created a form through a suitelet that mimics the approve time form. In short, I've created a select field containing a subset of employees as well as a SubList used to hold information associated with each employee in the select field. This defaults to all of a users supervised employees when the suitelet is first called.
var form = nlapiCreateForm('FS Approve Hours'); g_nTotLineItemCount = 0; var select = form.addField('custpage_selectemployeefield', 'select', 'Employee'); select.addSelectOption('0', 'All'); form.addField('custpage_fs_datefield', 'date', 'Week Of'); var objTimeType = form.addField('custpage_fs_selecttimetype', 'select', 'Time Type'); objTimeType.addSelectOption('a', 'Direct Report'); objTimeType.addSelectOption('b', 'Job'); objTimeType.addSelectOption('c', 'All', true); var objApproveList = form.addSubList('custpage_fs_timelist', 'list', 'Approve List'); // var objApproveList = form.addSubList('custpage_fs_timelist', 'inlineeditor', 'Approve List'); 0