That will require the line parameter as well. So y...
# suitescript
n
That will require the line parameter as well. So your assignment will look like: var inventoryDetailSubrecord = SALESORDER.getSublistSubrecord({ sublistId: 'item', fieldId: 'inventorydetail', line: x });
m
thanks Nik. the SO I am loading is in Dynamic mode and using getSublistSubrecord throws error: Cannot find function getSublistSubrecord in object dynamic record
r
Since you are in dynamic mode, you need to select the line first, put a
selectSublistLine
before your
getCurrentSublistSubrecord