The only way I can think of to do what you're tryi...
# suitescript
m
The only way I can think of to do what you're trying to do is to use
record.getFields
and
record.getSublists()
and
record.getSublistFields()
for each record type, then load each one, iterate through its sublists, and get its body and sublist fields, and even then, you may have to look for subrecords (inventory details, etc).