Salesforce Apex FAQ


Salesforce Apex resembles Java programming language, but it uses objects to represent primitives and also offer pre-built methods for commonly performed tasks. Here is a list of commonly used primitive object methods, and functions that can be used with Apex programming language.

Salesforce: Retrieve related list with SOQL and Apex


You are working with a Salesforce custom object, and you need to iterate through the related list. How do you retrieve the listed list with SOQL, and iterate through them with Apex? For the illustration purpose, I'm going to use Financial Force object, SCMC__Sales_Order__c. The SCMC__Sales_Order__c has a child relationship, SCMC__Purchase_Orders__r, as shown in the (Force.com IDE) screenshot below.

Salesforce Apex Developer's Guide


This guide is written per SFv31, so if you're working in a future version -- you may have a slightly different menu structure. If you are new to Salesforce, you may want to create an account at http://developer.salesforce.com. This will allow you to create a developer ORG, which you may use to develop SF applications.

Subscribe to RSS - apex