DBA Data[Home] [Help]

APPS.PER_POS_INS dependencies on PER_POS_SHD

Line 53: Procedure insert_dml(p_rec in out nocopy per_pos_shd.g_rec_type) is

49: -- Internal Table Handler Use Only.
50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure insert_dml(p_rec in out nocopy per_pos_shd.g_rec_type) is
54: --
55: l_proc varchar2(72) := g_package||'insert_dml';
56: --
57: Begin

Line 61: per_pos_shd.g_api_dml := true; -- Set the api dml status

57: Begin
58: hr_utility.set_location('Entering:'||l_proc, 5);
59: p_rec.object_version_number := 1; -- Initialise the object version
60: --
61: per_pos_shd.g_api_dml := true; -- Set the api dml status
62: --
63: -- PMFLETCH Using per_all_positions
64: --
65: -- Insert the row into: per_all_positions

Line 164: per_pos_shd.g_api_dml := false; -- Unset the api dml status

160: p_rec.attribute20,
161: p_rec.object_version_number
162: );
163: --
164: per_pos_shd.g_api_dml := false; -- Unset the api dml status
165: --
166: hr_utility.set_location(' Leaving:'||l_proc, 10);
167: Exception
168: When hr_api.check_integrity_violated Then

Line 170: per_pos_shd.g_api_dml := false; -- Unset the api dml status

166: hr_utility.set_location(' Leaving:'||l_proc, 10);
167: Exception
168: When hr_api.check_integrity_violated Then
169: -- A check constraint has been violated
170: per_pos_shd.g_api_dml := false; -- Unset the api dml status
171: per_pos_shd.constraint_error
172: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
173: When hr_api.parent_integrity_violated Then
174: -- Parent integrity has been violated

Line 171: per_pos_shd.constraint_error

167: Exception
168: When hr_api.check_integrity_violated Then
169: -- A check constraint has been violated
170: per_pos_shd.g_api_dml := false; -- Unset the api dml status
171: per_pos_shd.constraint_error
172: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
173: When hr_api.parent_integrity_violated Then
174: -- Parent integrity has been violated
175: per_pos_shd.g_api_dml := false; -- Unset the api dml status

Line 175: per_pos_shd.g_api_dml := false; -- Unset the api dml status

171: per_pos_shd.constraint_error
172: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
173: When hr_api.parent_integrity_violated Then
174: -- Parent integrity has been violated
175: per_pos_shd.g_api_dml := false; -- Unset the api dml status
176: per_pos_shd.constraint_error
177: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
178: When hr_api.unique_integrity_violated Then
179: -- Unique integrity has been violated

Line 176: per_pos_shd.constraint_error

172: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
173: When hr_api.parent_integrity_violated Then
174: -- Parent integrity has been violated
175: per_pos_shd.g_api_dml := false; -- Unset the api dml status
176: per_pos_shd.constraint_error
177: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
178: When hr_api.unique_integrity_violated Then
179: -- Unique integrity has been violated
180: per_pos_shd.g_api_dml := false; -- Unset the api dml status

Line 180: per_pos_shd.g_api_dml := false; -- Unset the api dml status

176: per_pos_shd.constraint_error
177: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
178: When hr_api.unique_integrity_violated Then
179: -- Unique integrity has been violated
180: per_pos_shd.g_api_dml := false; -- Unset the api dml status
181: per_pos_shd.constraint_error
182: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
183: When Others Then
184: per_pos_shd.g_api_dml := false; -- Unset the api dml status

Line 181: per_pos_shd.constraint_error

177: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
178: When hr_api.unique_integrity_violated Then
179: -- Unique integrity has been violated
180: per_pos_shd.g_api_dml := false; -- Unset the api dml status
181: per_pos_shd.constraint_error
182: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
183: When Others Then
184: per_pos_shd.g_api_dml := false; -- Unset the api dml status
185: Raise;

Line 184: per_pos_shd.g_api_dml := false; -- Unset the api dml status

180: per_pos_shd.g_api_dml := false; -- Unset the api dml status
181: per_pos_shd.constraint_error
182: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
183: When Others Then
184: per_pos_shd.g_api_dml := false; -- Unset the api dml status
185: Raise;
186: End insert_dml;
187: --
188: -- ----------------------------------------------------------------------------

Line 225: Procedure pre_insert(p_rec in out nocopy per_pos_shd.g_rec_type) is

221: -- Internal Table Handler Use Only.
222: --
223: -- {End Of Comments}
224: -- ----------------------------------------------------------------------------
225: Procedure pre_insert(p_rec in out nocopy per_pos_shd.g_rec_type) is
226: --
227: l_proc varchar2(72) := g_package||'pre_insert';
228: --
229: Cursor C_Sel1 is select hr_all_positions_f_s.nextval from sys.dual;

Line 280: Procedure post_insert(p_rec in per_pos_shd.g_rec_type) is

276: -- Internal Table Handler Use Only.
277: --
278: -- {End Of Comments}
279: -- ----------------------------------------------------------------------------
280: Procedure post_insert(p_rec in per_pos_shd.g_rec_type) is
281: --
282: l_proc varchar2(72) := g_package||'post_insert';
283: --
284: Begin

Line 354: p_rec in out nocopy per_pos_shd.g_rec_type,

350: -- |---------------------------------< ins >----------------------------------|
351: -- ----------------------------------------------------------------------------
352: Procedure ins
353: (
354: p_rec in out nocopy per_pos_shd.g_rec_type,
355: p_validate in boolean default false
356: ) is
357: --
358: l_proc varchar2(72) := g_package||'ins';

Line 362: per_pos_shd.G_DT_INS:=TRUE;

358: l_proc varchar2(72) := g_package||'ins';
359: --
360: Begin
361: hr_utility.set_location('Entering:'||l_proc, 5);
362: per_pos_shd.G_DT_INS:=TRUE;
363: --
364: -- Determine if the business process is to be validated.
365: --
366: If p_validate then

Line 395: per_pos_shd.G_DT_INS:=FALSE;

391: If p_validate then
392: Raise HR_Api.Validate_Enabled;
393: End If;
394: --
395: per_pos_shd.G_DT_INS:=FALSE;
396: --
397: hr_utility.set_location(' Leaving:'||l_proc, 10);
398: Exception
399: When HR_Api.Validate_Enabled Then

Line 404: per_pos_shd.G_DT_INS:=FALSE;

400: --
401: -- As the Validate_Enabled exception has been raised
402: -- we must rollback to the savepoint
403: --
404: per_pos_shd.G_DT_INS:=FALSE;
405: --
406: ROLLBACK TO ins_per_pos;
407: end ins;
408: --

Line 463: l_rec per_pos_shd.g_rec_type;

459: p_object_version_number out nocopy number,
460: p_validate in boolean default false
461: ) is
462: --
463: l_rec per_pos_shd.g_rec_type;
464: l_proc varchar2(72) := g_package||'ins';
465: --
466: Begin
467: hr_utility.set_location('Entering:'||l_proc, 5);

Line 473: per_pos_shd.convert_args

469: -- Call conversion function to turn arguments into the
470: -- p_rec structure.
471: --
472: l_rec :=
473: per_pos_shd.convert_args
474: (
475: p_position_id,
476: p_business_group_id,
477: p_job_id,