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
mg2017
03/19/2019, 1:47 PM
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
rustyshackles
03/19/2019, 7:38 PM
Since you are in dynamic mode, you need to select the line first, put a