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