DBA Data[Home] [Help]

APPS.SSP_STP_INS dependencies on SSP_STP_SHD

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

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

Line 90: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status

86: p_rec.withhold_from,
87: p_rec.withhold_to
88: );
89: --
90: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
91: --
92: hr_utility.set_location(' Leaving:'||l_proc, 10);
93: Exception
94: When hr_api.check_integrity_violated Then

Line 96: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status

92: hr_utility.set_location(' Leaving:'||l_proc, 10);
93: Exception
94: When hr_api.check_integrity_violated Then
95: -- A check constraint has been violated
96: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
97: ssp_stp_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When hr_api.parent_integrity_violated Then
100: -- Parent integrity has been violated

Line 97: ssp_stp_shd.constraint_error

93: Exception
94: When hr_api.check_integrity_violated Then
95: -- A check constraint has been violated
96: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
97: ssp_stp_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When hr_api.parent_integrity_violated Then
100: -- Parent integrity has been violated
101: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status

Line 101: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status

97: ssp_stp_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When hr_api.parent_integrity_violated Then
100: -- Parent integrity has been violated
101: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
102: ssp_stp_shd.constraint_error
103: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
104: When hr_api.unique_integrity_violated Then
105: -- Unique integrity has been violated

Line 102: ssp_stp_shd.constraint_error

98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When hr_api.parent_integrity_violated Then
100: -- Parent integrity has been violated
101: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
102: ssp_stp_shd.constraint_error
103: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
104: When hr_api.unique_integrity_violated Then
105: -- Unique integrity has been violated
106: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status

Line 106: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status

102: ssp_stp_shd.constraint_error
103: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
104: When hr_api.unique_integrity_violated Then
105: -- Unique integrity has been violated
106: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
107: ssp_stp_shd.constraint_error
108: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
109: When Others Then
110: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status

Line 107: ssp_stp_shd.constraint_error

103: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
104: When hr_api.unique_integrity_violated Then
105: -- Unique integrity has been violated
106: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
107: ssp_stp_shd.constraint_error
108: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
109: When Others Then
110: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
111: Raise;

Line 110: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status

106: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
107: ssp_stp_shd.constraint_error
108: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
109: When Others Then
110: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
111: Raise;
112: End insert_dml;
113: --
114: -- ----------------------------------------------------------------------------

Line 151: Procedure pre_insert(p_rec in out ssp_stp_shd.g_rec_type) is

147: -- Internal Table Handler Use Only.
148: --
149: -- {End Of Comments}
150: -- ----------------------------------------------------------------------------
151: Procedure pre_insert(p_rec in out ssp_stp_shd.g_rec_type) is
152: --
153: l_proc varchar2(72) := g_package||'pre_insert';
154: --
155: Cursor C_Sel1 is select ssp_stoppages_s.nextval from sys.dual;

Line 202: Procedure post_insert(p_rec in ssp_stp_shd.g_rec_type) is

198: -- Internal Table Handler Use Only.
199: --
200: -- {End Of Comments}
201: -- ----------------------------------------------------------------------------
202: Procedure post_insert(p_rec in ssp_stp_shd.g_rec_type) is
203: --
204: l_proc varchar2(72) := g_package||'post_insert';
205: --
206: Begin

Line 217: p_rec in out ssp_stp_shd.g_rec_type,

213: -- |---------------------------------< ins >----------------------------------|
214: -- ----------------------------------------------------------------------------
215: Procedure ins
216: (
217: p_rec in out ssp_stp_shd.g_rec_type,
218: p_validate in boolean default false
219: ) is
220: --
221: l_proc varchar2(72) := g_package||'ins';

Line 285: l_rec ssp_stp_shd.g_rec_type;

281: p_employee_notified in varchar2 default 'N',
282: p_validate in boolean default false
283: ) is
284: --
285: l_rec ssp_stp_shd.g_rec_type;
286: l_proc varchar2(72) := g_package||'ins';
287: --
288: Begin
289: hr_utility.set_location('Entering:'||l_proc, 5);

Line 295: ssp_stp_shd.convert_args

291: -- Call conversion function to turn arguments into the
292: -- p_rec structure.
293: --
294: l_rec :=
295: ssp_stp_shd.convert_args
296: (
297: null,
298: null,
299: p_absence_attendance_id,