Does anyone know how to find a Sales Order item by...
# suitescript
k
Does anyone know how to find a Sales Order item by its Line ID? I have tried everything. I don't understand why this doesn't work:
salesOrder.findSublistLineWithValue({sublistId: 'item', fieldId: 'line', value: lineId });
I can hardcode the correct lineId in there and it still doesn't work. I know I have the right Line ID but that is returning -1 as if it can't find anything.