سامانه صدور فاکتور و حسابداری
fix: declare legacy source guard lock variable
davoodmehraban89 committed
Nov 17, 2026 at 17:28 UTC
1c1f6a1744d8df3cf1a7f69aed6c8b22bb56bbf6
1 file changed
+1
supabase/migrations/20261117120000_wp1_stage3_canonical_source_link_projection.sql
+1
@@ -94,6 +94,7 @@ DECLARE
94
voucher_status text := '';
95
v_voucher public.records%rowtype;
96
v_effective_status text;
97
+ source_locked boolean := false;
98
v_projection_keys text[] := ARRAY[
99
'journalVoucherId','accountingStatus','accountingPostedAt',
100
'documentStatus','documentPostedAt','documentPostedBy',