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 422: per_add_shd.derive_locale(p_rec);

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

Line 459: Procedure post_insert(p_rec in per_add_shd.g_rec_type

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

Line 575: (p_rec in out nocopy per_add_shd.g_rec_type

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

Line 703: l_rec per_add_shd.g_rec_type;

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

Line 713: per_add_shd.convert_args

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