This section describes what you have to do to get guides you through resetting the account summary fields for the company turnover reset at the turn beginning of the year.
Info |
---|
ADvendio is planning to implement an automated process for future releases. |
Tip |
---|
Please make sure to use the Apex class: "AccountTurnover". |
How to schedule the Apex Job
To schedule the Apex Job please follow these steps:
From Setup, enter Apex Classes in the Quick Find box, select Apex Classes, and then click Schedule Apex.
Select Choose a name for the job and specify the name of the class that you want to schedule (AccountTurnover).
Specify Indicate how often the Apex class is to should run.:
For Weekly—specify one or more days of the week the job is to run (such as e.g. Monday and Wednesday).
For Monthly—specify either the date or the day the job is to run or the day (such as (e.g. the second Saturday of every month.)
Specify Set the start and end dates for the Apex scheduled class. ⚠️ If you specify a single day is specified, the job runs only runs once.
Specify a preferred start time. The exact start time of the job starts depends on service availability.
Click Save.
...
...
Functions of the Apex Job
This Apex Class will:
Summarize the Turnover_Amount__c by c by adding up all related MediaCampaigns to the Account sorted by the following:
next calendar year,
this calendar year,
last calendar year,
the calendar year before last year
(if a fiscal year was set up):
Next Fiscal Year
This Fiscal Year
Last Fiscal Year
it is batchable and schedulable
only refers to the Account__c lookup including all Media Campaigns
Info |
---|
If you can not cannot find some of the fields needed, please make sure ensure to add these them to your layout in set u. |
Related articles
...
Setup. |