• Mask
  • NEWBIE
  • 0 Points
  • Member since 2008

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

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