Download page Schedule Jobs to Refresh Agreement Data.
Schedule Jobs to Refresh Agreement Data
Because the Agreement Explorer works off data stored in the most recent cache for the Agreement object, users may find that more recently created agreement records are not being listed in their reports. Users must use the Refresh Data button in Report Settings to refresh the data pool extracted from object tables in the database. Instead, you can schedule a job using the Apex Scheduler to refresh data such as agreement hierarchy and account hierarchy, in the background.
Agreement Hierarchy
Perform the following steps to schedule a job to refresh agreement hierarchy.
Go to Setup.
Under Develop, click Apex Classes.
Click Schedule Apex.
Enter a name in the Job Name field.
Click the lookup button next to the Apex Class field and select the AgreementHierarchySchedulableBatch class.
In the Schedule Apex Execution section, select the job frequency, start date, end date, and preferred start time for the class.
Click Save.
Accounts Hierarchy
Perform the following steps to schedule a job to refresh accounts hierarchy.
Go to Setup.
Under Develop, click Apex Classes.
Click Schedule Apex.
Enter a name in the Job Name field.
Click the lookup button next to the Apex Class field and select the AccountHierarchySchedulableBatch class.
In the Schedule Apex Execution section, select the job frequency, start date, end date, and preferred start time for the class.