The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.security_group_id
from per_business_groups pbg
, pqh_de_ent_minutes etm
where etm.ent_minutes_id = p_ent_minutes_id
and pbg.business_group_id = etm.business_group_id;
select pbg.legislation_code
from per_business_groups pbg
, pqh_de_ent_minutes etm
where etm.ent_minutes_id = p_ent_minutes_id
and pbg.business_group_id (+) = etm.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in pqh_etm_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
Select '1'
from hr_lookups
Where LOOKUP_TYPE = 'DE_PQH_TARIFF_GROUP_TYPE'
AND LOOKUP_CODE = p_rec.Tariff_group_CD;
Select '1'
from PQH_DE_ENT_MINUTES
Where DESCRIPTION = p_rec.DESCRIPTION
and Business_group_id = p_rec.Business_group_id ;
Select '1'
from PQH_DE_ENT_MINUTES
Where ENT_MINUTES_CD = p_rec.ENT_MINUTES_CD
AND Tariff_group_CD = p_rec.Tariff_group_CD;
Procedure insert_validate
(p_effective_date in date
,p_rec in pqh_etm_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 pqh_etm_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 pqh_etm_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;