DBA Data[Home] [Help]

APPS.HR_PPU_UPD dependencies on HR_PPU_SHD

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

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

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

74: hierarchy_level = p_rec.hierarchy_level,
75: object_version_number = p_rec.object_version_number
76: where purpose_usage_id = p_rec.purpose_usage_id;
77: --
78: hr_ppu_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_ppu_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_ppu_shd.g_api_dml := false; -- Unset the api dml status
86: hr_ppu_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_ppu_shd.constraint_error

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

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

86: hr_ppu_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_ppu_shd.g_api_dml := false; -- Unset the api dml status
91: hr_ppu_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_ppu_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_ppu_shd.g_api_dml := false; -- Unset the api dml status
91: hr_ppu_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_ppu_shd.g_api_dml := false; -- Unset the api dml status

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

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

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

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

95: hr_ppu_shd.g_api_dml := false; -- Unset the api dml status
96: hr_ppu_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When Others Then
99: hr_ppu_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_ppu_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_ppu_shd.g_rec_type) is
136: --
137: l_proc varchar2(72) := g_package||'pre_update';
138: --
139: Begin

Line 178: Procedure post_update(p_rec in hr_ppu_shd.g_rec_type) is

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

Line 234: Procedure convert_defs(p_rec in out hr_ppu_shd.g_rec_type) is

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

Line 249: hr_ppu_shd.g_old_rec.entity_name;

245: -- is being used then we must set to the 'current' argument value.
246: --
247: If (p_rec.entity_name = hr_api.g_varchar2) then
248: p_rec.entity_name :=
249: hr_ppu_shd.g_old_rec.entity_name;
250: End If;
251: If (p_rec.pattern_purpose = hr_api.g_varchar2) then
252: p_rec.pattern_purpose :=
253: hr_ppu_shd.g_old_rec.pattern_purpose;

Line 253: hr_ppu_shd.g_old_rec.pattern_purpose;

249: hr_ppu_shd.g_old_rec.entity_name;
250: End If;
251: If (p_rec.pattern_purpose = hr_api.g_varchar2) then
252: p_rec.pattern_purpose :=
253: hr_ppu_shd.g_old_rec.pattern_purpose;
254: End If;
255: If (p_rec.hierarchy_level = hr_api.g_number) then
256: p_rec.hierarchy_level :=
257: hr_ppu_shd.g_old_rec.hierarchy_level;

Line 257: hr_ppu_shd.g_old_rec.hierarchy_level;

253: hr_ppu_shd.g_old_rec.pattern_purpose;
254: End If;
255: If (p_rec.hierarchy_level = hr_api.g_number) then
256: p_rec.hierarchy_level :=
257: hr_ppu_shd.g_old_rec.hierarchy_level;
258: End If;
259:
260: --
261: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 270: p_rec in out hr_ppu_shd.g_rec_type,

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

Line 290: hr_ppu_shd.lck

286: End If;
287: --
288: -- We must lock the row which we need to update.
289: --
290: hr_ppu_shd.lck
291: (
292: p_rec.purpose_usage_id,
293: p_rec.object_version_number
294: );

Line 346: l_rec hr_ppu_shd.g_rec_type;

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

Line 356: hr_ppu_shd.convert_args

352: -- Call conversion function to turn arguments into the
353: -- l_rec structure.
354: --
355: l_rec :=
356: hr_ppu_shd.convert_args
357: (
358: p_purpose_usage_id,
359: p_entity_name,
360: p_pattern_purpose,