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 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
addSubList not generating editable fields
Good morning,
I'm generating a sublist via script in the beforeLoad event of a custom form, through this code:
var oListaAvzLavori = p_oForm.addSubList('custpage_avz_lavori', 'list', 'Avanzamento Lavori', 'custom194'); The second parameter, the list type, is "list", which is supposed to create a dinamic list with editable items.
Then I add fields to this sublist in this way:
oListaAvzLavori.addField('custpage_avz_lavori_checked', 'checkbox', 'Checked'); oListaAvzLavori.addField('custpage_avz_lavori_date', 'date', 'Date'); When I enter the form I have customized, I have the checkboxes in the list enabled, but the date fields disabled, and there's no way to enable them, nor with the nlapiDisableLineItemField used on page init.
0