/
StockControl Agent

StockControl Agent

Appearance

A StockControl Agent is a Windows program that is built based on the SvcControlForm base class. They all have the same look and the same basic functionality.

The Window of a StockControl Agent has the following parts:

  • A TabControl that has at least the “Status” tab.

  • A coloured bar showing the status of the agent. When green, the agent is initialised and running.

  • “Exit” and optional “Start/Stop” buttons.

  • The version number.

  • The last lines of the logfile. The number of lines logged in configurable in the config file.

Starting / stopping

An agent will start its processes immediately on startup. If you want to stop the process, you can use the Start/Stop button. However, these are usually not completely correctly implemented and they should be removed. Stopping should be done by completely closing the application.

To stop the application, click the “Exit” button on the “Status” tab. Using the X on the window border will cause the application to minimise to the system tray. This is implemented to prevent accidental stops by a user.

Configuration

Section

Name

Values

Description

Section

Name

Values

Description

general

loglevel

Error, Warning, Info, Debug, DDebug

What to log.

general

logbuffer

Integer

Number of lines to show in the agent’s window.

Related content

Order States
Read with this
Default Configuration
Default Configuration
More like this
Stock allocation - prevent mixed bulk pick
Stock allocation - prevent mixed bulk pick
Read with this
Config files
More like this
Article Management
Article Management
Read with this
StockControl Legacy Public Home
StockControl Legacy Public Home
More like this