DBA Data[Home] [Help]

APPS.OTA_TFL_API_INS dependencies on OTA_TFL_API_SHD

Line 75: Procedure insert_dml(p_rec in out nocopy ota_tfl_api_shd.g_rec_type) is

71: -- Internal Development Use Only.
72: --
73: -- {End Of Comments}
74: -- ----------------------------------------------------------------------------
75: Procedure insert_dml(p_rec in out nocopy ota_tfl_api_shd.g_rec_type) is
76: --
77: l_proc varchar2(72) := g_package||'insert_dml';
78: --
79: Begin

Line 83: ota_tfl_api_shd.g_api_dml := true; -- Set the api dml status

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

Line 214: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status

210: p_rec.tfl_information19,
211: p_rec.tfl_information20
212: );
213: --
214: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status
215: --
216: hr_utility.set_location(' Leaving:'||l_proc, 10);
217: Exception
218: When hr_api.check_integrity_violated Then

Line 220: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status

216: hr_utility.set_location(' Leaving:'||l_proc, 10);
217: Exception
218: When hr_api.check_integrity_violated Then
219: -- A check constraint has been violated
220: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status
221: ota_tfl_api_shd.constraint_error
222: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
223: When hr_api.parent_integrity_violated Then
224: -- Parent integrity has been violated

Line 221: ota_tfl_api_shd.constraint_error

217: Exception
218: When hr_api.check_integrity_violated Then
219: -- A check constraint has been violated
220: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status
221: ota_tfl_api_shd.constraint_error
222: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
223: When hr_api.parent_integrity_violated Then
224: -- Parent integrity has been violated
225: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status

Line 225: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status

221: ota_tfl_api_shd.constraint_error
222: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
223: When hr_api.parent_integrity_violated Then
224: -- Parent integrity has been violated
225: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status
226: ota_tfl_api_shd.constraint_error
227: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
228: When hr_api.unique_integrity_violated Then
229: -- Unique integrity has been violated

Line 226: ota_tfl_api_shd.constraint_error

222: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
223: When hr_api.parent_integrity_violated Then
224: -- Parent integrity has been violated
225: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status
226: ota_tfl_api_shd.constraint_error
227: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
228: When hr_api.unique_integrity_violated Then
229: -- Unique integrity has been violated
230: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status

Line 230: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status

226: ota_tfl_api_shd.constraint_error
227: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
228: When hr_api.unique_integrity_violated Then
229: -- Unique integrity has been violated
230: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status
231: ota_tfl_api_shd.constraint_error
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When Others Then
234: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status

Line 231: ota_tfl_api_shd.constraint_error

227: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
228: When hr_api.unique_integrity_violated Then
229: -- Unique integrity has been violated
230: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status
231: ota_tfl_api_shd.constraint_error
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When Others Then
234: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status
235: Raise;

Line 234: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status

230: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status
231: ota_tfl_api_shd.constraint_error
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When Others Then
234: ota_tfl_api_shd.g_api_dml := false; -- Unset the api dml status
235: Raise;
236: End insert_dml;
237: --
238: -- ----------------------------------------------------------------------------

Line 275: Procedure pre_insert(p_rec in out nocopy ota_tfl_api_shd.g_rec_type) is

271: -- Internal Development Use Only.
272: --
273: -- {End Of Comments}
274: -- ----------------------------------------------------------------------------
275: Procedure pre_insert(p_rec in out nocopy ota_tfl_api_shd.g_rec_type) is
276: --
277: l_proc varchar2(72) := g_package||'pre_insert';
278: --
279: Cursor C_Sel1 is select ota_finance_lines_s.nextval from sys.dual;

Line 365: Procedure post_insert(p_rec in ota_tfl_api_shd.g_rec_type) is

361: -- Internal Development Use Only.
362: --
363: -- {End Of Comments}
364: -- ----------------------------------------------------------------------------
365: Procedure post_insert(p_rec in ota_tfl_api_shd.g_rec_type) is
366: --
367: l_proc varchar2(72) := g_package||'post_insert';
368: --
369: Begin

Line 380: p_rec in out nocopy ota_tfl_api_shd.g_rec_type,

376: -- |---------------------------------< ins >----------------------------------|
377: -- ----------------------------------------------------------------------------
378: Procedure ins
379: (
380: p_rec in out nocopy ota_tfl_api_shd.g_rec_type,
381: p_validate in boolean default false,
382: p_transaction_type in varchar2
383: ) is
384: --

Line 501: l_rec ota_tfl_api_shd.g_rec_type;

497: p_validate in boolean default false,
498: p_transaction_type in varchar2
499: ) is
500: --
501: l_rec ota_tfl_api_shd.g_rec_type;
502: l_proc varchar2(72) := g_package||'ins';
503: --
504: Begin
505: hr_utility.set_location('Entering:'||l_proc, 5);

Line 511: ota_tfl_api_shd.convert_args

507: -- Call conversion function to turn arguments into the
508: -- p_rec structure.
509: --
510: l_rec :=
511: ota_tfl_api_shd.convert_args
512: (
513: null,
514: p_finance_header_id,
515: p_cancelled_flag,