Setting up Scheduled Jobs
Unaric Payments Connector uses two scheduled jobs to complete the process of collecting and cash-matching payments. Both these jobs must be created and run by a dedicated user with an Accounting license, Administrator permissions, and access to all companies and all companies selected.
- The Unaric Repeat Payment Apex job, used for collecting payments. This job is created automatically when Unaric Payments is installed. For more information, see the Unaric documentation.
- The Payment Processing Apex job, used for creating cash entries and cash-matching payments.
Scheduling the Unaric Repeat Payment Apex Job
To schedule the job:
- From Setup, click Develop | Apex Classes.
- Click Schedule Apex and configure the following settings:
- Enter the name Unaric Repeat Payment for your scheduled job.
- Enter the name BatchProcessPaymentSchedules for your Apex Class.
- Set the frequency of the job to "Weekly".
- Select days Sunday-Saturday.
- Set the date to today's date.
- Set the start date to today's date.
- Set the end date, for example, 31/12/2050.
- Set the Preferred Start Time, for example, 04:00 or 05:00.
- Click Save.
Creating the Payment Processing Apex Job
- From Setup, click Develop | Apex Classes. If you are using Lightning Experience: From Setup, click Custom Code | Apex Classes.
- Click Schedule Apex and configure the following settings:
- Enter a name for your scheduled job.
- Enter the name FFASPPaymentScheduler for your Apex Class.
- Set the frequency of the job.
- Select the days of the week on which the job recurs.
- Set the start date for the job.
- [Optional] Set an end date for the job.
- Set the preferred start time for the job.
- Click Save.
SECTIONS