DBA Data[Home] [Help]

APPS.OTA_PMM_INS dependencies on OTA_PMM_SHD

Line 53: Procedure insert_dml(p_rec in out ota_pmm_shd.g_rec_type) is

49: -- Internal Development Use Only.
50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure insert_dml(p_rec in out ota_pmm_shd.g_rec_type) is
54: --
55: l_proc varchar2(72) := g_package||'insert_dml';
56: --
57: Begin

Line 61: ota_pmm_shd.g_api_dml := true; -- Set the api dml status

57: Begin
58: hr_utility.set_location('Entering:'||l_proc, 5);
59: p_rec.object_version_number := 1; -- Initialise the object version
60: --
61: ota_pmm_shd.g_api_dml := true; -- Set the api dml status
62: --
63: -- Insert the row into: ota_program_memberships
64: --
65: insert into ota_program_memberships

Line 130: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status

126: p_rec.pmm_information19,
127: p_rec.pmm_information20
128: );
129: --
130: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status
131: --
132: hr_utility.set_location(' Leaving:'||l_proc, 10);
133: Exception
134: When hr_api.check_integrity_violated Then

Line 136: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status

132: hr_utility.set_location(' Leaving:'||l_proc, 10);
133: Exception
134: When hr_api.check_integrity_violated Then
135: -- A check constraint has been violated
136: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status
137: ota_pmm_shd.constraint_error
138: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
139: When hr_api.parent_integrity_violated Then
140: -- Parent integrity has been violated

Line 137: ota_pmm_shd.constraint_error

133: Exception
134: When hr_api.check_integrity_violated Then
135: -- A check constraint has been violated
136: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status
137: ota_pmm_shd.constraint_error
138: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
139: When hr_api.parent_integrity_violated Then
140: -- Parent integrity has been violated
141: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status

Line 141: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status

137: ota_pmm_shd.constraint_error
138: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
139: When hr_api.parent_integrity_violated Then
140: -- Parent integrity has been violated
141: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status
142: ota_pmm_shd.constraint_error
143: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
144: When hr_api.unique_integrity_violated Then
145: -- Unique integrity has been violated

Line 142: ota_pmm_shd.constraint_error

138: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
139: When hr_api.parent_integrity_violated Then
140: -- Parent integrity has been violated
141: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status
142: ota_pmm_shd.constraint_error
143: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
144: When hr_api.unique_integrity_violated Then
145: -- Unique integrity has been violated
146: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status

Line 146: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status

142: ota_pmm_shd.constraint_error
143: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
144: When hr_api.unique_integrity_violated Then
145: -- Unique integrity has been violated
146: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status
147: ota_pmm_shd.constraint_error
148: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
149: When Others Then
150: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status

Line 147: ota_pmm_shd.constraint_error

143: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
144: When hr_api.unique_integrity_violated Then
145: -- Unique integrity has been violated
146: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status
147: ota_pmm_shd.constraint_error
148: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
149: When Others Then
150: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status
151: Raise;

Line 150: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status

146: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status
147: ota_pmm_shd.constraint_error
148: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
149: When Others Then
150: ota_pmm_shd.g_api_dml := false; -- Unset the api dml status
151: Raise;
152: End insert_dml;
153: --
154: -- ----------------------------------------------------------------------------

Line 191: Procedure pre_insert(p_rec in out ota_pmm_shd.g_rec_type) is

187: -- Internal Development Use Only.
188: --
189: -- {End Of Comments}
190: -- ----------------------------------------------------------------------------
191: Procedure pre_insert(p_rec in out ota_pmm_shd.g_rec_type) is
192: --
193: l_proc varchar2(72) := g_package||'pre_insert';
194: --
195: Cursor C_Sel1 is select ota_program_memberships_s.nextval from sys.dual;

Line 242: Procedure post_insert(p_rec in ota_pmm_shd.g_rec_type) is

238: -- Internal Development Use Only.
239: --
240: -- {End Of Comments}
241: -- ----------------------------------------------------------------------------
242: Procedure post_insert(p_rec in ota_pmm_shd.g_rec_type) is
243: --
244: l_proc varchar2(72) := g_package||'post_insert';
245: --
246: Begin

Line 257: p_rec in out ota_pmm_shd.g_rec_type,

253: -- |---------------------------------< ins >----------------------------------|
254: -- ----------------------------------------------------------------------------
255: Procedure ins
256: (
257: p_rec in out ota_pmm_shd.g_rec_type,
258: p_validate in boolean default false
259: ) is
260: --
261: l_proc varchar2(72) := g_package||'ins';

Line 345: l_rec ota_pmm_shd.g_rec_type;

341: p_pmm_information20 in varchar2 default null,
342: p_validate in boolean default false
343: ) is
344: --
345: l_rec ota_pmm_shd.g_rec_type;
346: l_proc varchar2(72) := g_package||'ins';
347: --
348: Begin
349: hr_utility.set_location('Entering:'||l_proc, 5);

Line 355: ota_pmm_shd.convert_args

351: -- Call conversion function to turn arguments into the
352: -- p_rec structure.
353: --
354: l_rec :=
355: ota_pmm_shd.convert_args
356: (
357: null,
358: p_event_id,
359: p_program_event_id,