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...