You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add balance reconciliation from transaction source
This commit adds a self-healing reconciliation mechanism for balances:
- Implement database trigger to detect reconciliation flag in metadata
- Recalculate debit and credit balances from transaction history
- Support automatic recalculation when 'BLNK_RUN_RECONCILIATION' flag is set
- Store reconciliation results in metadata with before/after values
- Handle both precise_amount and amount fields for maximum compatibility