DBA Data[Home] [Help]

APPS.OTA_PLE_INS dependencies on OTA_PLE_SHD

Line 53: Procedure insert_dml(p_rec in out ota_ple_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_ple_shd.g_rec_type) is
54: --
55: l_proc varchar2(72) := g_package||'insert_dml';
56: --
57: Begin

Line 61: ota_ple_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_ple_shd.g_api_dml := true; -- Set the api dml status
62: --
63: -- Insert the row into: ota_price_list_entries
64: --
65: insert into ota_price_list_entries

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

132: p_rec.ple_information19,
133: p_rec.ple_information20
134: );
135: --
136: ota_ple_shd.g_api_dml := false; -- Unset the api dml status
137: --
138: hr_utility.set_location(' Leaving:'||l_proc, 10);
139: Exception
140: When hr_api.check_integrity_violated Then

Line 142: ota_ple_shd.g_api_dml := false; -- Unset the api dml status

138: hr_utility.set_location(' Leaving:'||l_proc, 10);
139: Exception
140: When hr_api.check_integrity_violated Then
141: -- A check constraint has been violated
142: ota_ple_shd.g_api_dml := false; -- Unset the api dml status
143: ota_ple_shd.constraint_error
144: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
145: When hr_api.parent_integrity_violated Then
146: -- Parent integrity has been violated

Line 143: ota_ple_shd.constraint_error

139: Exception
140: When hr_api.check_integrity_violated Then
141: -- A check constraint has been violated
142: ota_ple_shd.g_api_dml := false; -- Unset the api dml status
143: ota_ple_shd.constraint_error
144: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
145: When hr_api.parent_integrity_violated Then
146: -- Parent integrity has been violated
147: ota_ple_shd.g_api_dml := false; -- Unset the api dml status

Line 147: ota_ple_shd.g_api_dml := false; -- Unset the api dml status

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

Line 148: ota_ple_shd.constraint_error

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

Line 152: ota_ple_shd.g_api_dml := false; -- Unset the api dml status

148: ota_ple_shd.constraint_error
149: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
150: When hr_api.unique_integrity_violated Then
151: -- Unique integrity has been violated
152: ota_ple_shd.g_api_dml := false; -- Unset the api dml status
153: ota_ple_shd.constraint_error
154: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
155: When Others Then
156: ota_ple_shd.g_api_dml := false; -- Unset the api dml status

Line 153: ota_ple_shd.constraint_error

149: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
150: When hr_api.unique_integrity_violated Then
151: -- Unique integrity has been violated
152: ota_ple_shd.g_api_dml := false; -- Unset the api dml status
153: ota_ple_shd.constraint_error
154: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
155: When Others Then
156: ota_ple_shd.g_api_dml := false; -- Unset the api dml status
157: Raise;

Line 156: ota_ple_shd.g_api_dml := false; -- Unset the api dml status

152: ota_ple_shd.g_api_dml := false; -- Unset the api dml status
153: ota_ple_shd.constraint_error
154: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
155: When Others Then
156: ota_ple_shd.g_api_dml := false; -- Unset the api dml status
157: Raise;
158: End insert_dml;
159: --
160: -- ----------------------------------------------------------------------------

Line 197: Procedure pre_insert(p_rec in out ota_ple_shd.g_rec_type) is

193: -- Internal Development Use Only.
194: --
195: -- {End Of Comments}
196: -- ----------------------------------------------------------------------------
197: Procedure pre_insert(p_rec in out ota_ple_shd.g_rec_type) is
198: --
199: l_proc varchar2(72) := g_package||'pre_insert';
200: --
201: Cursor C_Sel1 is select ota_price_list_entries_s.nextval from sys.dual;

Line 248: Procedure post_insert(p_rec in ota_ple_shd.g_rec_type) is

244: -- Internal Development Use Only.
245: --
246: -- {End Of Comments}
247: -- ----------------------------------------------------------------------------
248: Procedure post_insert(p_rec in ota_ple_shd.g_rec_type) is
249: --
250: l_proc varchar2(72) := g_package||'post_insert';
251: --
252: Begin

Line 263: p_rec in out ota_ple_shd.g_rec_type,

259: -- |---------------------------------< ins >----------------------------------|
260: -- ----------------------------------------------------------------------------
261: Procedure ins
262: (
263: p_rec in out ota_ple_shd.g_rec_type,
264: p_validate in boolean default false
265: ) is
266: --
267: l_proc varchar2(72) := g_package||'ins';

Line 354: l_rec ota_ple_shd.g_rec_type;

350: p_ple_information20 in varchar2 default null,
351: p_validate in boolean default false
352: ) is
353: --
354: l_rec ota_ple_shd.g_rec_type;
355: l_proc varchar2(72) := g_package||'ins';
356: --
357: Begin
358: hr_utility.set_location('Entering:'||l_proc, 5);

Line 364: ota_ple_shd.convert_args

360: -- Call conversion function to turn arguments into the
361: -- p_rec structure.
362: --
363: l_rec :=
364: ota_ple_shd.convert_args
365: (
366: null,
367: p_vendor_supply_id,
368: p_activity_version_id,