I have a trouble when i create a delivery.
lines.BaseEntry = numcde
lines.BaseLine = j
lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
where numcde is a string
Sometimes it works but sometimes there is an error message "-5006 - [RDR1]" and no more information.
If I delete those 3 lines there is no trouble.
Could you help me please ?