on 08-07-2015 7:13 AM
Hi,
How I can add information about location on draft document delivery note through DI API.
I'm using version SBO 9.1/VS 2010
Thanks & Regards,
Tomasz Derus
Hi Tomasz,
To create a draft delivery using the DI API, you just need to create an instance of the Documents object or subtype oDraft. Then set the DocObjectCodeEx property of the draft to 15 (delivery). The DocumentLinesBinAllocations object, which is a child of the Document_Lines object, gives you the methods and properties to define the bin locations or the lines on the draft delivery.
Kind Regards,
Owen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Owen,
Thank you for your answerd.
I can add location on draft delivery note when I create by DI API new dokument (Draft delivery note).
Problem occurs during update location on Draft delivery note by DI API - new location not saved on the document positions
DraftDoc.Lines.BinAllocations.BinAbsEntry = binloc;
DraftDoc.Lines.BinAllocations.Quantity = qty;
DraftDoc.Lines.BinAllocations.Add();
Tomasz
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.