corrected column names in get_account_id function for consistency

This commit is contained in:
Peter Wood
2025-03-06 07:32:18 -05:00
parent 2b863ea758
commit b6a6ca3b38

View File

@@ -20,8 +20,8 @@ select acct.acct_id
into _account_id into _account_id
from public.accounts acct from public.accounts acct
where where
lower(acct.bank_name) = lower(p_bank_name) lower(acct.acct_bank_name) = lower(p_bank_name)
and lower(acct.account_number) = lower(p_bank_account_number); and lower(acct.acct_number) = lower(p_bank_account_number);
raise notice 'RETURN VALUE: _account_id = %', _account_id; raise notice 'RETURN VALUE: _account_id = %', _account_id;