Reply
Regular Visitor
PaymentProcessor
Posts: 1
0

Custom record type object

Hey there, 

 

I created an online form and I am using the PHP script below to create a new lead in the records. This works perfect well. The issue I am having though, is this needs to also go into a custom report type called Merchants_with_Residuals. This seems so simple, I am annoy I am missing something.

 

$records = array();

$records[0] = new stdclass();
$records[0]->FirstName = 'Blah';
$records[0]->LastName = 'Blah2';
$records[0]->Phone = '(510) 555-5557';
$records[0]->Company = 'blah7';

 

$response = $mySforceConnection->create($records, 'Lead');