You need to sign in to do that
Don't have an account?
Andrew Likens
Creating/updating an opportunity calls @future method on the account. Why?
I have a method that is setup to make an @future call on the account and contact. However, I have a third-party tool that makes updates to the opportunity. Whenever this third-party tool makes an update or a user creates an opportunity, it calls my @future account method setup. Why would that be? Our goal is not to call my method at all when creating/updating an opportunity because now we're running into the "too many future calls:51" error because the third-party tool does batch updates to the opportunity. I know there's a lookup relationship with account and opportunity, but that can't be the case here. Any insight would be greatly appreciated!
All Answers
Can you also find all references to the method from every apex class and trigger? It might be update on one object creating update on another object and which is resulting into future method call.