Set up Job Queue Entry for Sales Orders

Article07/04/20232 min read

You can use Job Queues to automate the process of sending sales orders to Aptean Routing and Scheduling and loading it once it is routed by Aptean Routing and Scheduling. However, it’s an optional setup.

To set up job queue entry for sales orders:

  1. Select the Search icon , enter job queue entries, and then choose the related link.
    The Job Queue Entries page opens.
  2. On the action bar, choose New.
    The Job Queue Entry Card page opens.
  3. On the General FastTab, perform the following steps:
    1. In the Object Type to Run field, specify_Codeunit_.
    2. In the Description field, specify a description for the job.
    3. In the Object ID to Run field,
      • If you want to send the sales order, specify the ID of the ApteanTMSSendingSchedulerFDW codeunit and enter Sales Orders in the Parameter String field.
      • If you want to load the sales order, specify the ID of the ApteanTMSLoadingSchedulerFDW codeunit.
    4. In the Earliest Start Date/Time field, specify the earliest date and time that the job can run.
  4. On the Recurrence FastTab, perform the following steps:
    1. To specify the frequency for the job, perform one of the following steps:

      • Turn on the days on which the job is to run.
      • In the Next Run Date Formula field, specify the date formulato calculate the next time the recurring job is to run.
        For example, to have the job run once a day, specify 1D.
    2. In the Starting Time field, specify the earliest time of the day that the recurring job is to run.

    3. In the Ending Time field, specify the latest time of the day that the recurring job is to run.

    4. In the No. of Minutes between Runs field, specify the minimum number of minutes that are to elapse between runs of the job.

      Note

      This field is only applicable when the job is set to be a recurring job.

    5. In the Inactivity Timeout Period field, specify how many minutes can pass before a recurring job that has the status of On Hold is automatically restarted.

  5. On the action bar, choose Process > Set Status to Ready.