screnshaw
12/15/2021, 3:03 PMnewRec.setSublistValue({
sublistId: 'items',
line: i,
fieldId: 'quantity',
value: Number(qty) - 1
});
Error:
You have attempted an invalid sublist or line item operation. You are either trying to access a field on a non-existent line or you are trying to add or remove lines from a static sublist.
Shawn Talbert
12/15/2021, 4:10 PMitem
not items
?screnshaw
12/15/2021, 4:13 PMThe Item line cannot be changed as it shares a landed cost amount with items on an Inbound Shipment which have been partially or fully received
Shawn Talbert
12/15/2021, 4:16 PMscrenshaw
12/15/2021, 4:16 PM