Does `BUILTIN.HIERARCHY` work on custom record typ...
# suiteql
m
Does
BUILTIN.HIERARCHY
work on custom record types? I have a couple custom records,
Pencil
and
Box
. Box is a hierarchy record, I can put many Boxes inside one another, and have done so. So, I figure I can do something like this:
Copy code
SELECT BUILTIN.HIERARCHY(custrecord_box, 'DISPLAY_JOINED') my_hierarchy FROM pencil
and it should work, right? No dice. NetSuite responds with: "_Search error occurred: Cannot build builtin function, validation failed. Unable to find hierarchy for field: custrecord_box_" I'm not sure what I'm doing wrong here. Any ideas?