You need to sign in to do that
Don't have an account?

How to run Apex command?
I'm looking to update a calculation for a large number of fields and have an APEX command line. I have some base instructions to go to Setup --> Developer Console --> Debug --> Open Execute Anonymous Window. This is where I get stuck and not sure what the syntax is. This is the command line I have to run:
database.executebatch(new XXXX_YY_AAA_YTD_CALC (),200);
And i believe the class is: XXXX_YY_AAA_YTD_CALC
So what would the syntax be that I drop into the box that pops up for me to execute? Is it as simple as just entering in one line of database.executebatch(new....)
Thanks,
Arun
database.executebatch(new XXXX_YY_AAA_YTD_CALC (),200);
And i believe the class is: XXXX_YY_AAA_YTD_CALC
So what would the syntax be that I drop into the box that pops up for me to execute? Is it as simple as just entering in one line of database.executebatch(new....)
Thanks,
Arun
Please mark this as Best Answer if it helps you!
All Answers
Please mark this as Best Answer if it helps you!