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.