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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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