Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Delivery Note based on order not work (error -10)

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.

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question