DBA Data[Home] [Help]

APPS.SSP_STP_UPD dependencies on SSP_STP_SHD

Line 54: Procedure update_dml(p_rec in out ssp_stp_shd.g_rec_type) is

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

Line 65: ssp_stp_shd.g_api_dml := true; -- Set the api dml status

61: -- Increment the object version
62: --
63: p_rec.object_version_number := p_rec.object_version_number + 1;
64: --
65: ssp_stp_shd.g_api_dml := true; -- Set the api dml status
66: --
67: -- Update the ssp_stoppages Row
68: --
69: update ssp_stoppages

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

79: withhold_from = p_rec.withhold_from,
80: withhold_to = p_rec.withhold_to
81: where stoppage_id = p_rec.stoppage_id;
82: --
83: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
84: --
85: hr_utility.set_location(' Leaving:'||l_proc, 10);
86: --
87: Exception

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

86: --
87: Exception
88: When hr_api.check_integrity_violated Then
89: -- A check constraint has been violated
90: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
91: ssp_stp_shd.constraint_error
92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.parent_integrity_violated Then
94: -- Parent integrity has been violated

Line 91: ssp_stp_shd.constraint_error

87: Exception
88: When hr_api.check_integrity_violated Then
89: -- A check constraint has been violated
90: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
91: ssp_stp_shd.constraint_error
92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.parent_integrity_violated Then
94: -- Parent integrity has been violated
95: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status

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

91: ssp_stp_shd.constraint_error
92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.parent_integrity_violated Then
94: -- Parent integrity has been violated
95: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
96: ssp_stp_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When hr_api.unique_integrity_violated Then
99: -- Unique integrity has been violated

Line 96: ssp_stp_shd.constraint_error

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

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

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

Line 101: ssp_stp_shd.constraint_error

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

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

100: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
101: ssp_stp_shd.constraint_error
102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
103: When Others Then
104: ssp_stp_shd.g_api_dml := false; -- Unset the api dml status
105: Raise;
106: End update_dml;
107: --
108: -- ----------------------------------------------------------------------------

Line 140: Procedure pre_update(p_rec in ssp_stp_shd.g_rec_type) is

136: -- Internal Table Handler Use Only.
137: --
138: -- {End Of Comments}
139: -- ----------------------------------------------------------------------------
140: Procedure pre_update(p_rec in ssp_stp_shd.g_rec_type) is
141: --
142: l_proc varchar2(72) := g_package||'pre_update';
143: --
144: Begin

Line 182: Procedure post_update(p_rec in ssp_stp_shd.g_rec_type) is

178: -- Internal Table Handler Use Only.
179: --
180: -- {End Of Comments}
181: -- ----------------------------------------------------------------------------
182: Procedure post_update(p_rec in ssp_stp_shd.g_rec_type) is
183: --
184: l_proc varchar2(72) := g_package||'post_update';
185: --
186: Begin

Line 236: Procedure convert_defs(p_rec in out ssp_stp_shd.g_rec_type) is

232: -- Internal Table Handler Use Only.
233: --
234: -- {End Of Comments}
235: -- ----------------------------------------------------------------------------
236: Procedure convert_defs(p_rec in out ssp_stp_shd.g_rec_type) is
237: --
238: l_proc varchar2(72) := g_package||'convert_defs';
239: --
240: Begin

Line 251: ssp_stp_shd.g_old_rec.absence_attendance_id;

247: -- is being used then we must set to the 'current' argument value.
248: --
249: If (p_rec.absence_attendance_id = hr_api.g_number) then
250: p_rec.absence_attendance_id :=
251: ssp_stp_shd.g_old_rec.absence_attendance_id;
252: End If;
253: If (p_rec.maternity_id = hr_api.g_number) then
254: p_rec.maternity_id :=
255: ssp_stp_shd.g_old_rec.maternity_id;

Line 255: ssp_stp_shd.g_old_rec.maternity_id;

251: ssp_stp_shd.g_old_rec.absence_attendance_id;
252: End If;
253: If (p_rec.maternity_id = hr_api.g_number) then
254: p_rec.maternity_id :=
255: ssp_stp_shd.g_old_rec.maternity_id;
256: End If;
257: If (p_rec.reason_id = hr_api.g_number) then
258: p_rec.reason_id :=
259: ssp_stp_shd.g_old_rec.reason_id;

Line 259: ssp_stp_shd.g_old_rec.reason_id;

255: ssp_stp_shd.g_old_rec.maternity_id;
256: End If;
257: If (p_rec.reason_id = hr_api.g_number) then
258: p_rec.reason_id :=
259: ssp_stp_shd.g_old_rec.reason_id;
260: End If;
261: If (p_rec.user_entered = hr_api.g_varchar2) then
262: p_rec.user_entered :=
263: ssp_stp_shd.g_old_rec.user_entered;

Line 263: ssp_stp_shd.g_old_rec.user_entered;

259: ssp_stp_shd.g_old_rec.reason_id;
260: End If;
261: If (p_rec.user_entered = hr_api.g_varchar2) then
262: p_rec.user_entered :=
263: ssp_stp_shd.g_old_rec.user_entered;
264: End If;
265: If (p_rec.override_stoppage = hr_api.g_varchar2) then
266: p_rec.override_stoppage :=
267: ssp_stp_shd.g_old_rec.override_stoppage;

Line 267: ssp_stp_shd.g_old_rec.override_stoppage;

263: ssp_stp_shd.g_old_rec.user_entered;
264: End If;
265: If (p_rec.override_stoppage = hr_api.g_varchar2) then
266: p_rec.override_stoppage :=
267: ssp_stp_shd.g_old_rec.override_stoppage;
268: End If;
269: If (p_rec.employee_notified = hr_api.g_varchar2) then
270: p_rec.employee_notified :=
271: ssp_stp_shd.g_old_rec.employee_notified;

Line 271: ssp_stp_shd.g_old_rec.employee_notified;

267: ssp_stp_shd.g_old_rec.override_stoppage;
268: End If;
269: If (p_rec.employee_notified = hr_api.g_varchar2) then
270: p_rec.employee_notified :=
271: ssp_stp_shd.g_old_rec.employee_notified;
272: End If;
273: If (p_rec.withhold_from = hr_api.g_date) then
274: p_rec.withhold_from :=
275: ssp_stp_shd.g_old_rec.withhold_from;

Line 275: ssp_stp_shd.g_old_rec.withhold_from;

271: ssp_stp_shd.g_old_rec.employee_notified;
272: End If;
273: If (p_rec.withhold_from = hr_api.g_date) then
274: p_rec.withhold_from :=
275: ssp_stp_shd.g_old_rec.withhold_from;
276: End If;
277: If (p_rec.withhold_to = hr_api.g_date) then
278: p_rec.withhold_to :=
279: ssp_stp_shd.g_old_rec.withhold_to;

Line 279: ssp_stp_shd.g_old_rec.withhold_to;

275: ssp_stp_shd.g_old_rec.withhold_from;
276: End If;
277: If (p_rec.withhold_to = hr_api.g_date) then
278: p_rec.withhold_to :=
279: ssp_stp_shd.g_old_rec.withhold_to;
280: End If;
281: --
282: hr_utility.set_location(' Leaving:'||l_proc, 10);
283: --

Line 291: p_rec in out ssp_stp_shd.g_rec_type,

287: -- |---------------------------------< upd >----------------------------------|
288: -- ----------------------------------------------------------------------------
289: Procedure upd
290: (
291: p_rec in out ssp_stp_shd.g_rec_type,
292: p_validate in boolean default false
293: ) is
294: --
295: l_proc varchar2(72) := g_package||'upd';

Line 311: ssp_stp_shd.lck

307: End If;
308: --
309: -- We must lock the row which we need to update.
310: --
311: ssp_stp_shd.lck
312: (
313: p_rec.stoppage_id,
314: p_rec.object_version_number
315: );

Line 372: l_rec ssp_stp_shd.g_rec_type;

368: p_withhold_to in date default hr_api.g_date,
369: p_validate in boolean default false
370: ) is
371: --
372: l_rec ssp_stp_shd.g_rec_type;
373: l_proc varchar2(72) := g_package||'upd';
374: --
375: Begin
376: hr_utility.set_location('Entering:'||l_proc, 5);

Line 382: ssp_stp_shd.convert_args

378: -- Call conversion function to turn arguments into the
379: -- l_rec structure.
380: --
381: l_rec :=
382: ssp_stp_shd.convert_args
383: (
384: p_stoppage_id,
385: p_object_version_number,
386: p_absence_attendance_id,