+ Start a Discussion
ravikanth321ravikanth321 

Count opportunities owned by user using batch apex.

Hi Could someone help me in creating a batch apex to count(total 6 stages ,i want to count only 2 and above) the number of opportunities owned by a user and populate that value on to user record.