cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Albert

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Albert,

I have never tested my coding to create purchase orders with object 'oDrafts' - but I do have this additional line in my coding:

vPurDel.DocType = dDocument_Items

Maybe...

Former Member
0 Kudos

No this is a bug with the SDK

I have reported it 3 weeks ago to James Cofalt and he forwarded it to the development team.

Hopefully it will be rectified soon

Cheers

Former Member
0 Kudos

Hi Denis,

This is a known bug and has been fixed for Version 6.5 SP1.

Cheers,

Lisa

Former Member
0 Kudos

Do you mean patch 8 ?

if so there is a bug in the bug fix.

if not then where can i download this sp1

Former Member
0 Kudos

I have seen patch 12 out on the site. I have not tested this function, but there were a few parts to this fix, some came after patch 8, if I am not mistaken.