I'm relatively new to NetSuite. We've only been live for about three weeks now. I added an inline editor sublist to a record which was pretty straightforward. Users are able to view the list and add/remove/edit line items in the UI but there is one crucial issue. When a user submits that record containing the sublist the line items entered are not saved; i.e., when a previously saved record is viewed or edited the custom sublist is empty.
I'm building the sublist in the beforeLoad method of a user event script. This is the only code I've written related to this feature so I'm sure I'm missing something.
function userEventBeforeLoad(type, form, request) { var artSubTab = form.addTab('custpage_artrequeststab', 'Art Requests') var artSubList = form.addSubList('custpage_artrequestslist', 'inlineeditor', 'Art Requests', artSubTab); artSubList.addField('logoname', 'text', 'Logo Name'); artSubList.addField('imprintmethod', 'text', 'Imprint Method'); artSubList.addField('imprintlocation', 'text', 'Imprint Location'); }