DBA Data[Home] [Help]

APPS.HR_CAL_UPD dependencies on HR_CAL_SHD

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

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

Line 75: hr_cal_shd.g_api_dml := false; -- Unset the api dml status

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

Line 82: hr_cal_shd.g_api_dml := false; -- Unset the api dml status

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

Line 83: hr_cal_shd.constraint_error

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

Line 87: hr_cal_shd.g_api_dml := false; -- Unset the api dml status

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

Line 88: hr_cal_shd.constraint_error

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

Line 92: hr_cal_shd.g_api_dml := false; -- Unset the api dml status

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

Line 93: hr_cal_shd.constraint_error

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

Line 96: hr_cal_shd.g_api_dml := false; -- Unset the api dml status

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

Line 132: Procedure pre_update(p_rec in hr_cal_shd.g_rec_type) is

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

Line 174: Procedure post_update(p_rec in hr_cal_shd.g_rec_type) is

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

Line 228: Procedure convert_defs(p_rec in out hr_cal_shd.g_rec_type) is

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

Line 243: hr_cal_shd.g_old_rec.calendar_name;

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

Line 247: hr_cal_shd.g_old_rec.pattern_start_position;

243: hr_cal_shd.g_old_rec.calendar_name;
244: End If;
245: If (p_rec.pattern_start_position = hr_api.g_number) then
246: p_rec.pattern_start_position :=
247: hr_cal_shd.g_old_rec.pattern_start_position;
248: End If;
249: If (p_rec.calendar_start_time = hr_api.g_date) then
250: p_rec.calendar_start_time :=
251: hr_cal_shd.g_old_rec.calendar_start_time;

Line 251: hr_cal_shd.g_old_rec.calendar_start_time;

247: hr_cal_shd.g_old_rec.pattern_start_position;
248: End If;
249: If (p_rec.calendar_start_time = hr_api.g_date) then
250: p_rec.calendar_start_time :=
251: hr_cal_shd.g_old_rec.calendar_start_time;
252: End If;
253: If (p_rec.pattern_id = hr_api.g_number) then
254: p_rec.pattern_id :=
255: hr_cal_shd.g_old_rec.pattern_id;

Line 255: hr_cal_shd.g_old_rec.pattern_id;

251: hr_cal_shd.g_old_rec.calendar_start_time;
252: End If;
253: If (p_rec.pattern_id = hr_api.g_number) then
254: p_rec.pattern_id :=
255: hr_cal_shd.g_old_rec.pattern_id;
256: End If;
257:
258: --
259: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 268: p_rec in out hr_cal_shd.g_rec_type,

264: -- |---------------------------------< upd >----------------------------------|
265: -- ----------------------------------------------------------------------------
266: Procedure upd
267: (
268: p_rec in out hr_cal_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_cal_shd.lck

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

Line 342: l_rec hr_cal_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_cal_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_cal_shd.convert_args

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