DBA Data[Home] [Help]

APPS.HR_PAT_UPD dependencies on HR_PAT_SHD

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

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

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

74: pattern_start_time = p_rec.pattern_start_time,
75: object_version_number = p_rec.object_version_number
76: where pattern_id = p_rec.pattern_id;
77: --
78: hr_pat_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_pat_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_pat_shd.g_api_dml := false; -- Unset the api dml status
86: hr_pat_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_pat_shd.constraint_error

82: Exception
83: When hr_api.check_integrity_violated Then
84: -- A check constraint has been violated
85: hr_pat_shd.g_api_dml := false; -- Unset the api dml status
86: hr_pat_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_pat_shd.g_api_dml := false; -- Unset the api dml status

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

86: hr_pat_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_pat_shd.g_api_dml := false; -- Unset the api dml status
91: hr_pat_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_pat_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_pat_shd.g_api_dml := false; -- Unset the api dml status
91: hr_pat_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_pat_shd.g_api_dml := false; -- Unset the api dml status

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

91: hr_pat_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_pat_shd.g_api_dml := false; -- Unset the api dml status
96: hr_pat_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When Others Then
99: hr_pat_shd.g_api_dml := false; -- Unset the api dml status

Line 96: hr_pat_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_pat_shd.g_api_dml := false; -- Unset the api dml status
96: hr_pat_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When Others Then
99: hr_pat_shd.g_api_dml := false; -- Unset the api dml status
100: Raise;

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

95: hr_pat_shd.g_api_dml := false; -- Unset the api dml status
96: hr_pat_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When Others Then
99: hr_pat_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_pat_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_pat_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_pat_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_pat_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 nocopy hr_pat_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 nocopy hr_pat_shd.g_rec_type) is
232: --
233: l_proc varchar2(72) := g_package||'convert_defs';
234: --
235: Begin

Line 246: hr_pat_shd.g_old_rec.pattern_name;

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

Line 250: hr_pat_shd.g_old_rec.pattern_start_weekday;

246: hr_pat_shd.g_old_rec.pattern_name;
247: End If;
248: If (p_rec.pattern_start_weekday = hr_api.g_varchar2) then
249: p_rec.pattern_start_weekday :=
250: hr_pat_shd.g_old_rec.pattern_start_weekday;
251: End If;
252: If (p_rec.pattern_start_time = hr_api.g_varchar2) then
253: p_rec.pattern_start_time :=
254: hr_pat_shd.g_old_rec.pattern_start_time;

Line 254: hr_pat_shd.g_old_rec.pattern_start_time;

250: hr_pat_shd.g_old_rec.pattern_start_weekday;
251: End If;
252: If (p_rec.pattern_start_time = hr_api.g_varchar2) then
253: p_rec.pattern_start_time :=
254: hr_pat_shd.g_old_rec.pattern_start_time;
255: End If;
256:
257: --
258: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 267: p_rec in out nocopy hr_pat_shd.g_rec_type,

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

Line 287: hr_pat_shd.lck

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

Line 343: l_rec hr_pat_shd.g_rec_type;

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

Line 353: hr_pat_shd.convert_args

349: -- Call conversion function to turn arguments into the
350: -- l_rec structure.
351: --
352: l_rec :=
353: hr_pat_shd.convert_args
354: (
355: p_pattern_id,
356: p_pattern_name,
357: p_pattern_start_weekday,