Archives

Apex Return Diff fields between records

Sometimes you want to determine what has changed between an existing record in the database and an update to the record. The diffRecord method will return all the fields that changed for a specific record. Compare the difference between to records and return changed fields Test that only changed fields are returned

Rate this:

Read More

Salesforce Export Database Records to CSV for Batch Upload

Exporting of Database records to csv can be done using: 1. OpenCSV CSVWriter 2. FileWriter 1. OpenCSV CSVWriter 2. FileWriter

Rate this:

Read More