Is there a way to get a `Record.Type` from a Searc...
# suitescript
n
Is there a way to get a
Record.Type
from a Search that is acceptable for
Record.Load({ type: ? })
? For Instance, the Search includes Assembly and Inventory Items. Search Returns [ASSEMBLY, INVTPART] Neither of these values are valid for
Record.Load
which is expecting
record.Type.ASSEMBLY_ITEM
or
record.Type.INVENTORY_ITEM
Should I just do a manual mapping?
b
n
Thank you!