MEGAINFRA-WEBAPP/docs
DEls 4a2e39be86 feat(purchase-orders): check a PO's site against its line cost codes
A PO's site was whatever the uploader or email picked, and process-batch
never re-checked it. Every MEGA PO line starts its cost code with the
project code ("C26/09, MC-SEW" is The Hills), which agreed with the filed
site on every live PO whose code is a site in the app.

After OCR, process-batch now reads those codes:
- all lines name the filed site -> confirmed
- all lines name one other site, nothing booked yet -> PO moves there and
  waiting deliveries are queued at the new site
- mixed projects, an unknown code, or receipts already booked -> flagged
  in raw_ocr_data.site_check, filed site kept
The check is never fatal: if the site list can't be read the PO is still
filed on the uploaded site.

Nellmapius Ext 25's code was corrected from 001 to C26/27 in the data;
the intake runbook is updated to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 22:59:30 +02:00
..
audits fix(dn): date deliveries by the slip and orders by the PO's order date 2026-10-11 00:35:00 +02:00
handoffs
n8n feat(purchase-orders): check a PO's site against its line cost codes 2026-11-02 22:59:30 +02:00
research fix: harden workforce, plant and financials 2026-10-19 13:18:31 +02:00
reviews feat(receiving): add Inbox 2 and strengthen duplicate checks 2026-10-12 20:20:27 +02:00
setup feat(users): welcome and password-reset emails 2026-11-02 21:39:38 +02:00
superpowers docs(dn): Inbox 3 build plan 2026-10-26 13:28:24 +02:00
api-reference.md
architecture.md
ask-architecture.md
clock-daily-exceptions-rollout.md feat(clock): pay against the real work schedule 2026-10-09 19:51:24 +02:00
cooler-env.template feat(users): welcome and password-reset emails 2026-11-02 21:39:38 +02:00
data-flows.md
data-model.md feat(site-map): PocketBase collections for models, progress and survey imports 2026-10-14 07:05:11 +02:00
map3-notes.md feat(site-map): Map 3 Progress tab showing pavement-layer progress by section 2026-10-21 05:11:08 +02:00
minimax-multi-site-audit-prompt.md
modules.md
multi-site-assessment.md
operations.md
pwa-install-verification.md
workforce-employers.md fix(workforce): let site managers add and rename employers and brokers 2026-10-19 16:33:41 +02:00