Skip to main content

Schedule an Invoice or Posting Run

This article details how to schedule a posting run so it runs in the background to avoid "Time out" issues

N
Written by Noel

Overview

Large invoice and posting runs can take a lot of time and use a lot of system resources, which can effect other areas of the system or even Time out and cause the posting run to fail.

For this reason Weighsoft has the ability to schedule a posting run in the background at a time of your choosing in the background (outside of office hours for example).

Note: this feature is only available from version 5.536 onwards


Settings

In order for this functionality to work you must enable the below setting:

  1. Go to Administration>System Settings>App Services

  2. Locate and Enable the following settings

    1. "Offload Long Running Processes To a Queue"

    2. "Posting Queue Enabled" (this option will only appear in 5.538+)

  3. Enable the setting

  4. Click Save

Note: If you are running 5.536 or 5.537 you will need to contact support for the background service to be restarted in order for the function to go live.
​
If you are running 5.538 or higher then this setting is enabled and active by default.

To allow for Invoice scheduling you will also need to go to Settings>Finance and enable the Enable Invoice Run Scheduling option


Process

Scheduling an Invoice Run

Once the above options have been enabled you will see a "Schedule" button on the invoice run screen.

  1. Set the required filters as you normally would, and then click on "Schedule" - you will get a message saying "Scheduled Invoice Run Tracker created".

  2. Navigate to the invoice Run Tracker screen. Your scheduled run will appear there with a "SET" link on the right-hand side
    ​

  3. Click on the "SET" link to set the date and time that the invoice run will be carried out.

This process allows you set invoice runs to be completed out of hours, but you could also use it to set up an invoice run for the end of the week, ensuring that all completed jobs matching the set filters are invoices automatically at that time.

The system will also allow multiple scheduled runs to be on the screen at once. So you could, for example, set a run to be done on Monday and again on Friday at the start of the week.

Note: There is no way for this process to be completely automated so you will still ned to generate the initial schedules manually each time.

Scheduling a Posting Run

The posting screen will appear slightly different depending on your version, however they are functionally the same.

Versions 5.536 to 5.537

Once the above is enabled you can schedule a posting run by going to the posting screen and using the "Schedule Posting" option.

Set a date and time for the run to be carried out and click "Schedule Posting"

The posting run will appear on the posting screen with a schedule time on the right-hand side.

Once the run has been scheduled you can see all the details (including it's progress) in Administration>Lookups>Processing Long Running Tasks

Versions 5.539+

In versions 5.539 onwards the Posting screen has been amended to show the schedule options on the left as well as a progress indicator on the screen itself.

Set your posting filters as normal and then in the "Run with Queue" section set the time for the posting run to be carried out.

You will see a "pending" icon and the start time in the "Queue Progress" column.

Once the run starts the time will switch to a percentage progress tracker.

Once the run has been completed you will get an on-screen notification and the run will show as "Completed" on the posting screen


​

Did this answer your question?