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 83: hr_loc_shd.g_api_dml := true; -- Set the api dml status

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

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

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

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

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

Line 270: hr_loc_shd.constraint_error

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

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

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

Line 275: hr_loc_shd.constraint_error

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

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

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

Line 280: hr_loc_shd.constraint_error

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

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

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

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

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

Line 391: hr_loc_shd.derive_locale(p_rec);

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

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

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

Line 541: p_rec IN OUT NOCOPY hr_loc_shd.g_rec_type

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

Line 664: l_rec hr_loc_shd.g_rec_type;

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

Line 674: hr_loc_shd.convert_args

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