• Jessica
  • NEWBIE
  • 0 Points
  • Member since 2005

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

We have the situation that accessing SalesForce using webservices returns 18 char object IDs while using some of the other tools, eg. "Weekly Export Service", return 15 char IDs. What is the correct way in Java code to check if a 15 char ID refers to the same object as the 18 char ID? Is it simply a string prefix match or do we need to use some more complicated logic?

  • June 01, 2004
  • Like
  • 0

Hello All,

I have a strange issue when creating new accounts using the new api 3.0 in VB.NET.

The id property of the returned insert result is completely other value than the ID the record actually gets to have in salesforce.com

eg I create an account using the api and the id returned is 00120000000i5znAAA, but the id in salesforce.com of the exact same record is 00120000000i5zn ??

This is what i'm doing:

Dim insertobjects() As sForceConn.sObject = {newaccount}

Dim ret() As sForceConn.SaveResult

Try

ret = sForce.create(insertobjects)

Catch

MsgBox(Err.Description)

Return False

End Try

sfdc_id = ret(0).id