Skip to content

Suppliers & Procurement

Suppliers in Fexl Lite is the running list of every vendor you buy from, paired with one number per row that tells you exactly where you stand: do you owe them, do they owe you, or are you square. Behind that simple list sits the procurement chain — purchase orders, landed-cost extras, receive-to-stock — and a payment ledger that posts to AP (2010) on every move.

Updated 4 May 2026·For v2.2.0·5 min read #36 v1.6.100
Procurement → Suppliers tab — four supplier rows with Owe (red) and Settled (zinc) balance pills, Suppliers / Purchase Orders sub-tabs, and an Add Supplier button

What’s on the Suppliers page

Each row is one vendor, with five columns:

  • Company — the supplier’s name, prefixed with a cyan circle initial. Click anywhere on the row to open detail.
  • Contact — the named individual you deal with, if you set one. Falls back to .
  • Email and Phone — separate columns; emails truncate at 200px to keep the row tidy.
  • Balance — a coloured pill that’s the only number you actually need to read on this page:
    • Red Owe <amount> — you owe the supplier. Net of opening balance plus everything posted as type='owed' minus everything paid.
    • Green Credit <amount> — the supplier owes you (you over-paid, or they reversed a charge).
    • Zinc Settled — exactly zero.

Above the table sits a search box (matches name, contact, email, or phone) and an Archived toggle. Archived suppliers are soft-deleted: the records stay in the database for historical PO and payment lookups, they just hide from the live list.

The row’s overflow menu carries View History, Record Payment (permission-gated on suppliers:manage_payments), Edit, and Archive. On mobile the table collapses to cards with the same actions on a per-card menu.

Supplier detail

Open a row to land on the detail page. Three tabs:

  • Overview — opening balance, contact info, the running balance card, and quick Record Payment / Record Owed buttons.
  • Payment History — every supplier_payments row in reverse chronological order. Each row shows type (paid/owed), amount, payment method, optional product/variant link (when the payment was tied to a restock), and free-text notes.
  • Purchase Orders — every PO raised against this supplier with status, date, total landed cost, and a click-through to the PO detail page.

The Restock from this supplier button on the Overview tab jumps straight to a new PO pre-filled with the supplier picked. Use it when you’re starting from “I just got a delivery from Hassan’s distributor” rather than “I need to order something.”

Procurement at a glance

Three flows touch suppliers, in roughly increasing weight:

What posts to the books

Every supplier event writes a journal entry. The codes match the seeded chart of accounts (see Chart of accounts).

  • Owed posted (manual or via PO receive) — DR 1200 Inventory, CR 2010 AP.
  • Payment to supplier — DR 2010 AP, CR cash sub-account (1010-xxx) that the active shift is tied to.
  • PO received with no supplier (rare; cash purchase from petty) — DR 1200 Inventory, CR 3010 Owner’s Equity.
  • PO voided — reverses the original ingress with a CR to 1200 and a DR to whichever account took the credit on receive (2010 or 3010), and zeros the FIFO qty_remaining for the layer so future sales skip it.

Deep dives