DBA Data[Home] [Help]

APPS.HR_PAE_UPD dependencies on HR_PAE_SHD

Line 54: Procedure update_dml(p_rec in out hr_pae_shd.g_rec_type) is

50: -- Internal Table Handler Use Only.
51: --
52: -- {End Of Comments}
53: -- ----------------------------------------------------------------------------
54: Procedure update_dml(p_rec in out hr_pae_shd.g_rec_type) is
55: --
56: l_proc varchar2(72) := g_package||'update_dml';
57: --
58: Begin

Line 65: hr_pae_shd.g_api_dml := true; -- Set the api dml status

61: -- Increment the object version
62: --
63: p_rec.object_version_number := p_rec.object_version_number + 1;
64: --
65: hr_pae_shd.g_api_dml := true; -- Set the api dml status
66: --
67: -- Update the hr_pattern_exceptions Row
68: --
69: update hr_pattern_exceptions

Line 78: hr_pae_shd.g_api_dml := false; -- Unset the api dml status

74: exception_category = p_rec.exception_category,
75: object_version_number = p_rec.object_version_number
76: where exception_id = p_rec.exception_id;
77: --
78: hr_pae_shd.g_api_dml := false; -- Unset the api dml status
79: --
80: hr_utility.set_location(' Leaving:'||l_proc, 10);
81: --
82: Exception

Line 85: hr_pae_shd.g_api_dml := false; -- Unset the api dml status

81: --
82: Exception
83: When hr_api.check_integrity_violated Then
84: -- A check constraint has been violated
85: hr_pae_shd.g_api_dml := false; -- Unset the api dml status
86: hr_pae_shd.constraint_error
87: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
88: When hr_api.parent_integrity_violated Then
89: -- Parent integrity has been violated

Line 86: hr_pae_shd.constraint_error

82: Exception
83: When hr_api.check_integrity_violated Then
84: -- A check constraint has been violated
85: hr_pae_shd.g_api_dml := false; -- Unset the api dml status
86: hr_pae_shd.constraint_error
87: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
88: When hr_api.parent_integrity_violated Then
89: -- Parent integrity has been violated
90: hr_pae_shd.g_api_dml := false; -- Unset the api dml status

Line 90: hr_pae_shd.g_api_dml := false; -- Unset the api dml status

86: hr_pae_shd.constraint_error
87: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
88: When hr_api.parent_integrity_violated Then
89: -- Parent integrity has been violated
90: hr_pae_shd.g_api_dml := false; -- Unset the api dml status
91: hr_pae_shd.constraint_error
92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.unique_integrity_violated Then
94: -- Unique integrity has been violated

Line 91: hr_pae_shd.constraint_error

87: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
88: When hr_api.parent_integrity_violated Then
89: -- Parent integrity has been violated
90: hr_pae_shd.g_api_dml := false; -- Unset the api dml status
91: hr_pae_shd.constraint_error
92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.unique_integrity_violated Then
94: -- Unique integrity has been violated
95: hr_pae_shd.g_api_dml := false; -- Unset the api dml status

Line 95: hr_pae_shd.g_api_dml := false; -- Unset the api dml status

91: hr_pae_shd.constraint_error
92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.unique_integrity_violated Then
94: -- Unique integrity has been violated
95: hr_pae_shd.g_api_dml := false; -- Unset the api dml status
96: hr_pae_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When Others Then
99: hr_pae_shd.g_api_dml := false; -- Unset the api dml status

Line 96: hr_pae_shd.constraint_error

92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.unique_integrity_violated Then
94: -- Unique integrity has been violated
95: hr_pae_shd.g_api_dml := false; -- Unset the api dml status
96: hr_pae_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When Others Then
99: hr_pae_shd.g_api_dml := false; -- Unset the api dml status
100: Raise;

Line 99: hr_pae_shd.g_api_dml := false; -- Unset the api dml status

95: hr_pae_shd.g_api_dml := false; -- Unset the api dml status
96: hr_pae_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When Others Then
99: hr_pae_shd.g_api_dml := false; -- Unset the api dml status
100: Raise;
101: End update_dml;
102: --
103: -- ----------------------------------------------------------------------------

Line 135: Procedure pre_update(p_rec in hr_pae_shd.g_rec_type) is

131: -- Internal Table Handler Use Only.
132: --
133: -- {End Of Comments}
134: -- ----------------------------------------------------------------------------
135: Procedure pre_update(p_rec in hr_pae_shd.g_rec_type) is
136: --
137: l_proc varchar2(72) := g_package||'pre_update';
138: --
139: Begin

Line 177: Procedure post_update(p_rec in hr_pae_shd.g_rec_type) is

173: -- Internal Table Handler Use Only.
174: --
175: -- {End Of Comments}
176: -- ----------------------------------------------------------------------------
177: Procedure post_update(p_rec in hr_pae_shd.g_rec_type) is
178: --
179: l_proc varchar2(72) := g_package||'post_update';
180: --
181: Begin

Line 231: Procedure convert_defs(p_rec in out hr_pae_shd.g_rec_type) is

227: -- Internal Table Handler Use Only.
228: --
229: -- {End Of Comments}
230: -- ----------------------------------------------------------------------------
231: Procedure convert_defs(p_rec in out hr_pae_shd.g_rec_type) is
232: --
233: l_proc varchar2(72) := g_package||'convert_defs';
234: --
235: Begin

Line 246: hr_pae_shd.g_old_rec.pattern_id;

242: -- is being used then we must set to the 'current' argument value.
243: --
244: If (p_rec.pattern_id = hr_api.g_number) then
245: p_rec.pattern_id :=
246: hr_pae_shd.g_old_rec.pattern_id;
247: End If;
248: If (p_rec.exception_name = hr_api.g_varchar2) then
249: p_rec.exception_name :=
250: hr_pae_shd.g_old_rec.exception_name;

Line 250: hr_pae_shd.g_old_rec.exception_name;

246: hr_pae_shd.g_old_rec.pattern_id;
247: End If;
248: If (p_rec.exception_name = hr_api.g_varchar2) then
249: p_rec.exception_name :=
250: hr_pae_shd.g_old_rec.exception_name;
251: End If;
252: If (p_rec.exception_start_time = hr_api.g_date) then
253: p_rec.exception_start_time :=
254: hr_pae_shd.g_old_rec.exception_start_time;

Line 254: hr_pae_shd.g_old_rec.exception_start_time;

250: hr_pae_shd.g_old_rec.exception_name;
251: End If;
252: If (p_rec.exception_start_time = hr_api.g_date) then
253: p_rec.exception_start_time :=
254: hr_pae_shd.g_old_rec.exception_start_time;
255: End If;
256: If (p_rec.exception_end_time = hr_api.g_date) then
257: p_rec.exception_end_time :=
258: hr_pae_shd.g_old_rec.exception_end_time;

Line 258: hr_pae_shd.g_old_rec.exception_end_time;

254: hr_pae_shd.g_old_rec.exception_start_time;
255: End If;
256: If (p_rec.exception_end_time = hr_api.g_date) then
257: p_rec.exception_end_time :=
258: hr_pae_shd.g_old_rec.exception_end_time;
259: End If;
260: If (p_rec.exception_category = hr_api.g_varchar2) then
261: p_rec.exception_category :=
262: hr_pae_shd.g_old_rec.exception_category;

Line 262: hr_pae_shd.g_old_rec.exception_category;

258: hr_pae_shd.g_old_rec.exception_end_time;
259: End If;
260: If (p_rec.exception_category = hr_api.g_varchar2) then
261: p_rec.exception_category :=
262: hr_pae_shd.g_old_rec.exception_category;
263: End If;
264:
265: --
266: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 275: p_rec in out hr_pae_shd.g_rec_type,

271: -- |---------------------------------< upd >----------------------------------|
272: -- ----------------------------------------------------------------------------
273: Procedure upd
274: (
275: p_rec in out hr_pae_shd.g_rec_type,
276: p_validate in boolean default false
277: ) is
278: --
279: l_proc varchar2(72) := g_package||'upd';

Line 295: hr_pae_shd.lck

291: End If;
292: --
293: -- We must lock the row which we need to update.
294: --
295: hr_pae_shd.lck
296: (
297: p_rec.exception_id,
298: p_rec.object_version_number
299: );

Line 350: l_rec hr_pae_shd.g_rec_type;

346: p_object_version_number in out number,
347: p_validate in boolean default false
348: ) is
349: --
350: l_rec hr_pae_shd.g_rec_type;
351: l_proc varchar2(72) := g_package||'upd';
352: --
353: Begin
354: hr_utility.set_location('Entering:'||l_proc, 5);

Line 360: hr_pae_shd.convert_args

356: -- Call conversion function to turn arguments into the
357: -- l_rec structure.
358: --
359: l_rec :=
360: hr_pae_shd.convert_args
361: (
362: p_exception_id,
363: null,
364: p_exception_name,