Move business logic out of App Router into module packages, add boundary validation scripts, and keep all routes as thin re-exports without changing URLs or API behavior.
Co-authored-by: Cursor <cursoragent@cursor.com>
Goods receipts and warehouse receipts now capture party vs warehouse separately; purchase returns link to invoices and reduce AP.
Co-authored-by: Cursor <cursoragent@cursor.com>