[Home] [Help]
18: --
19: Begin
20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'GHR_NOAC_LAS_FK1') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'GHR_NOAC_LAS_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','10');
31: hr_utility.raise_error;
61: date_to,
62: object_version_number,
63: valid_first_lac_flag,
64: valid_second_lac_flag
65: from ghr_noac_las
66: where noac_la_id = p_noac_la_id;
67: --
68: l_proc varchar2(72) := g_package||'api_updating';
69: l_fct_ret boolean;
139: date_to,
140: object_version_number,
141: valid_first_lac_flag,
142: valid_second_lac_flag
143: from ghr_noac_las
144: where noac_la_id = p_noac_la_id
145: for update nowait;
146: --
147: l_proc varchar2(72) := g_package||'lck';
182: -- The object is locked therefore we need to supply a meaningful
183: -- error message.
184: --
185: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
186: hr_utility.set_message_token('TABLE_NAME', 'ghr_noac_las');
187: hr_utility.raise_error;
188: End lck;
189: --
190: -- ----------------------------------------------------------------------------