You need to sign in to do that
Don't have an account?
V R 9
Opportunity Trigger
Business requirement - We have a bulk upload job that upserts account records daily. Once the account has met a specific criteria an opportunity should be auto generated with the owner from the account team.Â
Question:
Would trigger be the best way to go about this? Are there any gotchas(with bulk account updates) that I should watch out for? Any other method to build this scenario more efficiently?
Question:
Would trigger be the best way to go about this? Are there any gotchas(with bulk account updates) that I should watch out for? Any other method to build this scenario more efficiently?
All Answers
It depends of the volumetry of records are you going to upload at once. For high volume of records I would not recommend using triggers as they are synchronous. In that case, I would go for asynchronous techniques to avoid hitting Governor Limits. Find more about in: https://www.youtube.com/watch?v=ZqqiIg_mynY (https://www.youtube.com/watch?v=ZqqiIg_mynY" target="_blank)
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm (https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm" target="_blank)
Regards.
Don't forget to mark your thread as 'SOLVED' with the answer that best helps you.