52: --
53: l_proc varchar2(72) := g_package||'update_dml';
54: --
55: Begin
56: hr_utility.set_location('Entering:'||l_proc, 5);
57: --
58: -- Increment the object version
59: --
60: p_rec.object_version_number := p_rec.object_version_number + 1;
74: context = p_rec.context
75: where copy_entity_function_id = p_rec.copy_entity_function_id;
76: --
77: --
78: hr_utility.set_location(' Leaving:'||l_proc, 10);
79: --
80: Exception
81: When hr_api.check_integrity_violated Then
82: -- A check constraint has been violated
130: --
131: l_proc varchar2(72) := g_package||'pre_update';
132: --
133: Begin
134: hr_utility.set_location('Entering:'||l_proc, 5);
135: --
136: hr_utility.set_location(' Leaving:'||l_proc, 10);
137: End pre_update;
138: --
132: --
133: Begin
134: hr_utility.set_location('Entering:'||l_proc, 5);
135: --
136: hr_utility.set_location(' Leaving:'||l_proc, 10);
137: End pre_update;
138: --
139: -- ----------------------------------------------------------------------------
140: -- |-----------------------------< post_update >------------------------------|
173: --
174: l_proc varchar2(72) := g_package||'post_update';
175: --
176: Begin
177: hr_utility.set_location('Entering:'||l_proc, 5);
178: --
179: --
180: -- Start of API User Hook for post_update.
181: --
213: --
214: -- End of API User Hook for post_update.
215: --
216: --
217: hr_utility.set_location(' Leaving:'||l_proc, 10);
218: End post_update;
219: --
220: -- ----------------------------------------------------------------------------
221: -- |-----------------------------< convert_defs >-----------------------------|
265: l_proc varchar2(72) := g_package||'convert_defs';
266: --
267: Begin
268: --
269: hr_utility.set_location('Entering:'||l_proc, 5);
270: --
271: -- We must now examine each argument value in the
272: -- p_rec plsql record structure
273: -- to see if a system default is being used. If a system default
297: p_rec.context :=
298: pqh_cef_shd.g_old_rec.context;
299: End If;
300: --
301: hr_utility.set_location(' Leaving:'||l_proc, 10);
302: --
303: End convert_defs;
304: --
305: -- ----------------------------------------------------------------------------
313: --
314: l_proc varchar2(72) := g_package||'upd';
315: --
316: Begin
317: hr_utility.set_location('Entering:'||l_proc, 5);
318: --
319: -- We must lock the row which we need to update.
320: --
321: pqh_cef_shd.lck
367: l_rec pqh_cef_shd.g_rec_type;
368: l_proc varchar2(72) := g_package||'upd';
369: --
370: Begin
371: hr_utility.set_location('Entering:'||l_proc, 5);
372: --
373: -- Call conversion function to turn arguments into the
374: -- l_rec structure.
375: --
393: upd(
394: p_effective_date,l_rec);
395: p_object_version_number := l_rec.object_version_number;
396: --
397: hr_utility.set_location(' Leaving:'||l_proc, 10);
398: End upd;
399: --
400: end pqh_cef_upd;