David B
02/08/2022, 10:45 PMrecord.load
or record.submitFields
?
For example with an item I have "itemtype" as a query column, which results in "_InvtPart_". However the corresponding type is actually "_serializedinventoryitem_" (from record.Type.SERIALIZED_INVENTORY_ITEM
)
Looking at the record, "baserecordtype" has what I want ("_serializedinventoryitem_"), but isn't a field in the records catalogue.tdietrich
02/09/2022, 8:33 PMDavid B
02/09/2022, 8:45 PMconst prefix = islotitem ? 'lotnumbered'
: isserialitem ? 'serialized'
: '';
const type = prefix + itemType;