You need to sign in to do that
Don't have an account?
Miguel Gonzalez 4
trigger (after insert) - load List data to custom SObject
I'm working on a trigger project in the Sandbox. It's supposed to set off anytime someone updates the field "FTP_to_Case__c" on "FTP Actions". I have the initial stage, to set activate the trigger, set up, but I'm new to SFDC and how to take that "Action_Date_Time__c" data collected and transfer it to my new custom object "Last_Upload" (which is on the object "Case") is where I'm a bit lost.
Here is where I stand so far.
Any guidance will be much appreciated!
Miguel G.
What it does is iterate over all of your FTP_Action__c objects and then creates a "new" Case record with the Last_Upload__c set to the Action_Date_Time__c. Since we set the Id of the case to the FTP_to_Case__c field when we call the update casesToUpdate we will update the record with that Id.
All Answers
What it does is iterate over all of your FTP_Action__c objects and then creates a "new" Case record with the Last_Upload__c set to the Action_Date_Time__c. Since we set the Id of the case to the FTP_to_Case__c field when we call the update casesToUpdate we will update the record with that Id.
http://salesforce.stackexchange.com/questions/15237/bulk-testing-trigger
If you know anything about bulk testing, I'd appreciate that as well. Just trying to add all these suggestions to my toolbox.
[1] http://pcon.github.io/presentations/testing/#bulk-intro
[2] https://github.com/pcon/bulkhandson