Jakob Wennberg
6a40b3c0ef
fix(inbox): name the FK in the underlag lock-state embed so locked items classify ( #1548 ) ( #2022 )
...
fiscal_periods carries two FKs back to journal_entries (closing_entry_id, opening_balance_entry_id), so the bare fiscal_periods(...) embed in resolveUnderlagAnchoring is ambiguous on prod and every lock-state read failed on the first underlag-reconcile cron run: 34 locked-period items were treated as retryable and hit the period-lock trigger daily. The embed now names journal_entries_fiscal_period_id_fkey (same hint the MCP server uses) and the exact select string is pinned in the unit test, since mocks cannot see PostgREST ambiguity. Follow-up to #2012 (issue #1548 ).
2026-08-31 10:16:21 +01:00
..
2026-08-31 09:13:39 +01:00
2026-08-24 16:37:30 +02:00
2026-08-30 23:52:29 +02:00
2026-08-24 16:37:30 +02:00
2026-08-28 18:57:02 +02:00
2026-08-19 19:52:31 +02:00
2026-08-31 08:39:04 +01:00
2026-07-27 14:39:13 +02:00
2026-08-31 09:13:39 +01:00
2026-07-07 01:14:59 +02:00
2026-08-30 11:22:05 +02:00
2026-08-30 15:12:37 +02:00
2026-08-27 18:32:52 +02:00
2026-07-27 03:34:56 +02:00
2026-08-26 16:56:39 +02:00
2026-08-24 16:32:44 +02:00
2026-08-30 11:23:15 +02:00
2026-08-26 16:56:39 +02:00
2026-08-28 17:38:36 +02:00
2026-08-03 16:30:14 +02:00
2026-08-30 11:55:42 +02:00
2026-07-27 03:34:56 +02:00
2026-08-21 18:32:17 +02:00
2026-08-26 15:14:49 +02:00
2026-07-17 15:48:25 +02:00
2026-08-31 08:39:04 +01:00
2026-08-30 23:52:29 +02:00
2026-08-25 19:55:53 +02:00
2026-08-30 20:21:16 +02:00
2026-08-26 16:56:39 +02:00
2026-08-19 19:52:31 +02:00
2026-08-31 09:25:55 +01:00
2026-08-27 17:45:40 +02:00
2026-06-17 14:38:44 +02:00
2026-08-30 11:54:47 +02:00
2026-08-20 19:39:08 +02:00
2026-04-22 18:14:01 +02:00
2026-08-27 14:34:02 +02:00
2026-08-13 15:39:49 +02:00
2026-08-30 21:43:19 +02:00
2026-08-11 14:23:58 +02:00
2026-08-21 12:19:35 +02:00
2026-08-12 21:07:57 +02:00
2026-08-26 14:02:09 +02:00
2026-08-25 12:09:20 +02:00
2026-07-27 03:34:56 +02:00
2026-08-08 15:14:34 +02:00
2026-08-14 12:25:23 +02:00
2026-08-10 14:04:08 +02:00
2026-08-27 22:24:36 +02:00
2026-08-30 11:22:05 +02:00
2026-08-31 08:39:04 +01:00
2026-08-13 00:49:20 +02:00
2026-08-31 09:27:31 +01:00
2026-07-04 15:58:06 +02:00
2026-08-30 23:52:29 +02:00
2026-08-30 11:56:15 +02:00
2026-08-28 12:12:47 +02:00
2026-08-30 11:22:05 +02:00
2026-08-30 21:43:23 +02:00
2026-07-28 18:55:16 +02:00
2026-08-25 14:25:00 +02:00
2026-08-09 12:44:08 +02:00
2026-08-30 20:21:16 +02:00
2026-08-18 09:50:48 +02:00
2026-08-17 14:52:50 +02:00
2026-08-26 12:32:29 +02:00
2026-08-18 17:22:52 +02:00
2026-08-01 16:02:12 +02:00
2026-08-31 10:16:21 +01:00
2026-07-23 21:29:36 +02:00
2026-08-28 17:22:38 +02:00
2026-08-26 13:34:27 +02:00
2026-08-25 21:04:06 +02:00
2026-08-26 14:02:09 +02:00
2026-08-17 14:30:25 +02:00
2026-08-21 12:45:11 +02:00
2026-07-27 03:34:56 +02:00
2026-08-14 02:22:07 +02:00
2026-07-04 15:58:06 +02:00
2026-08-31 09:13:39 +01:00