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;
78: where person_action_id = p_rec.person_action_id;
79: --
80: ben_act_shd.g_api_dml := false; -- Unset the api dml status
81: --
82: hr_utility.set_location(' Leaving:'||l_proc, 10);
83: --
84: Exception
85: When hr_api.check_integrity_violated Then
86: -- A check constraint has been violated
138: --
139: l_proc varchar2(72) := g_package||'pre_update';
140: --
141: Begin
142: hr_utility.set_location('Entering:'||l_proc, 5);
143: --
144: hr_utility.set_location(' Leaving:'||l_proc, 10);
145: End pre_update;
146: --
140: --
141: Begin
142: hr_utility.set_location('Entering:'||l_proc, 5);
143: --
144: hr_utility.set_location(' Leaving:'||l_proc, 10);
145: End pre_update;
146: --
147: -- ----------------------------------------------------------------------------
148: -- |-----------------------------< post_update >------------------------------|
181: --
182: l_proc varchar2(72) := g_package||'post_update';
183: --
184: Begin
185: hr_utility.set_location('Entering:'||l_proc, 5);
186: --
187: --
188: -- Start of API User Hook for post_update.
189: --
217: --
218: -- End of API User Hook for post_update.
219: --
220: --
221: hr_utility.set_location(' Leaving:'||l_proc, 10);
222: End post_update;
223: --
224: -- ----------------------------------------------------------------------------
225: -- |-----------------------------< convert_defs >-----------------------------|
269: l_proc varchar2(72) := g_package||'convert_defs';
270: --
271: Begin
272: --
273: hr_utility.set_location('Entering:'||l_proc, 5);
274: --
275: -- We must now examine each argument value in the
276: -- p_rec plsql record structure
277: -- to see if a system default is being used. If a system default
298: ben_act_shd.g_old_rec.chunk_number;
299: End If;
300:
301: --
302: hr_utility.set_location(' Leaving:'||l_proc, 10);
303: --
304: End convert_defs;
305: --
306: -- ----------------------------------------------------------------------------
314: --
315: l_proc varchar2(72) := g_package||'upd';
316: --
317: Begin
318: hr_utility.set_location('Entering:'||l_proc, 5);
319: --
320: -- We must lock the row which we need to update.
321: --
322: ben_act_shd.lck
366: l_rec ben_act_shd.g_rec_type;
367: l_proc varchar2(72) := g_package||'upd';
368: --
369: Begin
370: hr_utility.set_location('Entering:'||l_proc, 5);
371: --
372: -- Call conversion function to turn arguments into the
373: -- l_rec structure.
374: --
391: upd(
392: p_effective_date,l_rec);
393: p_object_version_number := l_rec.object_version_number;
394: --
395: hr_utility.set_location(' Leaving:'||l_proc, 10);
396: End upd;
397: --
398: end ben_act_upd;