You need to sign in to do that
Don't have an account?
Chad Moutes
Help With Scheduled Apex Class
I have a custom object called Project, and a subordinate custom object called CRM Hour Tracker, what i would like to do is create a scheduled Apex Class to create a new CRM Hour Tracker every month on the first day of that month for every Project in the system.(Only About 110). I know how to do the scheduling of the Apex Class, my problem is i need each of these CRM Hour Trackers to relate to a different Project. Anyone have any ideas?
Karanraj
Chad - In the batch class start method query your custom Product object and then in Excute method write the logic to insert CRM hour tracker. Check the below sample code for your logic