8: begin
9: if hr_general.g_data_migrator_mode <> 'Y' then
10: if inserting or updating then
11: if (:new.external_account_id is not null) then
12: status := hr_payments.check_account(to_char(:new.external_account_id),
13: to_char(:new.payment_type_id));
14: end if;
15: status := hr_payments.check_currency(to_char(:new.payment_type_id),
16: :new.currency_code);
11: if (:new.external_account_id is not null) then
12: status := hr_payments.check_account(to_char(:new.external_account_id),
13: to_char(:new.payment_type_id));
14: end if;
15: status := hr_payments.check_currency(to_char(:new.payment_type_id),
16: :new.currency_code);
17: end if;
18: --
19: end if;