The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.security_group_id
from per_business_groups pbg
, ota_cross_charges tcc
where tcc.cross_charge_id = p_cross_charge_id
and pbg.business_group_id = tcc.business_group_id;
select pbg.legislation_code
from per_business_groups pbg
, ota_cross_charges tcc
where tcc.cross_charge_id = p_cross_charge_id
and pbg.business_group_id = tcc.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in ota_tcc_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
SELECT null
FROM OTA_CROSS_CHARGES
WHERE cross_charge_id <> nvl(p_cross_charge_id,0) and
Business_group_id = p_business_group_id and
gl_Set_of_books_id = p_gl_set_of_books_id and
From_to = p_from_to and
type = p_type and
(p_start_date_active between start_date_active and nvl(end_date_active, hr_api.g_eot) or
nvl(p_end_date_active,hr_api.g_eot) between start_date_active and nvl(end_date_active, hr_api.g_eot));
Procedure insert_validate
(p_effective_date in date
,p_rec in ota_tcc_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_effective_date in date
,p_rec in ota_tcc_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_validate';
chk_non_updateable_args
(p_effective_date => p_effective_date
,p_rec => p_rec
);
End update_validate;
Procedure delete_validate
(p_rec in ota_tcc_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;