Usage  >  Batch server >  Accounting tasks  

Display all Hide all

All accounting journals processed automatically (invoice validation, depreciation charges, stock interface, payment validation etc.) are written in a temporary table within the database, and a batch process run by this function processes them for accounting. All matching operations are run in the same way.

Only journals processed directly can be directly entered in accounting and imported. All other journals are subject to a batch task: this batch task must be set up to find journals in accounting (or the journals will be on hold until the batch task is launched).

The accounting task can be set as 'Inactive' even when the launch query has already been saved. Several explanations can be provided:

  • The number of simultaneously active tasks set up for the batch server is exceeded: the accounting batch task only starts once a sufficient number of tasks in progress have reached an end.
  • The batch task is going to be launched, but the waiting time defined in the batch server parameters means that the task has not been launched yet.
  • The task has been canceled or stopped during the process.

For further problems, view the queries in progress or processes in progress in order to identify the origin of the problem.

Prerequisites

SEEREFERTTO Refer to documentation Implementation

Screen management

Entry screen

Presentation

Upon entering the function, a screen displays the following information:

  • The status of the accounting task, which can be 'Inactive', 'Active' or 'Shutting down'.
  • The number of the batch query in process for running the accounting batch task (if active), or number of the last launched query (if no longer active). A status flag is linked to this query number to determine if the batch task is on hold or if it has been stopped during the process.
  • The corresponding process number (depending on the operating system).
  • The number of accounting journals awaiting to be processed and the number of matching operations to be run.
  • The number of balance updates awaiting to be run. This column is displayed depending on the value of the UPDBALBTC - Balance update desynchronization parameter (CPT chapter, ACC group).

Close

 

Fields

The following fields are present on this tab :

Grid List

  • Code (field COD)

 

  • Task status (field STA)

Status of the batch task which can have the values:

Inactive

The batch task is not launched. A growing number of entries await validation.

Active

The batch task is active.

Shutting down

Launching an order for shutting down the batch task. The batch task is shutting down.

Restart in progress

Launching an order for activating the batch task. The batch task is about to start.

  • Query (field RQT)

 

  • Status (field FLAG)

This report provides additional information on the batch task status. The current values are 'Standby', 'In progress' and 'Finished'.

  • Processes (field PID)

 

  • Journals on hold (field NBRPCE)

Number of journals pending posting.

  • Matching (field NBRMTC)

Number of matching groups pending validation

  • Balance update (field NBRBAL)

Number of balance updates still awaiting to be run.

This column is displayed depending on the value of the UPDBALBTC - Balance update parameter (CPT chapter, ACC group).

Close

 

Action icon

Log

 

Close

 

Specific Buttons

This button can only be accessed if the task has not be launched yet. Between the moment when the starting order has been given and the moment when the task has really started, some time may elapse, depending on the parameters of the batch server. Therefore, after clicking on this button, the server status is not necessarily 'Active'. In order to check the server status again, go to the View > Refresh.

This button sends a stop command to the accounting task. A latency can be observed: depending on the setup, and due to consecutive refresh actions, the task status goes from 'Active' to 'Shutting down' and finally 'Inactive'.

Error messages

In addition to the generic error messages, the following messages can appear during the entry :

The server is not active

This message is sent if the accounting task is launched but the batch server is not active. In this case, the launch request is recorded in the batch server but the task can only be launched if the batch server is running.

Tables used

SEEREFERTTO Refer to documentation Implementation