IMS. ← All docs

Events in IMS2 — business logic and user guide

For users who configure and work with tracking rules (Tools → Events).
Explains how the system works at the business-logic level, not how to
click buttons.


1. What this actually is

Events is a mechanism that watches stock and operations by itself and
reports when something needs attention — no need to manually check stock
levels every day. Two parts:


2. What a rule can track

A rule checks one of two things:

2.1. Stock below a threshold (the main scenario)

You specify an item and a minimum threshold (Min Stock Threshold) —
the system compares current stock against the threshold on every check.

Warehouse — an optional refining parameter. If not specified, the
threshold is checked against the combined stock across all
warehouses
. If a specific warehouse is specified, only that one is
checked.

This matters if you have several warehouses with different roles (e.g. a
main purchasing warehouse and a working location/kitchen/shop floor where
the needed quantity is moved to). In that case the combined total can be
misleading: the item is "sufficient overall" while the place it's
actually consumed from is already empty. Specify a particular warehouse
if consumption happens from that warehouse specifically, not from
anywhere.

2.2. Whether an operation happened within a period

You specify company/item/operation type/order number (any combination) —
the system checks whether at least one matching operation happened during
the tracked period. Used less often, to check "did we forget to make a
delivery/payment."


3. One-time or recurring check

For "stock below threshold" rules the period is effectively irrelevant —
they're checked on every login, continuously, until closed manually
(see §5). The period format is primarily meaningful for the §2.2
scenario.


4. Where the result shows up


5. How to close a message

There is no "dismiss" button on the main-screen panel. This is a
deliberate decision: only whoever configured the rule and understands
what's happening should be able to close a problem — not any user with a
single click.

The only way to close a message manually:

  1. Tools → Events → the Rules tab.
  2. Select the rule.
  3. Close Rule button — deactivates the rule and closes all its open
    messages at the same time.

If the problem was real and was resolved (stock arrived, stock was moved
in) — the message closes by itself, no manual step needed (see §2.1).
Manual closing is for "false alarm" cases or when a rule is no longer
relevant (e.g. an item was discontinued).

Delete Rule is a different action — it fully removes the rule from the
reference table (not just closes it). Use it if a rule was created by
mistake or will never be needed again.