Setting up a Job to Expire Contracts

You can schedule the ContractsExpirySchedulable Apex job to change the status of contracts that have an end date which has been reached to Expired. For information about the expired status of a contract, see Expired.

To schedule the job:

  1. Click Setup | Develop | Apex Classes.
  2. Search for the ContractsExpirySchedulable Apex Class.
  3. Click the name of the ContractsExpirySchedulable Apex Class.
  4. Return to the list of Apex Classes and click Schedule Apex.
  5. Enter a meaningful Job Name.
  6. Enter the Apex Class ContractsExpirySchedulable.
  7. Choose the frequency that you want the job to run:
  8. Enter the date range for which the job is to run.
  9. Enter a Preferred Start Time for the job.
  10. Click Save.
View TutorialsView Tutorial

© Copyright 2009-2018 FinancialForce.com, inc. All rights reserved.
Various trademarks held by their respective owners.