55: --
56: l_proc varchar2(72) := g_package||'update_dml';
57: --
58: Begin
59: hr_utility.set_location('Entering:'||l_proc, 5);
60: --
61: -- Increment the object version
62: --
63: p_rec.object_version_number := p_rec.object_version_number + 1;
77: where pattern_bit_id = p_rec.pattern_bit_id;
78: --
79: hr_pab_shd.g_api_dml := false; -- Unset the api dml status
80: --
81: hr_utility.set_location(' Leaving:'||l_proc, 10);
82: --
83: Exception
84: When hr_api.check_integrity_violated Then
85: -- A check constraint has been violated
137: --
138: l_proc varchar2(72) := g_package||'pre_update';
139: --
140: Begin
141: hr_utility.set_location('Entering:'||l_proc, 5);
142: --
143: hr_utility.set_location(' Leaving:'||l_proc, 10);
144: End pre_update;
145: --
139: --
140: Begin
141: hr_utility.set_location('Entering:'||l_proc, 5);
142: --
143: hr_utility.set_location(' Leaving:'||l_proc, 10);
144: End pre_update;
145: --
146: -- ----------------------------------------------------------------------------
147: -- |-----------------------------< post_update >------------------------------|
179: --
180: l_proc varchar2(72) := g_package||'post_update';
181: --
182: Begin
183: hr_utility.set_location('Entering:'||l_proc, 5);
184: --
185: hr_utility.set_location(' Leaving:'||l_proc, 10);
186: End post_update;
187: --
181: --
182: Begin
183: hr_utility.set_location('Entering:'||l_proc, 5);
184: --
185: hr_utility.set_location(' Leaving:'||l_proc, 10);
186: End post_update;
187: --
188: -- ----------------------------------------------------------------------------
189: -- |-----------------------------< convert_defs >-----------------------------|
234: l_proc varchar2(72) := g_package||'convert_defs';
235: --
236: Begin
237: --
238: hr_utility.set_location('Entering:'||l_proc, 5);
239: --
240: -- We must now examine each argument value in the
241: -- p_rec plsql record structure
242: -- to see if a system default is being used. If a system default
259: hr_pab_shd.g_old_rec.base_time_unit;
260: End If;
261:
262: --
263: hr_utility.set_location(' Leaving:'||l_proc, 10);
264: --
265: End convert_defs;
266: --
267: -- ----------------------------------------------------------------------------
275: --
276: l_proc varchar2(72) := g_package||'upd';
277: --
278: Begin
279: hr_utility.set_location('Entering:'||l_proc, 5);
280: --
281: -- Determine if the business process is to be validated.
282: --
283: If p_validate then
321: If p_validate then
322: Raise HR_Api.Validate_Enabled;
323: End If;
324: --
325: hr_utility.set_location(' Leaving:'||l_proc, 10);
326: Exception
327: When HR_Api.Validate_Enabled Then
328: --
329: -- As the Validate_Enabled exception has been raised
349: l_rec hr_pab_shd.g_rec_type;
350: l_proc varchar2(72) := g_package||'upd';
351: --
352: Begin
353: hr_utility.set_location('Entering:'||l_proc, 5);
354: --
355: -- Call conversion function to turn arguments into the
356: -- l_rec structure.
357: --
372: --
373: upd(l_rec, p_validate);
374: p_object_version_number := l_rec.object_version_number;
375: --
376: hr_utility.set_location(' Leaving:'||l_proc, 10);
377: End upd;
378: --
379: end hr_pab_upd;