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.
Contact Sublist-Is this scriptable?
Hi There
I am trying to retrieve details of the 'contact' sublist from the customer record.
I have tried to use the following for this:
(recordsobj is referencing the customer record--this part is working correctly)
var email = recordObj.getSublistField({
sublistId: "contact",
fieldId: "email",
line: i,
});
var email = recordObj.getSublistField({
sublistId: "contactRoles",
fieldId: "email",
line: i,
});
Neither of these produce any results.
Is this a scriptable record?
I have looked at the records browser and cannot tell from that.
Thanks
Tagged:
0