DBA Data[Home] [Help]

APPS.OTA_TAV_INS dependencies on OTA_TAV_SHD

Line 69: Procedure insert_dml(p_rec in out nocopy ota_tav_shd.g_rec_type) is

65: -- Internal Development Use Only.
66: --
67: -- {End Of Comments}
68: -- ----------------------------------------------------------------------------
69: Procedure insert_dml(p_rec in out nocopy ota_tav_shd.g_rec_type) is
70: --
71: l_proc varchar2(72) := g_package||'insert_dml';
72: --
73: Begin

Line 77: ota_tav_shd.g_api_dml := true; -- Set the api dml status

73: Begin
74: hr_utility.set_location('Entering:'||l_proc, 5);
75: p_rec.object_version_number := 1; -- Initialise the object version
76: --
77: ota_tav_shd.g_api_dml := true; -- Set the api dml status
78: --
79: -- Insert the row into: ota_activity_versions
80: --
81: insert into ota_activity_versions

Line 201: ota_tav_shd.g_api_dml := false; -- Unset the api dml status

197: p_rec.competency_update_level,
198: p_rec.eres_enabled
199: );
200: --
201: ota_tav_shd.g_api_dml := false; -- Unset the api dml status
202: --
203: hr_utility.set_location(' Leaving:'||l_proc, 10);
204: Exception
205: When hr_api.check_integrity_violated Then

Line 207: ota_tav_shd.g_api_dml := false; -- Unset the api dml status

203: hr_utility.set_location(' Leaving:'||l_proc, 10);
204: Exception
205: When hr_api.check_integrity_violated Then
206: -- A check constraint has been violated
207: ota_tav_shd.g_api_dml := false; -- Unset the api dml status
208: ota_tav_shd.constraint_error
209: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
210: When hr_api.parent_integrity_violated Then
211: -- Parent integrity has been violated

Line 208: ota_tav_shd.constraint_error

204: Exception
205: When hr_api.check_integrity_violated Then
206: -- A check constraint has been violated
207: ota_tav_shd.g_api_dml := false; -- Unset the api dml status
208: ota_tav_shd.constraint_error
209: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
210: When hr_api.parent_integrity_violated Then
211: -- Parent integrity has been violated
212: ota_tav_shd.g_api_dml := false; -- Unset the api dml status

Line 212: ota_tav_shd.g_api_dml := false; -- Unset the api dml status

208: ota_tav_shd.constraint_error
209: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
210: When hr_api.parent_integrity_violated Then
211: -- Parent integrity has been violated
212: ota_tav_shd.g_api_dml := false; -- Unset the api dml status
213: ota_tav_shd.constraint_error
214: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
215: When hr_api.unique_integrity_violated Then
216: -- Unique integrity has been violated

Line 213: ota_tav_shd.constraint_error

209: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
210: When hr_api.parent_integrity_violated Then
211: -- Parent integrity has been violated
212: ota_tav_shd.g_api_dml := false; -- Unset the api dml status
213: ota_tav_shd.constraint_error
214: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
215: When hr_api.unique_integrity_violated Then
216: -- Unique integrity has been violated
217: ota_tav_shd.g_api_dml := false; -- Unset the api dml status

Line 217: ota_tav_shd.g_api_dml := false; -- Unset the api dml status

213: ota_tav_shd.constraint_error
214: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
215: When hr_api.unique_integrity_violated Then
216: -- Unique integrity has been violated
217: ota_tav_shd.g_api_dml := false; -- Unset the api dml status
218: ota_tav_shd.constraint_error
219: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
220: When Others Then
221: ota_tav_shd.g_api_dml := false; -- Unset the api dml status

Line 218: ota_tav_shd.constraint_error

214: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
215: When hr_api.unique_integrity_violated Then
216: -- Unique integrity has been violated
217: ota_tav_shd.g_api_dml := false; -- Unset the api dml status
218: ota_tav_shd.constraint_error
219: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
220: When Others Then
221: ota_tav_shd.g_api_dml := false; -- Unset the api dml status
222: Raise;

Line 221: ota_tav_shd.g_api_dml := false; -- Unset the api dml status

217: ota_tav_shd.g_api_dml := false; -- Unset the api dml status
218: ota_tav_shd.constraint_error
219: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
220: When Others Then
221: ota_tav_shd.g_api_dml := false; -- Unset the api dml status
222: Raise;
223: End insert_dml;
224: --
225: -- ----------------------------------------------------------------------------

Line 262: Procedure pre_insert(p_rec in out nocopy ota_tav_shd.g_rec_type) is

258: -- Internal Development Use Only.
259: --
260: -- {End Of Comments}
261: -- ----------------------------------------------------------------------------
262: Procedure pre_insert(p_rec in out nocopy ota_tav_shd.g_rec_type) is
263: --
264: l_proc varchar2(72) := g_package||'pre_insert';
265: --
266: Cursor C_Sel1 is select ota_activity_versions_s.nextval from sys.dual;

Line 350: Procedure post_insert(p_rec in ota_tav_shd.g_rec_type) is

346: -- Internal Development Use Only.
347: --
348: -- {End Of Comments}
349: -- ----------------------------------------------------------------------------
350: Procedure post_insert(p_rec in ota_tav_shd.g_rec_type) is
351: --
352: l_proc varchar2(72) := g_package||'post_insert';
353: --
354: Begin

Line 368: p_rec in out nocopy ota_tav_shd.g_rec_type,

364: -- |---------------------------------< ins >----------------------------------|
365: -- ----------------------------------------------------------------------------
366: Procedure ins
367: (
368: p_rec in out nocopy ota_tav_shd.g_rec_type,
369: p_validate in boolean
370: ) is
371: --
372: l_proc varchar2(72) := g_package||'ins';

Line 490: l_rec ota_tav_shd.g_rec_type;

486: p_eres_enabled in varchar2
487:
488: ) is
489: --
490: l_rec ota_tav_shd.g_rec_type;
491: l_proc varchar2(72) := g_package||'ins';
492: --
493: Begin
494: hr_utility.set_location('Entering:'||l_proc, 5);

Line 500: ota_tav_shd.convert_args

496: -- Call conversion function to turn arguments into the
497: -- p_rec structure.
498: --
499: l_rec :=
500: ota_tav_shd.convert_args
501: (
502: null,
503: p_activity_id,
504: p_superseded_by_act_version_id,