Set bin location on draft delivery note through DI API
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,
Owen Slater replied
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.