65: p_rec.object_version_number := 1; -- Initialise the object version
66: --
67: hxc_dru_shd.g_api_dml := true; -- Set the api dml status
68: --
69: -- Insert the row into: hxc_data_app_rule_usages
70: --
71: insert into hxc_data_app_rule_usages
72: (data_app_rule_usage_id
73: ,approval_style_id
67: hxc_dru_shd.g_api_dml := true; -- Set the api dml status
68: --
69: -- Insert the row into: hxc_data_app_rule_usages
70: --
71: insert into hxc_data_app_rule_usages
72: (data_app_rule_usage_id
73: ,approval_style_id
74: ,time_entry_rule_id
75: ,time_recipient_id
162: ) is
163: --
164: l_proc varchar2(72);
165: --
166: Cursor C_Sel1 is select hxc_data_app_rule_usages_s.nextval from sys.dual;
167: --
168: Begin
169: if g_debug then
170: l_proc := g_package||'pre_insert';
247: --
248: when hr_api.cannot_find_prog_unit then
249: --
250: hr_api.cannot_find_prog_unit_error
251: (p_module_name => 'HXC_DATA_APP_RULE_USAGES'
252: ,p_hook_type => 'AI');
253: --
254: end;
255: --