• PtitFred
  • NEWBIE
  • 0 Points
  • Member since 2005

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 3
    Replies
Hello,

How Can I use getUpdated and getDeleted calls even if they aren't defined in the SalesforceClient.php file ?

Thanks !

Message Edited by PtitFred on 10-17-2005 03:55 AM

We have a app. that runs to change record owners based on zip code. Basically mass reallignment of terroritories based on zip code. It changes the account owner, along with open activites, opps, contacts, etc...that are associated with the Account.

The issue we are having is the account owner is getting updated, but when trying to update the contact owners we get the error that the user is inactive. This doesn't happen on all records, though..just some.

I have tried to troubleshoot to see why it only happens on some, but perplexed. The owner of the account and contacts is indeed active. And the owner of the account is changed. So why would it error saying that is cannot update the contact owner because they are inactive....but changes the account owner to the same person? Any help or thoughts would greatly be appreciated.


Here is the error:

SystemErr R Code: CANNOT_REPARENT_RECORD
SystemErr R Message: owner is inactive, cannot reparent record
Hello, I try to make a request with a filter on the field LastModifiedDate in PHP but I don't know the PHP function to use...

$request = "select Id from Opportunity where LastModifiedDate > ". ? ."";

I read that It had to use gmdate(DATE_ISO8601) but I don't understand how. I'm using php 4.2.3

Thanks !