I'm trying to insert a delivery with serial number. In SAP i have the item 'P-100' in warehouse '01' and the serial number '1234'.
My code is:
orders.Lines.SerialNumbers.InternalSerialNumber = '11'
I have this error: " [DLN1.WhsCode][line: 1] , 'Item 'P-100 ' with system serial 0 is not in stock.'"
The item exists in stock in warehouse '01' and stock quantity =1.
Which object i should use in orders.lines.serialNumbers?