Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Perl, PHP, Python & Ruby Development
- :
- Custom record type object
turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
0
Custom record type object
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-11-2012 05:33 AM
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');

