Automation using the Scheduler

Overview

The CONNECT Scheduler is used for automating processes that are normally done manually through the CONNECT UI.

With this ERP/Repete CNX integration for scheduled deliveries, we will leverage the scheduler to automate creating batches, sending to batcher, receiving from batcher and committing to ERP.

Security

To be able to create new scheduled tasks, the user needs security domain Scheduler.

Configuration

The Scheduled Tasks form is accessed using the menu Settings→Scheduled Tasks.



Once the scheduled tasks form is up, the user can add a new task using the "Add New" button.  The following job types are used for the integration.

Type

Description

Type

Description

POScheduledDeliveriesCreate 

a task to pull scheduled deliveries from ERP into CONNECT (create new batches)

POScheduledDeliveriesSend 

a task to send scheduled deliveries from CONNECT to Repete CNX

POScheduledDeliveriesReceive 

a task to receive tickets/receipts from Repete CNX to CONNECT

POScheduledDeliveriesCommit 

a task to commit scheduled deliveries from CONNECT to ERP



Of the four job types above, POScheduledDeliveriesCreate has additional parameters the user needs to configure.

Field

Description

Field

Description

Division Code

the ERP division code

Days Out

the number of days out used to determine the end date.  The start date is today's date.

Running the Tasks

Once the tasks are scheduled, the tasks are executed at the scheduled time.  This can a little hard to test, waiting for the scheduled tasks to run.  If your user is a power user, the "Run This Job" button is available.  This button allows the user to execute a task immediately.