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.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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