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
refactor(OUT-3617): remove undepositedFundsAccountRef column and caching
Undeposited Funds is a QBO system account that always exists and cannot
be deleted. Caching its ID in qb_portal_connections was unnecessary.
- Add getUndepositedFundsAccountId() on IntuitAPI (live lookup by subtype)
- Call it directly in invoice.service.ts instead of checkAndUpdateAccountStatus
- Remove undepositedFundsAccountRef from schema, type, and all plumbing
- Remove UndepositedFunds from AccountTypeObj, updateAccountMapping, restoreAccountRef
- Reuse single IntuitAPI instance in webhookInvoicePaid
- Update migration: drop undeposited_funds_account_ref column addition
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments