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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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