How can I tell if an item is a matrix parent or a ...
# suitescript
c
How can I tell if an item is a matrix parent or a matrix child, as opposed to not being involved in a matrix at all? SuiteScript 2
var itemRecord = record.load({ type: 'noninventoryitem', id: itemInternalId, isDynamic: false }); var matrixType = itemRecord.getValue({ fieldId: 'matrixtype' });