57: --
58: l_proc varchar2(72) := g_package||'update_dml';
59: --
60: Begin
61: hr_utility.set_location('Entering:'||l_proc, 5);
62: --
63: -- Increment the object version
64: p_rec.object_version_number := p_rec.object_version_number + 1;
65: --
160: where absence_attendance_id = p_rec.absence_attendance_id;
161: --
162: per_abs_shd.g_api_dml := false; -- Unset the api dml status
163: --
164: hr_utility.set_location(' Leaving:'||l_proc, 10);
165: --
166: Exception
167: When hr_api.check_integrity_violated Then
168: -- A check constraint has been violated
224: l_proc varchar2(72) := g_package||'pre_update';
225: --
226: Begin
227:
228: hr_utility.set_location('Entering:'||l_proc, 5);
229:
230: /*
231: per_abs_bus.chk_cal_duration
232: (p_absence_attendance_id => p_rec.absence_attendance_id
254: --
255: p_rec.absence_hours := per_abs_shd.g_absence_hours;
256: p_rec.absence_days := per_abs_shd.g_absence_days;
257:
258: hr_utility.set_location(' Leaving:'||l_proc, 10);
259:
260: End pre_update;
261: --
262: -- ----------------------------------------------------------------------------
298: --
299: l_proc varchar2(72) := g_package||'post_update';
300: --
301: Begin
302: hr_utility.set_location('Entering:'||l_proc, 5);
303: begin
304:
305: per_abs_rku.after_update
306: (p_effective_date => p_effective_date
663: ,p_hook_type => 'AU');
664: --
665: end;
666: --
667: hr_utility.set_location(' Leaving:'||l_proc, 10);
668: End post_update;
669: --
670: -- ----------------------------------------------------------------------------
671: -- |-----------------------------< convert_defs >-----------------------------|
1085: --
1086: l_proc varchar2(72) := g_package||'upd';
1087: --
1088: Begin
1089: hr_utility.set_location('Entering:'||l_proc, 5);
1090: --
1091: -- We must lock the row which we need to update.
1092: --
1093: per_abs_shd.lck
1241: l_proc varchar2(72) := g_package||'upd';
1242: --
1243: --
1244: Begin
1245: hr_utility.set_location('Entering:'||l_proc, 5);
1246: --
1247: -- Call conversion function to turn arguments into the
1248: -- l_rec structure.
1249: --
1337: ,p_absence_case_id
1338: ,p_batch_id
1339: ,p_object_version_number
1340: );
1341: hr_utility.set_location(l_proc, 6);
1342: --
1343: -- Having converted the arguments into the
1344: -- plsql record structure we call the corresponding record
1345: -- business process.
1360: p_absence_days := l_rec.absence_days;
1361: p_absence_hours := l_rec.absence_hours;
1362:
1363: --
1364: hr_utility.set_location(' Leaving:'||l_proc, 10);
1365:
1366: End upd;
1367: --
1368: end per_abs_upd;