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.
Help with nlobjSubList .addField()
Goal: Add a tab to a form and display a sublist (of transaction lines) as defined by a saved search.
I've added the tab and list object successfully. I can also pull in rows using .setLineItemValues() passing my search results array. The number of rows is good.
I am having trouble with .addField() especially with a grouped/sum summary type. Without grouped results, the following works but I'm looking at item IDs. Do I have to explicitly reference the join to get the item name?
subList.addField('item','text','Item',null); subList.addField('amount','currency','Amount',null);Doc says to use the convention: name(_join)?(_summary)?(_display)?
0