{"route":"/api/trade-core/erp/decision-center/kpi-actions","ok":true,"success":true,"canonical":true,"version":"codex709-executive-decision-center-v2","marker":"CODEX709_EXECUTIVE_DECISION_CENTER","routeOwner":"backend/server.js","frontendRoot":"frontend/app","frontendRoute":"/erp/decision-center","readOnly":true,"dbSelectOnly":true,"noDbMutation":true,"noDbSchemaChange":true,"noMoneyMovement":true,"noSchedulerEnablement":true,"noTradeCorePatch":true,"reusedFoundations":[{"code":"CODEX702","label":"Executive dashboards","route":"/api/trade-core/erp/executive-dashboards/readiness"},{"code":"CODEX703","label":"BI KPIs","route":"/api/trade-core/erp/bi/kpis"},{"code":"CODEX706","label":"Risk and hardening","route":"/api/trade-core/erp/final-hardening/route-collision-guard/readiness"},{"code":"CODEX707","label":"Notifications","route":"/api/trade-core/erp/notifications/readiness"}],"generatedAt":"2026-07-17T06:47:36.269Z","dbBacked":true,"limit":10,"status":"DECISION_CENTER_READY","summary":{"tableCount":17,"existingTableCount":17,"rowCountTotal":827,"warningCount":0},"tableReadbacks":[{"table":"trade_orders","exists":true,"status":"READY","rowCount":198},{"table":"trade_wallet_ledger","exists":true,"status":"READY","rowCount":123},{"table":"erp_payouts","exists":true,"status":"READY","rowCount":5},{"table":"erp_receipts","exists":true,"status":"READY","rowCount":7},{"table":"trade_inventory_snapshots","exists":true,"status":"READY","rowCount":1},{"table":"erp_purchase_orders","exists":true,"status":"READY","rowCount":27},{"table":"erp_purchase_receipts","exists":true,"status":"READY","rowCount":25},{"table":"erp_vendor_quotations","exists":true,"status":"READY","rowCount":25},{"table":"erp_invoices","exists":true,"status":"READY","rowCount":41},{"table":"erp_journal_headers","exists":true,"status":"READY","rowCount":43},{"table":"erp_journal_lines","exists":true,"status":"READY","rowCount":97},{"table":"erp_production_orders","exists":true,"status":"READY","rowCount":101},{"table":"erp_production_batches","exists":true,"status":"READY","rowCount":4},{"table":"erp_production_qc_events","exists":true,"status":"READY","rowCount":7},{"table":"trade_activity_log","exists":true,"status":"READY","rowCount":77},{"table":"trade_notifications","exists":true,"status":"READY","rowCount":34},{"table":"erp_sales_lifecycle_events","exists":true,"status":"READY","rowCount":12}],"kpiActions":[{"id":"cash-margin","owner":"CFO","priority":"HIGH","action":"Review cash, margin, payout, and receipt audit posture","sourceRoute":"/api/trade-core/erp/bi/kpis","state":"READY"},{"id":"delivery-exceptions","owner":"COO","priority":"HIGH","action":"Track delivery, inventory, warehouse, and production exception lanes","sourceRoute":"/api/trade-core/erp/executive-dashboards/readiness","state":"WATCH"}]}