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;
76: context = p_rec.context
77: where special_attribute_id = p_rec.special_attribute_id;
78: --
79: --
80: hr_utility.set_location(' Leaving:'||l_proc, 10);
81: --
82: Exception
83: When hr_api.check_integrity_violated Then
84: -- A check constraint has been violated
132: --
133: l_proc varchar2(72) := g_package||'pre_update';
134: --
135: Begin
136: hr_utility.set_location('Entering:'||l_proc, 5);
137: --
138: hr_utility.set_location(' Leaving:'||l_proc, 10);
139: End pre_update;
140: --
134: --
135: Begin
136: hr_utility.set_location('Entering:'||l_proc, 5);
137: --
138: hr_utility.set_location(' Leaving:'||l_proc, 10);
139: End pre_update;
140: --
141: -- ----------------------------------------------------------------------------
142: -- |-----------------------------< post_update >------------------------------|
175: --
176: l_proc varchar2(72) := g_package||'post_update';
177: --
178: Begin
179: hr_utility.set_location('Entering:'||l_proc, 5);
180: --
181: --
182: -- Start of API User Hook for post_update.
183: --
219: --
220: -- End of API User Hook for post_update.
221: --
222: --
223: hr_utility.set_location(' Leaving:'||l_proc, 10);
224: End post_update;
225: --
226: -- ----------------------------------------------------------------------------
227: -- |-----------------------------< convert_defs >-----------------------------|
271: l_proc varchar2(72) := g_package||'convert_defs';
272: --
273: Begin
274: --
275: hr_utility.set_location('Entering:'||l_proc, 5);
276: --
277: -- We must now examine each argument value in the
278: -- p_rec plsql record structure
279: -- to see if a system default is being used. If a system default
311: p_rec.context :=
312: pqh_sat_shd.g_old_rec.context;
313: End If;
314: --
315: hr_utility.set_location(' Leaving:'||l_proc, 10);
316: --
317: End convert_defs;
318: --
319: -- ----------------------------------------------------------------------------
327: --
328: l_proc varchar2(72) := g_package||'upd';
329: --
330: Begin
331: hr_utility.set_location('Entering:'||l_proc, 5);
332: --
333: -- We must lock the row which we need to update.
334: --
335: pqh_sat_shd.lck
383: l_rec pqh_sat_shd.g_rec_type;
384: l_proc varchar2(72) := g_package||'upd';
385: --
386: Begin
387: hr_utility.set_location('Entering:'||l_proc, 5);
388: --
389: -- Call conversion function to turn arguments into the
390: -- l_rec structure.
391: --
411: upd(
412: p_effective_date,l_rec);
413: p_object_version_number := l_rec.object_version_number;
414: --
415: hr_utility.set_location(' Leaving:'||l_proc, 10);
416: End upd;
417: --
418: end pqh_sat_upd;