[Home] [Help]
The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.security_group_id
from per_business_groups pbg
, pay_batch_headers bth
where bth.batch_id = p_batch_id
and pbg.business_group_id = bth.business_group_id;
select pbg.legislation_code
from per_business_groups pbg
, pay_batch_headers bth
where bth.batch_id = p_batch_id
and pbg.business_group_id = bth.business_group_id;
Procedure chk_non_updateable_args
(p_rec in pay_bth_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select pbh.batch_status
from pay_batch_headers pbh
where pbh.batch_id = p_batch_id;
procedure chk_delete
(p_batch_id in pay_batch_headers.batch_id%TYPE
) is
--
l_proc varchar2(72) := g_package||'chk_delete';
select null
from pay_batch_lines btl
where btl.batch_id = p_batch_id;
select null
from pay_batch_control_totals bct
where bct.batch_id = p_batch_id;
select null
from pay_message_lines pml
where pml.source_id = p_batch_id
and pml.source_type = 'H';
end chk_delete;
Procedure insert_validate
(p_session_date in date,
p_rec in pay_bth_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_session_date in date,
p_rec in pay_bth_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_validate';
chk_non_updateable_args
(p_rec => p_rec
);
End update_validate;
Procedure delete_validate
(p_rec in pay_bth_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
chk_delete(p_batch_id => p_rec.batch_id);
End delete_validate;