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.
Missing checkbox column in custom sublist
Developing a custom sublist to display on a case form subtab. Since the search to pull the data is fairly complex i'm trying suitescript. Going fairly smoothly until I try to set one of the fields to checkbox:
resultsList.addField( 'sl_col_1', 'text', 'Date' ); resultsList.addField( 'sl_col_2', 'text', 'Author' ); resultsList.addField( 'sl_col_3', 'checkbox', 'Email' ); resultsList.setLineItemValue( 'sl_col_1', i, searchResults[r].getValue( searchCols[0] ) ); resultsList.setLineItemValue( 'sl_col_2', i, searchResults[r].getText( searchCols[1] ) ); resultsList.setLineItemValue( 'sl_col_3', i, searchResults[r].getValue( searchCols[2] ) );
I have confirmed that the third search column is returning 'T' or 'F' exclusively, however when I display the results the checkbox field is missing. I see the Date and Author for multiple rows, but the last field simply doesn't show up. No errors appear in the logs. Additionally, if I set the third field type to 'text' it suddenly appears, but I cannot get checkboxes to display. Any ideas?
0