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.