0

I am upserting records using php tool kit into salesforce. Salesforce have limit of 28000 inserts in a day. So to avoid this what i want to do is to insert 150 recors into one array and then inseet into salesforce. I this way 150 records will hit only once and i can upload more data into salesforce. Please help that who can i do it using php.

$this->SFLinks[$i] = new SObject();
$this->SFLinks[$i]->fields = array(
    'Name' => $fileName,
    'CanaryAMS' => $sfPolicyId,
    'Canary123AMS' => $url,
    'Description__c' => $description,
    'DocExternalId__c' => $documentKey
);
$this->SFLinks[$i]->type = 'CanaryAMS__Documents__c';
$checkreturn = $SforceConnection->upsert('CanaryAMS__DocExternalId__c',$this->SFLinks);
Halvor Holsten Strand
  • 19,829
  • 17
  • 83
  • 99

0 Answers0