Dear,
from SDK I try Load (many Sales Order) I use a sintaxis "For"
The problem is the next: "The Sales order is saved, but the detail is kept for the next Sales order."
by example:
I Load 3 Sales Order from SDK, The first have 2 Lines detail, the second have 3 Lines detail and the last have 1 Line detail
in SBO show the 3 sales order, the first have 2 Lines Detal, the Second have 5 Lines detail and the last have 6 Lines detail.
The sintaxis for Repetitive sentences "For"
for Lazo1
'Save data head
TableLines.AcceptChanges()
for lazo2
'save data detail
oOrder.Lines.Add()
next lazo2
lRetCode = oOrder.Add
next lazo1
Can you help me?
I need Load the data with the line detail exactly
Very thanks