82: --
83: hr_utility.set_location(' Leaving:'||l_proc, 10);
84: --
85: Exception
86: When hr_api.check_integrity_violated Then
87: -- A check constraint has been violated
88: --
89: per_sls_shd.constraint_error
90: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
86: When hr_api.check_integrity_violated Then
87: -- A check constraint has been violated
88: --
89: per_sls_shd.constraint_error
90: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
91: When hr_api.parent_integrity_violated Then
92: -- Parent integrity has been violated
93: --
94: per_sls_shd.constraint_error
87: -- A check constraint has been violated
88: --
89: per_sls_shd.constraint_error
90: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
91: When hr_api.parent_integrity_violated Then
92: -- Parent integrity has been violated
93: --
94: per_sls_shd.constraint_error
95: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
91: When hr_api.parent_integrity_violated Then
92: -- Parent integrity has been violated
93: --
94: per_sls_shd.constraint_error
95: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
96: When hr_api.unique_integrity_violated Then
97: -- Unique integrity has been violated
98: --
99: per_sls_shd.constraint_error
92: -- Parent integrity has been violated
93: --
94: per_sls_shd.constraint_error
95: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
96: When hr_api.unique_integrity_violated Then
97: -- Unique integrity has been violated
98: --
99: per_sls_shd.constraint_error
100: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
96: When hr_api.unique_integrity_violated Then
97: -- Unique integrity has been violated
98: --
99: per_sls_shd.constraint_error
100: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
101: When Others Then
102: --
103: Raise;
104: End update_dml;
215: );
216: --
217: exception
218: --
219: when hr_api.cannot_find_prog_unit then
220: --
221: hr_api.cannot_find_prog_unit_error
222: (p_module_name => 'PER_SOLUTION_SETS'
223: ,p_hook_type => 'AU');
217: exception
218: --
219: when hr_api.cannot_find_prog_unit then
220: --
221: hr_api.cannot_find_prog_unit_error
222: (p_module_name => 'PER_SOLUTION_SETS'
223: ,p_hook_type => 'AU');
224: --
225: end;
280: -- p_rec plsql record structure
281: -- to see if a system default is being used. If a system default
282: -- is being used then we must set to the 'current' argument value.
283: --
284: If (p_rec.description = hr_api.g_varchar2) then
285: p_rec.description :=
286: per_sls_shd.g_old_rec.description;
287: End If;
288: If (p_rec.status = hr_api.g_varchar2) then
284: If (p_rec.description = hr_api.g_varchar2) then
285: p_rec.description :=
286: per_sls_shd.g_old_rec.description;
287: End If;
288: If (p_rec.status = hr_api.g_varchar2) then
289: p_rec.status :=
290: per_sls_shd.g_old_rec.status;
291: End If;
292: If (p_rec.solution_set_impl_id = hr_api.g_number) then
288: If (p_rec.status = hr_api.g_varchar2) then
289: p_rec.status :=
290: per_sls_shd.g_old_rec.status;
291: End If;
292: If (p_rec.solution_set_impl_id = hr_api.g_number) then
293: p_rec.solution_set_impl_id :=
294: per_sls_shd.g_old_rec.solution_set_impl_id;
295: End If;
296:
359: (p_effective_date in date
360: ,p_solution_set_name in varchar2
361: ,p_user_id in number
362: ,p_object_version_number in out nocopy number
363: ,p_status in varchar2 default hr_api.g_varchar2
364: ,p_solution_set_impl_id in number default hr_api.g_number
365: ,p_description in varchar2 default hr_api.g_varchar2
366: ) is
367: --
360: ,p_solution_set_name in varchar2
361: ,p_user_id in number
362: ,p_object_version_number in out nocopy number
363: ,p_status in varchar2 default hr_api.g_varchar2
364: ,p_solution_set_impl_id in number default hr_api.g_number
365: ,p_description in varchar2 default hr_api.g_varchar2
366: ) is
367: --
368: l_rec per_sls_shd.g_rec_type;
361: ,p_user_id in number
362: ,p_object_version_number in out nocopy number
363: ,p_status in varchar2 default hr_api.g_varchar2
364: ,p_solution_set_impl_id in number default hr_api.g_number
365: ,p_description in varchar2 default hr_api.g_varchar2
366: ) is
367: --
368: l_rec per_sls_shd.g_rec_type;
369: l_proc varchar2(72) := g_package||'upd';