Hubert
05/15/2018, 3:17 PMfulfillmentRecord.getCurrentSublistSubrecord({ sublistId: 'item', fieldId: 'inventorydetail' });
I have only 1 item on that order and it is regular inventory item.rustyshackles
05/16/2018, 5:05 AMvar compSubRecord = obj.createCurrentLineItemSubrecord('component',
'componentinventorydetail');
compSubRecord.selectNewLineItem('inventoryassignment');
compSubRecord.setCurrentLineItemValue('inventoryassignment', 'binnumber', 3);
compSubRecord.setCurrentLineItemValue('inventoryassignment', 'quantity', 2);
compSubRecord.commitLineItem('inventoryassignment');
compSubRecord.commit();
obj.commitLineItem('component');
var id = nlapiSubmitRecord(obj);