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.
Get Custom Record Type from Custbody field.
Hey, all.
I added Custom Body Field (custbody_field_1) to Sales Order Transaction. This Custom Body has type: “List/Record” and refer to Custom Record (custrecord_test_1).
So, the questions is:
Is it possible to get Custom Record Type (custrecord_test_1) from Sales Order Custom Body Field (custbody_field_1) using N/record or N/currentRecord or any other NS modules?
record.getValue(‘custbody_field_1’) returns ID but I do not know how to load the Record using ID because RecordType is unknown
record.getField(‘custbody_field_1’) returns info about field type (“SELECT”) but no info about RecordType.
0