DBA Data[Home] [Help]

APPS.HR_LOC_INS dependencies on HR_LOC_SHD

Line 74: PROCEDURE insert_dml(p_rec IN OUT NOCOPY hr_loc_shd.g_rec_type) IS

70: -- Internal Row Handler Use Only.
71: --
72: -- {End Of Comments}
73: -- ----------------------------------------------------------------------------
74: PROCEDURE insert_dml(p_rec IN OUT NOCOPY hr_loc_shd.g_rec_type) IS
75: --
76: l_proc VARCHAR2(72) := g_package||'insert_dml';
77: --
78: BEGIN

Line 82: hr_loc_shd.g_api_dml := true; -- Set the api dml status

78: BEGIN
79: hr_utility.set_location('Entering:'||l_proc, 5);
80: p_rec.object_version_number := 1; -- Initialise the object version
81: --
82: hr_loc_shd.g_api_dml := true; -- Set the api dml status
83: --
84: -- Insert the row into: hr_locations_all
85: --
86: INSERT INTO hr_locations_all

Line 261: hr_loc_shd.g_api_dml := false; -- Unset the api dml status

257: p_rec.business_group_id,
258: p_rec.geometry
259: );
260: --
261: hr_loc_shd.g_api_dml := false; -- Unset the api dml status
262: --
263: hr_utility.set_location(' Leaving:'||l_proc, 10);
264: EXCEPTION
265: WHEN hr_api.check_integrity_violated THEN

Line 267: hr_loc_shd.g_api_dml := false; -- Unset the api dml status

263: hr_utility.set_location(' Leaving:'||l_proc, 10);
264: EXCEPTION
265: WHEN hr_api.check_integrity_violated THEN
266: -- A check constraint has been violated
267: hr_loc_shd.g_api_dml := false; -- Unset the api dml status
268: hr_loc_shd.constraint_error
269: (p_constraint_name => hr_api.strip_constraint_name(sqlerrm));
270: WHEN hr_api.parent_integrity_violated THEN
271: -- Parent integrity has been violated

Line 268: hr_loc_shd.constraint_error

264: EXCEPTION
265: WHEN hr_api.check_integrity_violated THEN
266: -- A check constraint has been violated
267: hr_loc_shd.g_api_dml := false; -- Unset the api dml status
268: hr_loc_shd.constraint_error
269: (p_constraint_name => hr_api.strip_constraint_name(sqlerrm));
270: WHEN hr_api.parent_integrity_violated THEN
271: -- Parent integrity has been violated
272: hr_loc_shd.g_api_dml := false; -- Unset the api dml status

Line 272: hr_loc_shd.g_api_dml := false; -- Unset the api dml status

268: hr_loc_shd.constraint_error
269: (p_constraint_name => hr_api.strip_constraint_name(sqlerrm));
270: WHEN hr_api.parent_integrity_violated THEN
271: -- Parent integrity has been violated
272: hr_loc_shd.g_api_dml := false; -- Unset the api dml status
273: hr_loc_shd.constraint_error
274: (p_constraint_name => hr_api.strip_constraint_name(sqlerrm));
275: WHEN hr_api.unique_integrity_violated THEN
276: -- Unique integrity has been violated

Line 273: hr_loc_shd.constraint_error

269: (p_constraint_name => hr_api.strip_constraint_name(sqlerrm));
270: WHEN hr_api.parent_integrity_violated THEN
271: -- Parent integrity has been violated
272: hr_loc_shd.g_api_dml := false; -- Unset the api dml status
273: hr_loc_shd.constraint_error
274: (p_constraint_name => hr_api.strip_constraint_name(sqlerrm));
275: WHEN hr_api.unique_integrity_violated THEN
276: -- Unique integrity has been violated
277: hr_loc_shd.g_api_dml := false; -- Unset the api dml status

Line 277: hr_loc_shd.g_api_dml := false; -- Unset the api dml status

273: hr_loc_shd.constraint_error
274: (p_constraint_name => hr_api.strip_constraint_name(sqlerrm));
275: WHEN hr_api.unique_integrity_violated THEN
276: -- Unique integrity has been violated
277: hr_loc_shd.g_api_dml := false; -- Unset the api dml status
278: hr_loc_shd.constraint_error
279: (p_constraint_name => hr_api.strip_constraint_name(sqlerrm));
280: WHEN OTHERS THEN
281: hr_loc_shd.g_api_dml := false; -- Unset the api dml status

Line 278: hr_loc_shd.constraint_error

274: (p_constraint_name => hr_api.strip_constraint_name(sqlerrm));
275: WHEN hr_api.unique_integrity_violated THEN
276: -- Unique integrity has been violated
277: hr_loc_shd.g_api_dml := false; -- Unset the api dml status
278: hr_loc_shd.constraint_error
279: (p_constraint_name => hr_api.strip_constraint_name(sqlerrm));
280: WHEN OTHERS THEN
281: hr_loc_shd.g_api_dml := false; -- Unset the api dml status
282: RAISE;

Line 281: hr_loc_shd.g_api_dml := false; -- Unset the api dml status

277: hr_loc_shd.g_api_dml := false; -- Unset the api dml status
278: hr_loc_shd.constraint_error
279: (p_constraint_name => hr_api.strip_constraint_name(sqlerrm));
280: WHEN OTHERS THEN
281: hr_loc_shd.g_api_dml := false; -- Unset the api dml status
282: RAISE;
283: END insert_dml;
284: --
285: -- ----------------------------------------------------------------------------

Line 322: PROCEDURE pre_insert(p_rec IN OUT NOCOPY hr_loc_shd.g_rec_type) IS

318: -- Internal Row Handler Use Only.
319: --
320: -- {End Of Comments}
321: -- ----------------------------------------------------------------------------
322: PROCEDURE pre_insert(p_rec IN OUT NOCOPY hr_loc_shd.g_rec_type) IS
323: --
324: l_proc VARCHAR2(72) := g_package||'pre_insert';
325: --
326: cursor csr_next_location_id IS

Line 389: hr_loc_shd.derive_locale(p_rec);

385: end if;
386: --
387: end if;
388:
389: hr_loc_shd.derive_locale(p_rec);
390: --
391: hr_utility.set_location(' Leaving:'||l_proc, 10);
392: END pre_insert;
393: --

Line 426: PROCEDURE post_insert(p_rec IN hr_loc_shd.g_rec_type,

422: -- Internal Row Handler Use Only.
423: --
424: -- {End Of Comments}
425: -- ----------------------------------------------------------------------------
426: PROCEDURE post_insert(p_rec IN hr_loc_shd.g_rec_type,
427: p_effective_date IN DATE) IS
428: --
429: l_proc VARCHAR2(72) := g_package||'post_insert';
430: --

Line 539: p_rec IN OUT NOCOPY hr_loc_shd.g_rec_type

535: -- |---------------------------------< ins >----------------------------------|
536: -- ----------------------------------------------------------------------------
537: PROCEDURE ins
538: (
539: p_rec IN OUT NOCOPY hr_loc_shd.g_rec_type
540: ,p_effective_date IN DATE
541: ,p_operating_unit_id IN NUMBER
542: ) IS
543: --

Line 662: l_rec hr_loc_shd.g_rec_type;

658: p_ece_tp_location_code IN VARCHAR2 DEFAULT NULL,
659: p_business_group_id IN NUMBER DEFAULT NULL
660: ) IS
661: --
662: l_rec hr_loc_shd.g_rec_type;
663: l_proc VARCHAR2(72) := g_package||'ins';
664: --
665: BEGIN
666: hr_utility.set_location('Entering:'||l_proc, 5);

Line 672: hr_loc_shd.convert_args

668: -- Call conversion function to turn arguments into the
669: -- p_rec structure.
670: --
671: l_rec :=
672: hr_loc_shd.convert_args
673: (
674: NULL,
675: p_location_code,
676: p_timezone_code,