289: where defined_balance_id = def_balance;
290: --
291: select pbt.currency_code
292: into bal_currency
293: from pay_balance_types pbt
294: where balance_type_id = bal_type;
295: --
296: if opm_currency <> bal_currency then
297: fnd_message.set_name('PAY','HR_7132_PAY_ORG_PAY_CURRENCY');
332: hr_utility.set_location('HR_PAYMENTS.GEN_BALANCE',1);
333: --
334: select pdb.defined_balance_id
335: into defined_balance
336: from pay_balance_types pbt,
337: pay_balance_dimensions pbd,
338: pay_defined_balances pdb
339: where pdb.legislation_code = leg_code
340: and pdb.business_group_id is null