Automatic Loading and Updating of Documents Configuration
In the system, there is a possibility to configure the automatic execution of the following tasks:
- Uploading outbound documents to the provider's system.
- Updating statuses for outbound documents.
- Downloading inbound documents from the provider's system.
- Updating statuses for inbound documents.
- Creating EDI orders.
- Sending EDI documents based on received orders.
All automatic tasks are configured in the Job Queue Entries. To do this, follow these steps:
- Click the
button, which will open the Search function, and enter Job Queue Entries to navigate to the corresponding link.
- Create a new record by clicking the
New button.
- Fill in the fields:
Field | Description |
---|---|
Object Type to Run | Select Codeunit. |
Object ID to Run | Fill in according to the table below. |
Parameter String | Fill in according to the table below. |
Earliest Start Date/Time | Set the date and time when the automatic task should start. |
Recurring Job | Activate this setting if you want the system to perform the task periodically. Then specify the days of the week when the operation will be launched or provide a formula for calculating the next run date. |
Formula for Calculating the Next Run Date | Determines the date formula used to calculate the time for the next scheduled run of the recurring job queue entry. If a formula is set, all other recurrence parameters are cleared. |
Starting Time | Specifies the time when the recurring job queue entry should be started. |
Ending Time | Specifies the time when the recurring job queue entry should be finished. |
No. of Minutes between Runs | Specifies the minimum interval in minutes between runs of the job queue entry. The value cannot be less than one minute. This field is only applicable to recurring jobs. When an interval is specified, the formula for calculating the next run date is cleared. |
Inactivity Timeout Period | Specifies the number of minutes that must elapse before a job with the status "On Hold with Inactivity Timeout" is automatically restarted. The value must be at least five minutes. |
Action | Object ID | Parameter String |
---|---|---|
Upload outbound documents to the provider's system | 70860260 | UploadDocuments |
Update statuses for outbound documents | 70860260 | CheckStatus |
Download inbound documents from the provider's system | 70860260 | DownloadDocument |
Update statuses for inbound documents | 70860260 | CheckIncomingDocumentStatus |
Create EDI orders | 70860263 | CreateOrders |
Update status of EDI orders | 70860263 | CheckEDIStatusDoc |
- Select the Set Status to Ready action in the line.
Additionally, on the job queue card, you can view the Log Entries, where the system records the start date and time of the process, its duration, and the status upon completion. If the job encountered an error, you can see the error message by clicking on the Error line or directly in the log.