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 199: ota_tav_shd.g_api_dml := false; -- Unset the api dml status

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

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

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

Line 206: ota_tav_shd.constraint_error

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

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

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

Line 211: ota_tav_shd.constraint_error

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

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

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

Line 216: ota_tav_shd.constraint_error

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

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

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

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

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

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

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

Line 366: p_rec in out nocopy ota_tav_shd.g_rec_type,

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

Line 487: l_rec ota_tav_shd.g_rec_type;

483: ,p_competency_update_level in varchar2
484:
485: ) is
486: --
487: l_rec ota_tav_shd.g_rec_type;
488: l_proc varchar2(72) := g_package||'ins';
489: --
490: Begin
491: hr_utility.set_location('Entering:'||l_proc, 5);

Line 497: ota_tav_shd.convert_args

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