on 03-20-2008 10:59 PM
Hi,
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'
orders.Lines.SerialNumbers.Add()
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?
Hi,
I have to make one more select to search the system serial, instead the serial number of itemcode.
it works with the next code:
orders.Lines.SerialNumbers.SystemSerialNumber = serial
orders.Lines.SerialNumbers.BaseLineNumber = 0
orders.Lines.SerialNumbers.Add()
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to specify the system serial number instead of the internal serial (system serial is like a 'key').
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I change the InternalSerialNumber by the SystemSerialNumber.
I have the next error:
" [DLN1.WhsCode][line: 1] , 'Item 'EQDIASTC4EX0001 ' with system serial 11 is not in stock.'"
My code is:
orders.Lines.SerialNumbers.SystemSerialNumber = 11
orders.Lines.SerialNumbers.Add()
11 is the serial number in SAP for this item.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.