Skip to Content
0
Feb 24, 2011 at 10:24 AM

Error 5002 "Invalid code" while BP update

636 Views

Hello!

I need to update BP via DI API.

I deleted all code except update command

oBusinessPartners.GetByKey(cardCode)

oBusinessPartners.Update()

But for some cards I recieve an error 5002 "Invalid code".

From the application it is possible to update these cards without any problem.

I tried to delete empty bank row (note 1106928) but it did not help.

I have XML data for 2 cards: one for successfull update and another for failed.

Can anybody help me?

What I can to do in this sutuation?