• Arun Viswanathan
  • NEWBIE
  • 10 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
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
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