DBA Data[Home] [Help]

APPS.PER_PSO_UPD dependencies on PER_PSO_SHD

Line 55: (p_rec in out nocopy per_pso_shd.g_rec_type

51: --
52: -- {End Of Comments}
53: -- ----------------------------------------------------------------------------
54: Procedure update_dml
55: (p_rec in out nocopy per_pso_shd.g_rec_type
56: ) is
57: --
58: l_proc varchar2(72) := g_package||'update_dml';
59: --

Line 66: per_pso_shd.g_api_dml := true; -- Set the api dml status

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

Line 79: per_pso_shd.g_api_dml := false; -- Unset the api dml status

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

Line 86: per_pso_shd.g_api_dml := false; -- Unset the api dml status

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

Line 87: per_pso_shd.constraint_error

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

Line 91: per_pso_shd.g_api_dml := false; -- Unset the api dml status

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

Line 92: per_pso_shd.constraint_error

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

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

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

Line 97: per_pso_shd.constraint_error

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

Line 100: per_pso_shd.g_api_dml := false; -- Unset the api dml status

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

Line 137: (p_rec in per_pso_shd.g_rec_type

133: --
134: -- {End Of Comments}
135: -- ----------------------------------------------------------------------------
136: Procedure pre_update
137: (p_rec in per_pso_shd.g_rec_type
138: ) is
139: --
140: l_proc varchar2(72) := g_package||'pre_update';
141: --

Line 181: (p_rec in per_pso_shd.g_rec_type

177: --
178: -- {End Of Comments}
179: -- ----------------------------------------------------------------------------
180: Procedure post_update
181: (p_rec in per_pso_shd.g_rec_type
182: ) is
183: --
184: l_proc varchar2(72) := g_package||'post_update';
185: --

Line 202: => per_pso_shd.g_old_rec.organization_id

198: => p_rec.object_version_number
199: ,p_security_organization_id
200: => p_rec.security_organization_id
201: ,p_organization_id_o
202: => per_pso_shd.g_old_rec.organization_id
203: ,p_security_profile_id_o
204: => per_pso_shd.g_old_rec.security_profile_id
205: ,p_entry_type_o
206: => per_pso_shd.g_old_rec.entry_type

Line 204: => per_pso_shd.g_old_rec.security_profile_id

200: => p_rec.security_organization_id
201: ,p_organization_id_o
202: => per_pso_shd.g_old_rec.organization_id
203: ,p_security_profile_id_o
204: => per_pso_shd.g_old_rec.security_profile_id
205: ,p_entry_type_o
206: => per_pso_shd.g_old_rec.entry_type
207: ,p_object_version_number_o
208: => per_pso_shd.g_old_rec.object_version_number

Line 206: => per_pso_shd.g_old_rec.entry_type

202: => per_pso_shd.g_old_rec.organization_id
203: ,p_security_profile_id_o
204: => per_pso_shd.g_old_rec.security_profile_id
205: ,p_entry_type_o
206: => per_pso_shd.g_old_rec.entry_type
207: ,p_object_version_number_o
208: => per_pso_shd.g_old_rec.object_version_number
209: );
210: --

Line 208: => per_pso_shd.g_old_rec.object_version_number

204: => per_pso_shd.g_old_rec.security_profile_id
205: ,p_entry_type_o
206: => per_pso_shd.g_old_rec.entry_type
207: ,p_object_version_number_o
208: => per_pso_shd.g_old_rec.object_version_number
209: );
210: --
211: exception
212: --

Line 268: (p_rec in out nocopy per_pso_shd.g_rec_type

264: --
265: -- {End Of Comments}
266: -- ----------------------------------------------------------------------------
267: Procedure convert_defs
268: (p_rec in out nocopy per_pso_shd.g_rec_type
269: ) is
270: --
271: Begin
272: --

Line 280: per_pso_shd.g_old_rec.organization_id;

276: -- is being used then we must set to the 'current' argument value.
277: --
278: If (p_rec.organization_id = hr_api.g_number) then
279: p_rec.organization_id :=
280: per_pso_shd.g_old_rec.organization_id;
281: End If;
282: If (p_rec.security_profile_id = hr_api.g_number) then
283: p_rec.security_profile_id :=
284: per_pso_shd.g_old_rec.security_profile_id;

Line 284: per_pso_shd.g_old_rec.security_profile_id;

280: per_pso_shd.g_old_rec.organization_id;
281: End If;
282: If (p_rec.security_profile_id = hr_api.g_number) then
283: p_rec.security_profile_id :=
284: per_pso_shd.g_old_rec.security_profile_id;
285: End If;
286: If (p_rec.entry_type = hr_api.g_varchar2) then
287: p_rec.entry_type :=
288: per_pso_shd.g_old_rec.entry_type;

Line 288: per_pso_shd.g_old_rec.entry_type;

284: per_pso_shd.g_old_rec.security_profile_id;
285: End If;
286: If (p_rec.entry_type = hr_api.g_varchar2) then
287: p_rec.entry_type :=
288: per_pso_shd.g_old_rec.entry_type;
289: End If;
290: --
291: End convert_defs;
292: --

Line 297: (p_rec in out nocopy per_pso_shd.g_rec_type

293: -- ----------------------------------------------------------------------------
294: -- |---------------------------------< upd >----------------------------------|
295: -- ----------------------------------------------------------------------------
296: Procedure upd
297: (p_rec in out nocopy per_pso_shd.g_rec_type
298: ) is
299: --
300: l_proc varchar2(72) := g_package||'upd';
301: --

Line 307: per_pso_shd.lck

303: hr_utility.set_location('Entering:'||l_proc, 5);
304: --
305: -- We must lock the row which we need to update.
306: --
307: per_pso_shd.lck
308: (p_rec.security_organization_id
309: ,p_rec.object_version_number
310: );
311: --

Line 355: l_rec per_pso_shd.g_rec_type;

351: ,p_security_profile_id in number default hr_api.g_number
352: ,p_entry_type in varchar2 default hr_api.g_varchar2
353: ) is
354: --
355: l_rec per_pso_shd.g_rec_type;
356: l_proc varchar2(72) := g_package||'upd';
357: --
358: Begin
359: hr_utility.set_location('Entering:'||l_proc, 5);

Line 365: per_pso_shd.convert_args

361: -- Call conversion function to turn arguments into the
362: -- l_rec structure.
363: --
364: l_rec :=
365: per_pso_shd.convert_args
366: (p_organization_id
367: ,p_security_profile_id
368: ,p_entry_type
369: ,p_object_version_number