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;
132: where contact_relationship_id = p_rec.contact_relationship_id;
133: --
134: per_ctr_shd.g_api_dml := false; -- Unset the api dml status
135: --
136: hr_utility.set_location(' Leaving:'||l_proc, 10);
137: --
138: Exception
139: When hr_api.check_integrity_violated Then
140: -- A check constraint has been violated
192: --
193: l_proc varchar2(72) := g_package||'pre_update';
194: --
195: Begin
196: hr_utility.set_location('Entering:'||l_proc, 5);
197: --
198: hr_utility.set_location(' Leaving:'||l_proc, 10);
199: End pre_update;
200: --
194: --
195: Begin
196: hr_utility.set_location('Entering:'||l_proc, 5);
197: --
198: hr_utility.set_location(' Leaving:'||l_proc, 10);
199: End pre_update;
200: --
201: -- ----------------------------------------------------------------------------
202: -- |-----------------------------< post_update >------------------------------|
243: -- End of fix for WWBUG 1408379
244: --
245: --
246: Begin
247: hr_utility.set_location('Entering:'||l_proc, 5);
248: --
249: -- Start of API User Hook for post_update.
250: begin
251: per_ctr_rku.after_update
485: --
486: --
487: -- End of API User Hook for post_update.
488: --
489: hr_utility.set_location(' Leaving:'||l_proc, 10);
490: End post_update;
491: --
492: -- ----------------------------------------------------------------------------
493: -- |-----------------------------< convert_defs >-----------------------------|
538: l_proc varchar2(72) := g_package||'convert_defs';
539: --
540: Begin
541: --
542: hr_utility.set_location('Entering:'||l_proc, 5);
543: --
544: -- We must now examine each argument value in the
545: -- p_rec plsql record structure
546: -- to see if a system default is being used. If a system default
798: p_rec.beneficiary_flag :=
799: per_ctr_shd.g_old_rec.beneficiary_flag;
800: End If;
801: --
802: hr_utility.set_location(' Leaving:'||l_proc, 10);
803: --
804: End convert_defs;
805: --
806: -- ----------------------------------------------------------------------------
815: --
816: l_proc varchar2(72) := g_package||'upd';
817: --
818: Begin
819: hr_utility.set_location('Entering:'||l_proc, 5);
820: --
821: -- Determine if the business process is to be validated.
822: --
823: If p_validate then
863: If p_validate then
864: Raise HR_Api.Validate_Enabled;
865: End If;
866: --
867: hr_utility.set_location(' Leaving:'||l_proc, 10);
868: Exception
869: When HR_Api.Validate_Enabled Then
870: --
871: -- As the Validate_Enabled exception has been raised
948: l_rec per_ctr_shd.g_rec_type;
949: l_proc varchar2(72) := g_package||'upd';
950: --
951: Begin
952: hr_utility.set_location('Entering:'||l_proc, 5);
953: --
954: -- Call conversion function to turn arguments into the
955: -- l_rec structure.
956: --
1030: --
1031: upd(l_rec, p_effective_date, p_validate);
1032: p_object_version_number := l_rec.object_version_number;
1033: --
1034: hr_utility.set_location(' Leaving:'||l_proc, 10);
1035: End upd;
1036: --
1037: end per_ctr_upd;