+ Start a Discussion
sathya82sathya82 

Webservice Account Duplicate

HI,

 

         I am working with custom webserice i need to prevent duplicates accounts in my custom webservice may i know how can it is possible can anyone provide some sample code for that.

bob_buzzardbob_buzzard

The way you'd usually handle this is to have a unique external id field on the account which contains the "record id" from the external system.  Then if you use upsert operations, the unique external id will be used to match against existing records.

sathya82sathya82

@bob

 

 Thanks for giving reply can you give me some sample code, how can i achieve this.

bob_buzzardbob_buzzard

I don't have any sample code I'm afraid.