DBA Data[Home] [Help]

APPS.SSP_MAT_INS dependencies on SSP_MAT_SHD

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

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

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

Line 218: ssp_mat_shd.g_api_dml := false; -- Unset the api dml status

214: p_rec.partner_return_to_work,
215: p_rec.partner_death_date
216: );
217: --
218: ssp_mat_shd.g_api_dml := false; -- Unset the api dml status
219: --
220: hr_utility.set_location(' Leaving:'||l_proc, 10);
221: Exception
222: When hr_api.check_integrity_violated Then

Line 224: ssp_mat_shd.g_api_dml := false; -- Unset the api dml status

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

Line 225: ssp_mat_shd.constraint_error

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

Line 229: ssp_mat_shd.g_api_dml := false; -- Unset the api dml status

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

Line 230: ssp_mat_shd.constraint_error

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

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

230: ssp_mat_shd.constraint_error
231: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
232: When hr_api.unique_integrity_violated Then
233: -- Unique integrity has been violated
234: ssp_mat_shd.g_api_dml := false; -- Unset the api dml status
235: ssp_mat_shd.constraint_error
236: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
237: When Others Then
238: ssp_mat_shd.g_api_dml := false; -- Unset the api dml status

Line 235: ssp_mat_shd.constraint_error

231: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
232: When hr_api.unique_integrity_violated Then
233: -- Unique integrity has been violated
234: ssp_mat_shd.g_api_dml := false; -- Unset the api dml status
235: ssp_mat_shd.constraint_error
236: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
237: When Others Then
238: ssp_mat_shd.g_api_dml := false; -- Unset the api dml status
239: Raise;

Line 238: ssp_mat_shd.g_api_dml := false; -- Unset the api dml status

234: ssp_mat_shd.g_api_dml := false; -- Unset the api dml status
235: ssp_mat_shd.constraint_error
236: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
237: When Others Then
238: ssp_mat_shd.g_api_dml := false; -- Unset the api dml status
239: Raise;
240: End insert_dml;
241: --
242: -- ----------------------------------------------------------------------------

Line 279: Procedure pre_insert(p_rec in out nocopy ssp_mat_shd.g_rec_type) is

275: -- Internal Table Handler Use Only.
276: --
277: -- {End Of Comments}
278: -- ----------------------------------------------------------------------------
279: Procedure pre_insert(p_rec in out nocopy ssp_mat_shd.g_rec_type) is
280: --
281: l_proc varchar2(72) := g_package||'pre_insert';
282: --
283: Cursor C_Sel1 is select ssp_maternities_s.nextval from sys.dual;

Line 330: Procedure post_insert(p_rec in ssp_mat_shd.g_rec_type) is

326: -- Internal Table Handler Use Only.
327: --
328: -- {End Of Comments}
329: -- ----------------------------------------------------------------------------
330: Procedure post_insert(p_rec in ssp_mat_shd.g_rec_type) is
331: --
332: l_proc varchar2(72) := g_package||'post_insert';
333: --
334: Begin

Line 345: p_rec in out nocopy ssp_mat_shd.g_rec_type,

341: -- |---------------------------------< ins >----------------------------------|
342: -- ----------------------------------------------------------------------------
343: Procedure ins
344: (
345: p_rec in out nocopy ssp_mat_shd.g_rec_type,
346: p_validate in boolean default false
347: ) is
348: --
349: l_proc varchar2(72) := g_package||'ins';

Line 477: l_rec ssp_mat_shd.g_rec_type;

473: p_partner_return_to_work in date default null,
474: p_partner_death_date in date default null
475: ) is
476: --
477: l_rec ssp_mat_shd.g_rec_type;
478: l_proc varchar2(72) := g_package||'ins';
479: --
480: Begin
481: hr_utility.set_location('Entering:'||l_proc, 5);

Line 487: ssp_mat_shd.convert_args

483: -- Call conversion function to turn arguments into the
484: -- p_rec structure.
485: --
486: l_rec :=
487: ssp_mat_shd.convert_args
488: (
489: null,
490: p_due_date,
491: p_person_id,