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: --
103: where position_structure_id = p_rec.position_structure_id;
104: --
105: per_pst_shd.g_api_dml := false; -- Unset the api dml status
106: --
107: hr_utility.set_location(' Leaving:'||l_proc, 10);
108: --
109: Exception
110: When hr_api.check_integrity_violated Then
111: -- A check constraint has been violated
165: --
166: l_proc varchar2(72) := g_package||'pre_update';
167: --
168: Begin
169: hr_utility.set_location('Entering:'||l_proc, 5);
170: --
171: hr_utility.set_location(' Leaving:'||l_proc, 10);
172: End pre_update;
173: --
167: --
168: Begin
169: hr_utility.set_location('Entering:'||l_proc, 5);
170: --
171: hr_utility.set_location(' Leaving:'||l_proc, 10);
172: End pre_update;
173: --
174: -- ----------------------------------------------------------------------------
175: -- |-----------------------------< post_update >------------------------------|
210: --
211: l_proc varchar2(72) := g_package||'post_update';
212: --
213: Begin
214: hr_utility.set_location('Entering:'||l_proc, 5);
215: begin
216: --
217: per_pst_rku.after_update
218: (p_effective_date => p_effective_date
349: ,p_hook_type => 'AU');
350: --
351: end;
352: --
353: hr_utility.set_location(' Leaving:'||l_proc, 10);
354: End post_update;
355: --
356: -- ----------------------------------------------------------------------------
357: -- |-----------------------------< convert_defs >-----------------------------|
536: --
537: l_proc varchar2(72) := g_package||'upd';
538: --
539: Begin
540: hr_utility.set_location('Entering:'||l_proc, 5);
541: --
542: -- We must lock the row which we need to update.
543: --
544: per_pst_shd.lck
615: l_rec per_pst_shd.g_rec_type;
616: l_proc varchar2(72) := g_package||'upd';
617: --
618: Begin
619: hr_utility.set_location('Entering:'||l_proc, 5);
620: --
621: -- Call conversion function to turn arguments into the
622: -- l_rec structure.
623: --
665: ,l_rec
666: );
667: p_object_version_number := l_rec.object_version_number;
668: --
669: hr_utility.set_location(' Leaving:'||l_proc, 10);
670: End upd;
671: --
672: end per_pst_upd;