How stock moves
Stock quantities change only through documents. Every document is a header (date, location, reason or reference, who raised it) plus numbered lines (material, batch, quantity, note). A draft can be edited freely; posting moves the stock; and every status change is recorded in the audit trail.
The documents
| Document | Number | Statuses | Effect on stock |
|---|---|---|---|
| Purchase order | PO- | Draft → (Pending approval → Approved) → Sent → Partially received → Received → Closed; or Cancelled | None — it is an order |
| Goods receipt | GRN- | Draft → Posted; or Cancelled | In — the accepted quantity, at the discounted base-unit cost; shelf-life expiry applied where a date is not given |
| Goods issue | ISS- | Draft → Posted; or Cancelled | Out |
| Return | RTN- | Draft → Posted; or Cancelled | Out to a supplier, or back in from a customer (good or damaged) |
| Adjustment | ADJ- | Pending → Approved or Rejected | In or out per line |
| Transfer | TRN- | Pending → In transit → Completed; or Cancelled | Out on dispatch, in on receive; a short receipt is written off. Cancelling an in-transit transfer puts the stock back |
| Stock count | CNT- | Counting → Submitted → Approved, or sent back to counting; or Cancelled | Through one approved adjustment for the differences |
Units
A material has a base unit — kilograms, pieces, litres … — and optionally purchase units with a conversion factor (a box that holds 12 pieces). Purchase-order and receipt lines carry the unit and factor, but stock is always kept in the base unit.
Batches and expiry
A material can be tracked by batch / lot, with made and expiry dates. When Block expired batches is on in Settings, an expired batch cannot be issued or reserved; it can still be written off or returned. Expiry dates can be filled in automatically from the material's shelf life.
Approvals
- Purchase orders — approval applies only when PO approval is on and the order's total reaches the Approval from total threshold.
- Adjustments and stock counts — need approval by someone other than the person who raised them, unless Self-approval is allowed.
Currency
Amounts use the currency set in Settings (Default currency), falling back to the deployment default.
Emails
Documents raise emails — to approvers, buyers, suppliers, customers or store teams — through a queue that survives a failed delivery; see Settings → Notifications and Activity → Outbox Events.