17: --
18: Begin
19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PER_ASSIGNMENT_EXTRA_INFO_FK1') Then
22: hr_utility.set_message(800, 'HR_INV_INFO_TYPE 1');
23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'PER_ASSIGNMENT_EXTRA_INFO_FK2') Then
25: hr_utility.set_message(800, 'HR_INV_ASG_ID');
20: --
21: If (p_constraint_name = 'PER_ASSIGNMENT_EXTRA_INFO_FK1') Then
22: hr_utility.set_message(800, 'HR_INV_INFO_TYPE 1');
23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'PER_ASSIGNMENT_EXTRA_INFO_FK2') Then
25: hr_utility.set_message(800, 'HR_INV_ASG_ID');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PER_ASSIGNMENT_EXTRA_INFO_PK') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'PER_ASSIGNMENT_EXTRA_INFO_FK2') Then
25: hr_utility.set_message(800, 'HR_INV_ASG_ID');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PER_ASSIGNMENT_EXTRA_INFO_PK') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','15');
31: hr_utility.raise_error;
112: aei_information28,
113: aei_information29,
114: aei_information30,
115: object_version_number
116: from per_assignment_extra_info
117: where assignment_extra_info_id = p_assignment_extra_info_id;
118: --
119: l_proc varchar2(72) := g_package||'api_updating';
120: l_fct_ret boolean;
242: aei_information28,
243: aei_information29,
244: aei_information30,
245: object_version_number
246: from per_assignment_extra_info
247: where assignment_extra_info_id = p_assignment_extra_info_id
248: for update nowait;
249: --
250: l_proc varchar2(72) := g_package||'lck';
285: -- The object is locked therefore we need to supply a meaningful
286: -- error message.
287: --
288: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
289: hr_utility.set_message_token('TABLE_NAME', 'per_assignment_extra_info');
290: hr_utility.raise_error;
291: End lck;
292: --
293: -- ----------------------------------------------------------------------------