on 2006 Nov 11 12:18 AM
Hello,
I am trying to create a Delivery using DIAPI. When I set the quantity as zero for a line item. The Delivery Note gets created with quantity 1.
I am able to create a delivery with no quantity from SBO client.
SAPbobsCOM.Documents vDLN = (SAPbobsCOM.Documents)c.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes);
vDLN.CardCode = "C20000";
vDLN.Lines.SetCurrentLine(0);
vDLN.Lines.ItemCode = "A00001";
vDLN.Lines.Quantity = 0;
if (0 != returnval)
{
c.GetLastError(out errNo, out errMsg);
Console.WriteLine(errMsg);
return;
}
Thanks and Regards,
Sheetal
Hi gurus !
A little up for this post ..
I'm in this situation too.
thanks for your answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
9 | |
7 | |
5 | |
4 | |
4 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.