IMS. ← All docs

Documents — overview of types

A document is the system's central unit: a recorded fact about what happened
to goods or money (who, when, how much, from where, to where). The general
mechanics — draft/processed, lot accounting, rollback — aren't repeated
here, they're covered in depth in Concept and
Subsystems. This page is a catalog: which
document types exist and what each one means.

Where types come from

A document's type is defined by the operations reference — not a hardcoded
list, but a configurable one: every operation has a direction (receiving,
expenditure, cash, order) and its own name. Receiving alone can have several
kinds — "Receiving from supplier," "Receiving return," "Receiving free of
charge" — the system tells them apart by operation name, but processes them
all with the same direction logic.

A return isn't a separate document type. A return from a customer is
entered as an ordinary receiving document with the operation "Return"; a
return to a supplier is an ordinary expenditure document with the operation
"Return to supplier." There's no separate "Return" form — the document's
meaning is entirely defined by the operation chosen in its header, not by
which form created it.

Catalog of directions

Discount and stock correction are also separate operations in the same
reference, but aren't covered by a dedicated page here (discount is a price
change with no goods movement; correction is a direct "was/became" edit of a
warehouse lot, used rarely, to bring the database in line with reality after
a stocktake).

Common to every type