DBA Data[Home] [Help]

APPS.GHR_NRE_UPD dependencies on GHR_NRE_SHD

Line 48: Procedure update_dml(p_rec in out ghr_nre_shd.g_rec_type) is

44: -- Internal Row Handler Use Only.
45: --
46: -- {End Of Comments}
47: -- ----------------------------------------------------------------------------
48: Procedure update_dml(p_rec in out ghr_nre_shd.g_rec_type) is
49: --
50: l_proc varchar2(72) := g_package||'update_dml';
51: --
52: Begin

Line 80: ghr_nre_shd.constraint_error

76: --
77: Exception
78: When hr_api.check_integrity_violated Then
79: -- A check constraint has been violated
80: ghr_nre_shd.constraint_error
81: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
82: When hr_api.parent_integrity_violated Then
83: -- Parent integrity has been violated
84: ghr_nre_shd.constraint_error

Line 84: ghr_nre_shd.constraint_error

80: ghr_nre_shd.constraint_error
81: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
82: When hr_api.parent_integrity_violated Then
83: -- Parent integrity has been violated
84: ghr_nre_shd.constraint_error
85: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
86: When hr_api.unique_integrity_violated Then
87: -- Unique integrity has been violated
88: ghr_nre_shd.constraint_error

Line 88: ghr_nre_shd.constraint_error

84: ghr_nre_shd.constraint_error
85: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
86: When hr_api.unique_integrity_violated Then
87: -- Unique integrity has been violated
88: ghr_nre_shd.constraint_error
89: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
90: When Others Then
91: Raise;
92: End update_dml;

Line 126: Procedure pre_update(p_rec in ghr_nre_shd.g_rec_type) is

122: -- Internal Row Handler Use Only.
123: --
124: -- {End Of Comments}
125: -- ----------------------------------------------------------------------------
126: Procedure pre_update(p_rec in ghr_nre_shd.g_rec_type) is
127: --
128: l_proc varchar2(72) := g_package||'pre_update';
129: --
130: Begin

Line 169: p_effective_date in date,p_rec in ghr_nre_shd.g_rec_type) is

165: --
166: -- {End Of Comments}
167: -- ----------------------------------------------------------------------------
168: Procedure post_update(
169: p_effective_date in date,p_rec in ghr_nre_shd.g_rec_type) is
170: --
171: l_proc varchar2(72) := g_package||'post_update';
172: --
173: Begin

Line 192: ,p_nature_of_action_id_o =>ghr_nre_shd.g_old_rec.nature_of_action_id

188: ,p_date_from =>p_rec.date_from
189: ,p_date_to =>p_rec.date_to
190: ,p_object_version_number =>p_rec.object_version_number
191: ,p_effective_date =>p_effective_date
192: ,p_nature_of_action_id_o =>ghr_nre_shd.g_old_rec.nature_of_action_id
193: ,p_remark_id_o =>ghr_nre_shd.g_old_rec.remark_id
194: ,p_required_flag_o =>ghr_nre_shd.g_old_rec.required_flag
195: ,p_enabled_flag_o =>ghr_nre_shd.g_old_rec.enabled_flag
196: ,p_date_from_o =>ghr_nre_shd.g_old_rec.date_from

Line 193: ,p_remark_id_o =>ghr_nre_shd.g_old_rec.remark_id

189: ,p_date_to =>p_rec.date_to
190: ,p_object_version_number =>p_rec.object_version_number
191: ,p_effective_date =>p_effective_date
192: ,p_nature_of_action_id_o =>ghr_nre_shd.g_old_rec.nature_of_action_id
193: ,p_remark_id_o =>ghr_nre_shd.g_old_rec.remark_id
194: ,p_required_flag_o =>ghr_nre_shd.g_old_rec.required_flag
195: ,p_enabled_flag_o =>ghr_nre_shd.g_old_rec.enabled_flag
196: ,p_date_from_o =>ghr_nre_shd.g_old_rec.date_from
197: ,p_date_to_o =>ghr_nre_shd.g_old_rec.date_to

Line 194: ,p_required_flag_o =>ghr_nre_shd.g_old_rec.required_flag

190: ,p_object_version_number =>p_rec.object_version_number
191: ,p_effective_date =>p_effective_date
192: ,p_nature_of_action_id_o =>ghr_nre_shd.g_old_rec.nature_of_action_id
193: ,p_remark_id_o =>ghr_nre_shd.g_old_rec.remark_id
194: ,p_required_flag_o =>ghr_nre_shd.g_old_rec.required_flag
195: ,p_enabled_flag_o =>ghr_nre_shd.g_old_rec.enabled_flag
196: ,p_date_from_o =>ghr_nre_shd.g_old_rec.date_from
197: ,p_date_to_o =>ghr_nre_shd.g_old_rec.date_to
198: ,p_object_version_number_o =>ghr_nre_shd.g_old_rec.object_version_number

Line 195: ,p_enabled_flag_o =>ghr_nre_shd.g_old_rec.enabled_flag

191: ,p_effective_date =>p_effective_date
192: ,p_nature_of_action_id_o =>ghr_nre_shd.g_old_rec.nature_of_action_id
193: ,p_remark_id_o =>ghr_nre_shd.g_old_rec.remark_id
194: ,p_required_flag_o =>ghr_nre_shd.g_old_rec.required_flag
195: ,p_enabled_flag_o =>ghr_nre_shd.g_old_rec.enabled_flag
196: ,p_date_from_o =>ghr_nre_shd.g_old_rec.date_from
197: ,p_date_to_o =>ghr_nre_shd.g_old_rec.date_to
198: ,p_object_version_number_o =>ghr_nre_shd.g_old_rec.object_version_number
199: );

Line 196: ,p_date_from_o =>ghr_nre_shd.g_old_rec.date_from

192: ,p_nature_of_action_id_o =>ghr_nre_shd.g_old_rec.nature_of_action_id
193: ,p_remark_id_o =>ghr_nre_shd.g_old_rec.remark_id
194: ,p_required_flag_o =>ghr_nre_shd.g_old_rec.required_flag
195: ,p_enabled_flag_o =>ghr_nre_shd.g_old_rec.enabled_flag
196: ,p_date_from_o =>ghr_nre_shd.g_old_rec.date_from
197: ,p_date_to_o =>ghr_nre_shd.g_old_rec.date_to
198: ,p_object_version_number_o =>ghr_nre_shd.g_old_rec.object_version_number
199: );
200: --

Line 197: ,p_date_to_o =>ghr_nre_shd.g_old_rec.date_to

193: ,p_remark_id_o =>ghr_nre_shd.g_old_rec.remark_id
194: ,p_required_flag_o =>ghr_nre_shd.g_old_rec.required_flag
195: ,p_enabled_flag_o =>ghr_nre_shd.g_old_rec.enabled_flag
196: ,p_date_from_o =>ghr_nre_shd.g_old_rec.date_from
197: ,p_date_to_o =>ghr_nre_shd.g_old_rec.date_to
198: ,p_object_version_number_o =>ghr_nre_shd.g_old_rec.object_version_number
199: );
200: --
201: exception

Line 198: ,p_object_version_number_o =>ghr_nre_shd.g_old_rec.object_version_number

194: ,p_required_flag_o =>ghr_nre_shd.g_old_rec.required_flag
195: ,p_enabled_flag_o =>ghr_nre_shd.g_old_rec.enabled_flag
196: ,p_date_from_o =>ghr_nre_shd.g_old_rec.date_from
197: ,p_date_to_o =>ghr_nre_shd.g_old_rec.date_to
198: ,p_object_version_number_o =>ghr_nre_shd.g_old_rec.object_version_number
199: );
200: --
201: exception
202: --

Line 260: Procedure convert_defs(p_rec in out ghr_nre_shd.g_rec_type) is

256: -- Internal Row Handler Use Only.
257: --
258: -- {End Of Comments}
259: -- ----------------------------------------------------------------------------
260: Procedure convert_defs(p_rec in out ghr_nre_shd.g_rec_type) is
261: --
262: l_proc varchar2(72) := g_package||'convert_defs';
263: --
264: Begin

Line 275: ghr_nre_shd.g_old_rec.nature_of_action_id;

271: -- is being used then we must set to the 'current' argument value.
272: --
273: If (p_rec.nature_of_action_id = hr_api.g_number) then
274: p_rec.nature_of_action_id :=
275: ghr_nre_shd.g_old_rec.nature_of_action_id;
276: End If;
277: If (p_rec.remark_id = hr_api.g_number) then
278: p_rec.remark_id :=
279: ghr_nre_shd.g_old_rec.remark_id;

Line 279: ghr_nre_shd.g_old_rec.remark_id;

275: ghr_nre_shd.g_old_rec.nature_of_action_id;
276: End If;
277: If (p_rec.remark_id = hr_api.g_number) then
278: p_rec.remark_id :=
279: ghr_nre_shd.g_old_rec.remark_id;
280: End If;
281: If (p_rec.required_flag = hr_api.g_varchar2) then
282: p_rec.required_flag :=
283: ghr_nre_shd.g_old_rec.required_flag;

Line 283: ghr_nre_shd.g_old_rec.required_flag;

279: ghr_nre_shd.g_old_rec.remark_id;
280: End If;
281: If (p_rec.required_flag = hr_api.g_varchar2) then
282: p_rec.required_flag :=
283: ghr_nre_shd.g_old_rec.required_flag;
284: End If;
285: If (p_rec.enabled_flag = hr_api.g_varchar2) then
286: p_rec.enabled_flag :=
287: ghr_nre_shd.g_old_rec.enabled_flag;

Line 287: ghr_nre_shd.g_old_rec.enabled_flag;

283: ghr_nre_shd.g_old_rec.required_flag;
284: End If;
285: If (p_rec.enabled_flag = hr_api.g_varchar2) then
286: p_rec.enabled_flag :=
287: ghr_nre_shd.g_old_rec.enabled_flag;
288: End If;
289: If (p_rec.date_from = hr_api.g_date) then
290: p_rec.date_from :=
291: ghr_nre_shd.g_old_rec.date_from;

Line 291: ghr_nre_shd.g_old_rec.date_from;

287: ghr_nre_shd.g_old_rec.enabled_flag;
288: End If;
289: If (p_rec.date_from = hr_api.g_date) then
290: p_rec.date_from :=
291: ghr_nre_shd.g_old_rec.date_from;
292: End If;
293: If (p_rec.date_to = hr_api.g_date) then
294: p_rec.date_to :=
295: ghr_nre_shd.g_old_rec.date_to;

Line 295: ghr_nre_shd.g_old_rec.date_to;

291: ghr_nre_shd.g_old_rec.date_from;
292: End If;
293: If (p_rec.date_to = hr_api.g_date) then
294: p_rec.date_to :=
295: ghr_nre_shd.g_old_rec.date_to;
296: End If;
297:
298: --
299: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 309: p_rec in out ghr_nre_shd.g_rec_type

305: -- ----------------------------------------------------------------------------
306: Procedure upd
307: (
308: p_effective_date in date,
309: p_rec in out ghr_nre_shd.g_rec_type
310: ) is
311: --
312: l_proc varchar2(72) := g_package||'upd';
313: --

Line 319: ghr_nre_shd.lck

315: hr_utility.set_location('Entering:'||l_proc, 5);
316: --
317: -- We must lock the row which we need to update.
318: --
319: ghr_nre_shd.lck
320: (
321: p_rec.noac_remark_id,
322: p_rec.object_version_number
323: );

Line 365: l_rec ghr_nre_shd.g_rec_type;

361: p_date_to in date default hr_api.g_date,
362: p_object_version_number in out number
363: ) is
364: --
365: l_rec ghr_nre_shd.g_rec_type;
366: l_proc varchar2(72) := g_package||'upd';
367: --
368: Begin
369: hr_utility.set_location('Entering:'||l_proc, 5);

Line 375: ghr_nre_shd.convert_args

371: -- Call conversion function to turn arguments into the
372: -- l_rec structure.
373: --
374: l_rec :=
375: ghr_nre_shd.convert_args
376: (
377: p_noac_remark_id,
378: p_nature_of_action_id,
379: p_remark_id,