Scheduling this processing to be performed automatically relieves you and your employees of remembering this processing while ensuring that the processing is performed regularly at times that will not affect users’ work.
When you set up automatic processing, you will have to create separate schedules for each set of documents you generally process (or for the most time-consuming ones) and manually process the rest of the documents.
In this chapter, you will learn how to do the following:
You schedule automated processing in the following cases:
Acumatica ERP has a variety of mass-processing forms so that you can process multiple records at once. You can schedule the automatic execution of a specific operation for the records that match certain conditions.
You can configure a scheduled execution of a specific operation from scratch by using the settings on the Automation Schedules (SM205020) form. On the form, you specify the mass-processing form for which you will configure a schedule, the operation to execute, the execution and frequency settings, and the conditions for the records.
Alternatively, you can ease the configuration by opening the Automation Schedules form directly from the target processing form. This approach can be useful if you need to configure the selection of specific records for the processing. Multiple mass-processing forms have a Selection area with elements that can filter of the records or specify the operation to be performed on the records. Additionally, you can apply simple or advanced filters to the table records to form the needed set of records. When you then open the Automation Schedules form by using Schedules > Add on the form toolbar, the system populates the newly created schedule with the form identifier and the settings of the configured conditions, and you need to specify only the execution and frequency settings of the schedule.
When you need to run a report regularly, you can create a schedule directly from its report form. By creating the schedule in this way, you can specify which email template will be used to send the report. To schedule the report, do the following:
The system uses the admin user account to run scheduled processes. This account uses the first available system locale that is specified on the System Locales (SM200550) form for the company with the schedule.
When you configure a scheduled execution on the Automation Schedules (SM205020) form, you need to select the action type in the Action drop-down box:
Depending on what action type you select in this box, certain UI elements will be displayed or hidden on the Automation Schedules form.
You can specify the duration of the schedule’s life on the Details tab of the Automation Schedules (SM205020) form. By using the Starts On and Expires On boxes, you define the period of time during which the system should execute the schedule.
If you need the system to run the schedule forever, you select the No Expiration Date check box on the tab.
You can limit the number of schedule executions by using the Execution Limit box on the Details tab of the Automation Schedules (SM205020) form. The system will stop executing the schedule if the limit is reached, even if the schedule has not expired yet.
If there is no need to limit the number of executions, you select the No Execution Limit check box on the tab.
Keeping the history of schedule executions can be useful if you need to investigate any issues with the processed records. However, history records can take up a lot of space in the database. You can limit the number of executions to keep in the history by using the Executions to Keep in History box on the Details tab of the Automation Schedules (SM205020) form. The system will keep history records only for the specified number of the most recently performed executions.
If you need to keep all the schedule executions for some reason, you select the Keep Full History check box on the tab.
On the Schedule tab of the Automation Schedules (SM205020) form, you can specify the execution schedule with an accuracy of up to a minute. For details, see Automated Processing: Schedule Types.
When scheduling mass-processing operations, you may notice that many of the processing forms have a Selection area with elements that make it possible to filter the records or select a specific action to perform on the records, as shown below.
We strongly recommend that you specify the settings of the Selection area on the target processing form, because this form has a validation mechanism behind the elements. The elements can be required for processing or can depend on other elements of the area. The business logic behind the elements is not validated on the Automation Schedules (SM205020) form.
If you specify settings for the elements in the Selection area and then open the Automation Schedules form by clicking Schedules > Add on the form toolbar, the system adds only the elements for which a value was specified on the Filter Values tab (see below).
When the system executes the processing, it first inserts the values specified for the filters in the corresponding elements of the Selection area and then proceeds with the execution.
When scheduling mass-processing operations or general inquiry forms, you can also apply simple and advanced filters (if available) to the records.
You can filter the list of records by any column available in the table by setting up a simple filter, as shown below.
Once you have assigned the processing to the schedule, the processing of the form will be performed automatically, in accordance with the assigned schedule.
To view all scheduled processes configured in the system and their details, you use the Automation Schedule Statuses (SM205030) form. You can click the following buttons on the form toolbar of this form:
Alternatively, on the target processing form, you can click Schedules > History on the form toolbar, and the system opens the Automation Schedule History form so that you can view the history of schedule execution in a specified date range.
Also, you can use the Automation Schedule History form to clear the history of a scheduled processing as a part of database maintenance routines. For each scheduled processing, you can delete the historical records of all executions by clicking Delete All on the form toolbar. Also, you can delete particular records, by selecting the records in the table and clicking Delete on the form toolbar.