DBA Data[Home] [Help]

APPS.PER_ADD_INS dependencies on PER_ADD_SHD

Line 76: Procedure insert_dml(p_rec in out nocopy per_add_shd.g_rec_type) is

72: -- Internal Table Handler Use Only.
73: --
74: -- {End Of Comments}
75: -- ----------------------------------------------------------------------------
76: Procedure insert_dml(p_rec in out nocopy per_add_shd.g_rec_type) is
77: --
78: l_proc varchar2(72) := g_package||'insert_dml';
79: --
80: Begin

Line 84: per_add_shd.g_api_dml := true; -- Set the api dml status

80: Begin
81: hr_utility.set_location('Entering:'||l_proc, 5);
82: p_rec.object_version_number := 1; -- Initialise the object version
83: --
84: per_add_shd.g_api_dml := true; -- Set the api dml status
85: --
86: -- Insert the row into: per_addresses
87: --
88: insert into per_addresses

Line 209: per_add_shd.g_api_dml := false; -- Unset the api dml status

205: p_rec.geometry,
206: p_rec.object_version_number
207: );
208: --
209: per_add_shd.g_api_dml := false; -- Unset the api dml status
210: --
211: hr_utility.set_location(' Leaving:'||l_proc, 10);
212: Exception
213: When hr_api.check_integrity_violated Then

Line 215: per_add_shd.g_api_dml := false; -- Unset the api dml status

211: hr_utility.set_location(' Leaving:'||l_proc, 10);
212: Exception
213: When hr_api.check_integrity_violated Then
214: -- A check constraint has been violated
215: per_add_shd.g_api_dml := false; -- Unset the api dml status
216: per_add_shd.constraint_error
217: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
218: When hr_api.parent_integrity_violated Then
219: -- Parent integrity has been violated

Line 216: per_add_shd.constraint_error

212: Exception
213: When hr_api.check_integrity_violated Then
214: -- A check constraint has been violated
215: per_add_shd.g_api_dml := false; -- Unset the api dml status
216: per_add_shd.constraint_error
217: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
218: When hr_api.parent_integrity_violated Then
219: -- Parent integrity has been violated
220: per_add_shd.g_api_dml := false; -- Unset the api dml status

Line 220: per_add_shd.g_api_dml := false; -- Unset the api dml status

216: per_add_shd.constraint_error
217: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
218: When hr_api.parent_integrity_violated Then
219: -- Parent integrity has been violated
220: per_add_shd.g_api_dml := false; -- Unset the api dml status
221: per_add_shd.constraint_error
222: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
223: When hr_api.unique_integrity_violated Then
224: -- Unique integrity has been violated

Line 221: per_add_shd.constraint_error

217: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
218: When hr_api.parent_integrity_violated Then
219: -- Parent integrity has been violated
220: per_add_shd.g_api_dml := false; -- Unset the api dml status
221: per_add_shd.constraint_error
222: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
223: When hr_api.unique_integrity_violated Then
224: -- Unique integrity has been violated
225: per_add_shd.g_api_dml := false; -- Unset the api dml status

Line 225: per_add_shd.g_api_dml := false; -- Unset the api dml status

221: per_add_shd.constraint_error
222: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
223: When hr_api.unique_integrity_violated Then
224: -- Unique integrity has been violated
225: per_add_shd.g_api_dml := false; -- Unset the api dml status
226: per_add_shd.constraint_error
227: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
228: When Others Then
229: per_add_shd.g_api_dml := false; -- Unset the api dml status

Line 226: per_add_shd.constraint_error

222: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
223: When hr_api.unique_integrity_violated Then
224: -- Unique integrity has been violated
225: per_add_shd.g_api_dml := false; -- Unset the api dml status
226: per_add_shd.constraint_error
227: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
228: When Others Then
229: per_add_shd.g_api_dml := false; -- Unset the api dml status
230: Raise;

Line 229: per_add_shd.g_api_dml := false; -- Unset the api dml status

225: per_add_shd.g_api_dml := false; -- Unset the api dml status
226: per_add_shd.constraint_error
227: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
228: When Others Then
229: per_add_shd.g_api_dml := false; -- Unset the api dml status
230: Raise;
231: End insert_dml;
232: --
233: -- ----------------------------------------------------------------------------

Line 270: Procedure pre_insert(p_rec in out nocopy per_add_shd.g_rec_type) is

266: -- Internal Table Handler Use Only.
267: --
268: -- {End Of Comments}
269: -- ----------------------------------------------------------------------------
270: Procedure pre_insert(p_rec in out nocopy per_add_shd.g_rec_type) is
271: --
272: l_proc varchar2(72) := g_package||'pre_insert';
273: l_exists varchar2(1);
274: --

Line 424: per_add_shd.derive_locale(p_rec);

420: p_rec.add_information20 := '';
421: --
422: end; -- Block end. Bug# 2416832
423: --
424: per_add_shd.derive_locale(p_rec);
425: --
426: hr_utility.set_location(' Leaving:'||l_proc, 15);
427: End pre_insert;
428: --

Line 461: Procedure post_insert(p_rec in per_add_shd.g_rec_type

457: -- Internal Table Handler Use Only.
458: --
459: -- {End Of Comments}
460: -- ----------------------------------------------------------------------------
461: Procedure post_insert(p_rec in per_add_shd.g_rec_type
462: ,p_effective_date in date
463: ,p_validate_county in boolean
464: ) is
465:

Line 577: (p_rec in out nocopy per_add_shd.g_rec_type

573: -- ----------------------------------------------------------------------------
574: -- |---------------------------------< ins >----------------------------------|
575: -- ----------------------------------------------------------------------------
576: Procedure ins
577: (p_rec in out nocopy per_add_shd.g_rec_type
578: ,p_validate in boolean default false
579: ,p_effective_date in date
580: ,p_validate_county in boolean default true
581: ) is

Line 705: l_rec per_add_shd.g_rec_type;

701: ,p_effective_date in date
702: ,p_validate_county in boolean default true
703: ) is
704: --
705: l_rec per_add_shd.g_rec_type;
706: l_proc varchar2(72) := g_package||'ins';
707: --
708: Begin
709: hr_utility.set_location('Entering:'||l_proc, 5);

Line 715: per_add_shd.convert_args

711: -- Call conversion function to turn arguments into the
712: -- p_rec structure.
713: --
714: l_rec :=
715: per_add_shd.convert_args
716: (
717: null,
718: p_business_group_id,
719: p_person_id,