Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. From Setup, enter Apex Classes in the Quick Find box, select Apex Classes, and then click Schedule Apex.
  2. Select a name for the job and specify the name of the class that you want to schedule (AccountTurnover).
  3. Specify how often the Apex class is to run.
    • For Weekly—specify one or more days of the week the job is to run (such as Monday and Wednesday).
    • For Monthly—specify either the date the job is to run or the day (such as the second Saturday of every month.)
  4. Specify the start and end dates for the Apex scheduled class. If you specify a single day, the job only runs once.
  5. Specify a preferred start time. The exact time the job starts depends on service availability.
  6. Click Save.

Image Modified

This Apex Class will:

  •  summarize the Turnover_Amount__c by adding up all related MediaCampaigns to the Account sorted by
    • next calendar year, 
    • this calendar year, 
    • last calendar year, 
    • the calendar year before last year
  •  it is batchable, and schedulable
  • only refers to the Account__c lookup including all Media Campaigns

Filter by label (Content by label)
showLabelsfalse
max5
spacesAD
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "AD"
labelskb-how-to-article

...