The following lines contain the word 'select', 'insert', 'update' or 'delete':
select tmp.legislation_code
from hr_form_templates_b tmp
,hr_template_items_b tim
,hr_template_item_tab_pages tip
where tmp.form_template_id = tim.form_template_id
and tim.template_item_id = tip.template_item_id
and tip.template_item_tab_page_id = p_template_item_tab_page_id;
Procedure chk_non_updateable_args
(p_rec in hr_tip_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select tim.form_template_id
from hr_template_items_b tim
where tim.template_item_id = p_template_item_id;
select twn.form_template_id
from hr_template_windows_b twn
,hr_template_canvases_b tcn
,hr_template_tab_pages_b ttp
where twn.template_window_id = tcn.template_window_id
and tcn.template_canvas_id = ttp.template_canvas_id
and ttp.template_tab_page_id = p_template_tab_page_id;
select null
from hr_template_tab_pages_b ttp
,hr_form_tab_stacked_canvases fs2
,hr_form_tab_stacked_canvases fs1
,hr_form_items_b fim
,hr_template_items_b tim
where p_template_tab_page_id = ttp.template_tab_page_id
and ttp.form_tab_page_id = fs2.form_tab_page_id
and fs2.form_canvas_id = fs1.form_canvas_id
and fs1.form_tab_page_id = fim.form_tab_page_id
and fim.form_item_id = tim.form_item_id
and tim.template_item_id = p_template_item_id;
Procedure chk_delete
(p_rec in hr_tip_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'chk_delete';
End chk_delete;
Procedure insert_validate
(p_rec in hr_tip_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_rec in hr_tip_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 hr_tip_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
chk_delete
(p_rec => p_rec
);
End delete_validate;