Skip to content

feat(procurement): canonical consolidation for suppliers, PO lifecycle, and GRN#24

Merged
rmak78 merged 1 commit intomainfrom
canon/procurement-pr13-pr17
Feb 27, 2026
Merged

feat(procurement): canonical consolidation for suppliers, PO lifecycle, and GRN#24
rmak78 merged 1 commit intomainfrom
canon/procurement-pr13-pr17

Conversation

@rmak78
Copy link
Owner

@rmak78 rmak78 commented Feb 27, 2026

Summary

This PR creates a single canonical procurement implementation that supersedes overlapping work in #13 and #17.

Included

  • Supplier + PO + GRN baseline from the procurement track
  • Supplier payment terms extension (payment_terms_note)
  • PO lifecycle transition endpoint: POST /v1/purchase-orders/transition
  • PO status summary endpoint: GET /v1/purchase-orders/summary
  • PO status event logging table: purchase_order_status_events
  • Clean migration numbering by adding 0008_procurement_po_lifecycle.sql on top of 0007

Supersedes

Validation

  • npx wrangler deploy --dry-run

Notes

  • No duplicate procurement tables or duplicate procurement endpoints were introduced in this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants