DBA Data[Home] [Help]

APPS.HR_EXU_UPD dependencies on HR_EXU_SHD

Line 54: Procedure update_dml(p_rec in out hr_exu_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_exu_shd.g_rec_type) is
55: --
56: l_proc varchar2(72) := g_package||'update_dml';
57: --
58: Begin

Line 65: hr_exu_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_exu_shd.g_api_dml := true; -- Set the api dml status
66: --
67: -- Update the hr_exception_usages Row
68: --
69: update hr_exception_usages

Line 76: hr_exu_shd.g_api_dml := false; -- Unset the api dml status

72: exception_reason = p_rec.exception_reason,
73: object_version_number = p_rec.object_version_number
74: where exception_usage_id = p_rec.exception_usage_id;
75: --
76: hr_exu_shd.g_api_dml := false; -- Unset the api dml status
77: --
78: hr_utility.set_location(' Leaving:'||l_proc, 10);
79: --
80: Exception

Line 83: hr_exu_shd.g_api_dml := false; -- Unset the api dml status

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

Line 84: hr_exu_shd.constraint_error

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

Line 88: hr_exu_shd.g_api_dml := false; -- Unset the api dml status

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

Line 89: hr_exu_shd.constraint_error

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

Line 93: hr_exu_shd.g_api_dml := false; -- Unset the api dml status

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

Line 94: hr_exu_shd.constraint_error

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

Line 97: hr_exu_shd.g_api_dml := false; -- Unset the api dml status

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

Line 133: Procedure pre_update(p_rec in hr_exu_shd.g_rec_type) is

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

Line 175: Procedure post_update(p_rec in hr_exu_shd.g_rec_type) is

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

Line 229: Procedure convert_defs(p_rec in out hr_exu_shd.g_rec_type) is

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

Line 244: hr_exu_shd.g_old_rec.exception_reason;

240: -- is being used then we must set to the 'current' argument value.
241: --
242: If (p_rec.exception_reason = hr_api.g_varchar2) then
243: p_rec.exception_reason :=
244: hr_exu_shd.g_old_rec.exception_reason;
245: End If;
246: If (p_rec.calendar_id = hr_api.g_number) then
247: p_rec.calendar_id :=
248: hr_exu_shd.g_old_rec.calendar_id;

Line 248: hr_exu_shd.g_old_rec.calendar_id;

244: hr_exu_shd.g_old_rec.exception_reason;
245: End If;
246: If (p_rec.calendar_id = hr_api.g_number) then
247: p_rec.calendar_id :=
248: hr_exu_shd.g_old_rec.calendar_id;
249: End If;
250: If (p_rec.calendar_usage_id = hr_api.g_number) then
251: p_rec.calendar_usage_id :=
252: hr_exu_shd.g_old_rec.calendar_usage_id;

Line 252: hr_exu_shd.g_old_rec.calendar_usage_id;

248: hr_exu_shd.g_old_rec.calendar_id;
249: End If;
250: If (p_rec.calendar_usage_id = hr_api.g_number) then
251: p_rec.calendar_usage_id :=
252: hr_exu_shd.g_old_rec.calendar_usage_id;
253: End If;
254: If (p_rec.exception_id = hr_api.g_number) then
255: p_rec.exception_id :=
256: hr_exu_shd.g_old_rec.exception_id;

Line 256: hr_exu_shd.g_old_rec.exception_id;

252: hr_exu_shd.g_old_rec.calendar_usage_id;
253: End If;
254: If (p_rec.exception_id = hr_api.g_number) then
255: p_rec.exception_id :=
256: hr_exu_shd.g_old_rec.exception_id;
257: End If;
258: --
259: hr_utility.set_location(' Leaving:'||l_proc, 10);
260: --

Line 268: p_rec in out hr_exu_shd.g_rec_type,

264: -- |---------------------------------< upd >----------------------------------|
265: -- ----------------------------------------------------------------------------
266: Procedure upd
267: (
268: p_rec in out hr_exu_shd.g_rec_type,
269: p_validate in boolean default false
270: ) is
271: --
272: l_proc varchar2(72) := g_package||'upd';

Line 288: hr_exu_shd.lck

284: End If;
285: --
286: -- We must lock the row which we need to update.
287: --
288: hr_exu_shd.lck
289: (
290: p_rec.exception_usage_id,
291: p_rec.object_version_number
292: );

Line 342: l_rec hr_exu_shd.g_rec_type;

338: p_object_version_number in out number,
339: p_validate in boolean default false
340: ) is
341: --
342: l_rec hr_exu_shd.g_rec_type;
343: l_proc varchar2(72) := g_package||'upd';
344: --
345: Begin
346: hr_utility.set_location('Entering:'||l_proc, 5);

Line 352: hr_exu_shd.convert_args

348: -- Call conversion function to turn arguments into the
349: -- l_rec structure.
350: --
351: l_rec :=
352: hr_exu_shd.convert_args
353: (
354: p_exception_usage_id,
355: p_exception_reason,
356: hr_api.g_number,