Skip to Content
Former Member
Mar 04, 2004 at 02:55 PM

SDK-DI --> Create Draft of Goods Receipt PO


Hello all,

we are trying to create a document draft of a Goods Receipt PO. Our problem appears when we save the document the system generates the following error:

[OSRI], 'Error (-2007) encountered'

It seems to be an error of Serial Numbers but our item doesn't use serial numbers.

The following code is the declaration of the object:

Set vPurDel = vCmp.GetBusinessObject(oDrafts)

vPurDel.DocObjectCode = oPurchaseDeliveryNotes

Thank you for you help and your time...