Factory console: ERPNext link page and ERPNext documents on orders
Deploy test site / deploy (push) Successful in 45s

Follows the decision that the whole plant runs ERPNext and every tool
we build interacts with it (e12ad2e).

- New page #erp (nav: ERPNext): every posting the floor makes, derived
  from the same event log: sales orders in by webhook, work orders,
  job cards per station, serial numbers for lacquers, fathers and
  mothers (warehouse Archive), purchase receipts, quality inspections
  and stock entries per compound batch, manufacture entries per run,
  downtime entries per stop, delivery notes and invoices. Outbox status
  per row (sent within a minute, held during the nightly backup
  01:00 to 01:15), KPIs, who-owns-what table, counts by document type.
  Rows use fixed ch grid columns; on phones a two-line row.
- Order page: ERPNext card (customer, sales order, work order with
  produced quantity, job cards completed, batches, delivery note and
  invoice). Work order page: its job card, quality inspection or asset
  maintenance log.
- Names follow ERPNext's default naming series and are simulated;
  nothing uses the simulation's random stream, so the seed is unchanged.
- Phones: the nav strip scrolls the current tab into view. Work order
  IDs on the order page no longer wrap (wider fixed column).

digital-factory.md demo paragraph. Checked: node --check, Edge dark and
light at 1440/1024/390 (no overflow, no page errors, rows aligned), and
the pw_fc, pw_wo and pw_feed regressions.
This commit is contained in:
grabowski committed 2026-10-16 11:37:10 +07:00
1 parent e12ad2ed7b
commit a101c9f7db
2 files changed
+89 -6

No files matched your search

+4
View File
@@ -521,6 +521,10 @@ simulated plant day: the press floor with live counters per press, work
orders per station in the kiosk form described below (badge in, scan
what the step asks for, confirm), the optical inspection stream, audio samples, the material lab gate with a
lot on hold, stamper metrology and genealogy, the hash-chained event log,
the ERPNext link (every posting the floor makes: sales orders in by
webhook, job cards, batches and quality inspections, stock entries,
downtime entries, delivery notes and invoices, through the outbox, with
the ERPNext documents on each order and work order),
and the customer portal of the same orders (progress through the three
gates, copies pressed so far, the lab certificate of the compound lot,
listening checks). All orders, values and IDs are simulated; limits are