You need to sign in to do that
Don't have an account?
Grant Ongstad
Apex Class Working Randomly
Hello Everyone,
A developer created an @future method that set the Opportunity Owner based on a criteria that is stored in a custom object. During lead conversion our code works almost 99% of the time. What is strange is that when it doesn't work, when the user remains the default user, If i clone the opportunity, the Code works.
I guess what I am trying to ask, and this is before I show some of the code is:
Is there any reason that a trigger would not fire on opportunity creation, but would fire when it is cloned? Arent these the same actions?
Best,
Grant
A developer created an @future method that set the Opportunity Owner based on a criteria that is stored in a custom object. During lead conversion our code works almost 99% of the time. What is strange is that when it doesn't work, when the user remains the default user, If i clone the opportunity, the Code works.
I guess what I am trying to ask, and this is before I show some of the code is:
Is there any reason that a trigger would not fire on opportunity creation, but would fire when it is cloned? Arent these the same actions?
Best,
Grant