function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JJoshJLJJoshJL 

Update Owner Info

Greetings All

  Quick question. Having an issue with changing the account owner on one of our custom tabs. Simply put, I am trying to change the owner of an asset the same owner of the associated account. Im pulling the owner ID from the associated account without any issues, however, I'm having issues trying to use that same owner ID to change the asset owner. It's probably something simple Im missing, But I cant see it. Anyway, Any help is appreciated.

Thanks

 

Josh

API = 4.0

VB.NET

Dim updowner As New salesforce.Assets__c

Dim conacc(1) As salesforce.sObject

updowner.OwnerId = userid

conacc(0) = updowner

binding.update(conacc)

JJoshJLJJoshJL

Whops...  Found the problem... Forgot to add the Salesforce ID Information. Thanks though for anyone that looked at the problem.

 

Josh