on 11-19-2007 3:24 PM
Hi all,
I have a following problem:
I´m created Delivery Notes based on Orders and the addon get a following error:
" [line: 0] , '0351000005 no puede liberarse del almacén sin selección de número de lote/serie completo'"
My code is:
oEntrega.CardCode = oPedido.CardCode
oEntrega.DocDate = Today
oEntrega.Lines.BaseEntry = baseEntry
oEntrega.Lines.BaseLine = baseLine
oEntrega.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
oEntrega.Lines.Quantity = Quantity
oEntrega.Lines.BatchNumbers.BaseLineNumber = baseLine
oEntrega.Lines.BatchNumbers.BatchNumber = batchnumcode
oEntrega.Lines.BatchNumbers.Quantity = BatchQuantity
Anyone know some idea? thanks in advanced.
Could you please try to translate
'0351000005 no puede liberarse del almacén sin selección de número de lote/serie completo'"
Bablefish translate it into this:
"0351000005 it cannot be freed of the warehouse without selection of number of lote/serie completed"
Most of the people don't understand spanish and therefor might not be able to help you, but so far that I can tell there is something wrong with the batch-selection...
Have you tried simulating your action in the client (that might help you find some missing step/configuration)
Also is 0351000005 the itemcode?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rasmus,
It seems the wrong is a value of lines.Baseline and BatchNumbers.Baselinenumber...
oEntrega.Lines.BaseLine = baseLine
oEntrega.Lines.BatchNumbers.BaseLineNumber = baseLine
both propertys have a same values.
I have a question: what value must be in oEntrega.Lines.BatchNumbers.BaseLineNumber ?
(because i think both values not have to be the same value)
In other words:
when i generated a Delivery Note based on Order... what value take the standar SAP for oEntrega.Lines.BatchNumbers.BaseLineNumber ? (perhaps IBT1.BaseLinNum or IBT1.LineNum??... thats important for me know the source field which fills oEntrega.Lines.BatchNumbers.BaseLineNumber )
Thanks in advanced
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
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.