DBA Data[Home] [Help]

APPS.PE_PEI_SHD dependencies on HR_UTILITY

Line 19: hr_utility.set_location('Entering:'||l_proc, 5);

15: --
16: l_proc varchar2(72) := g_package||'constraint_error';
17: --
18: Begin
19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PER_PEOPLE_EXTRA_INFO_FK1') Then
22: hr_utility.set_message(800, 'HR_INV_INFO_TYPE');
23: hr_utility.raise_error;

Line 22: hr_utility.set_message(800, 'HR_INV_INFO_TYPE');

18: Begin
19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PER_PEOPLE_EXTRA_INFO_FK1') Then
22: hr_utility.set_message(800, 'HR_INV_INFO_TYPE');
23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'PER_PEOPLE_EXTRA_INFO_PK') Then
25: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
26: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 23: hr_utility.raise_error;

19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PER_PEOPLE_EXTRA_INFO_FK1') Then
22: hr_utility.set_message(800, 'HR_INV_INFO_TYPE');
23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'PER_PEOPLE_EXTRA_INFO_PK') Then
25: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
26: hr_utility.set_message_token('PROCEDURE', l_proc);
27: hr_utility.set_message_token('STEP','10');

Line 25: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

21: If (p_constraint_name = 'PER_PEOPLE_EXTRA_INFO_FK1') Then
22: hr_utility.set_message(800, 'HR_INV_INFO_TYPE');
23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'PER_PEOPLE_EXTRA_INFO_PK') Then
25: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
26: hr_utility.set_message_token('PROCEDURE', l_proc);
27: hr_utility.set_message_token('STEP','10');
28: hr_utility.raise_error;
29: Else

Line 26: hr_utility.set_message_token('PROCEDURE', l_proc);

22: hr_utility.set_message(800, 'HR_INV_INFO_TYPE');
23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'PER_PEOPLE_EXTRA_INFO_PK') Then
25: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
26: hr_utility.set_message_token('PROCEDURE', l_proc);
27: hr_utility.set_message_token('STEP','10');
28: hr_utility.raise_error;
29: Else
30: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 27: hr_utility.set_message_token('STEP','10');

23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'PER_PEOPLE_EXTRA_INFO_PK') Then
25: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
26: hr_utility.set_message_token('PROCEDURE', l_proc);
27: hr_utility.set_message_token('STEP','10');
28: hr_utility.raise_error;
29: Else
30: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
31: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 28: hr_utility.raise_error;

24: ElsIf (p_constraint_name = 'PER_PEOPLE_EXTRA_INFO_PK') Then
25: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
26: hr_utility.set_message_token('PROCEDURE', l_proc);
27: hr_utility.set_message_token('STEP','10');
28: hr_utility.raise_error;
29: Else
30: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
31: hr_utility.set_message_token('PROCEDURE', l_proc);
32: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

Line 30: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

26: hr_utility.set_message_token('PROCEDURE', l_proc);
27: hr_utility.set_message_token('STEP','10');
28: hr_utility.raise_error;
29: Else
30: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
31: hr_utility.set_message_token('PROCEDURE', l_proc);
32: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
33: hr_utility.raise_error;
34: End If;

Line 31: hr_utility.set_message_token('PROCEDURE', l_proc);

27: hr_utility.set_message_token('STEP','10');
28: hr_utility.raise_error;
29: Else
30: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
31: hr_utility.set_message_token('PROCEDURE', l_proc);
32: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
33: hr_utility.raise_error;
34: End If;
35: --

Line 32: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

28: hr_utility.raise_error;
29: Else
30: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
31: hr_utility.set_message_token('PROCEDURE', l_proc);
32: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
33: hr_utility.raise_error;
34: End If;
35: --
36: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 33: hr_utility.raise_error;

29: Else
30: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
31: hr_utility.set_message_token('PROCEDURE', l_proc);
32: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
33: hr_utility.raise_error;
34: End If;
35: --
36: hr_utility.set_location(' Leaving:'||l_proc, 10);
37: End constraint_error;

Line 36: hr_utility.set_location(' Leaving:'||l_proc, 10);

32: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
33: hr_utility.raise_error;
34: End If;
35: --
36: hr_utility.set_location(' Leaving:'||l_proc, 10);
37: End constraint_error;
38: --
39: -- ----------------------------------------------------------------------------
40: -- |-----------------------------< api_updating >-----------------------------|

Line 120: hr_utility.set_location('Entering:'||l_proc, 5);

116: l_proc varchar2(72) := g_package||'api_updating';
117: l_fct_ret boolean;
118: --
119: Begin
120: hr_utility.set_location('Entering:'||l_proc, 5);
121: --
122: If (
123: p_person_extra_info_id is null and
124: p_object_version_number is null

Line 136: hr_utility.set_location(l_proc, 10);

132: If (
133: p_person_extra_info_id = g_old_rec.person_extra_info_id and
134: p_object_version_number = g_old_rec.object_version_number
135: ) Then
136: hr_utility.set_location(l_proc, 10);
137: --
138: -- The g_old_rec is current therefore we must
139: -- set the returning function to true
140: --

Line 153: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');

149: Close C_Sel1;
150: --
151: -- The primary key is invalid therefore we must error
152: --
153: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
154: hr_utility.raise_error;
155: End If;
156: Close C_Sel1;
157: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 154: hr_utility.raise_error;

150: --
151: -- The primary key is invalid therefore we must error
152: --
153: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
154: hr_utility.raise_error;
155: End If;
156: Close C_Sel1;
157: If (p_object_version_number <> g_old_rec.object_version_number) Then
158: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

Line 158: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

154: hr_utility.raise_error;
155: End If;
156: Close C_Sel1;
157: If (p_object_version_number <> g_old_rec.object_version_number) Then
158: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
159: hr_utility.raise_error;
160: End If;
161: hr_utility.set_location(l_proc, 15);
162: l_fct_ret := true;

Line 159: hr_utility.raise_error;

155: End If;
156: Close C_Sel1;
157: If (p_object_version_number <> g_old_rec.object_version_number) Then
158: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
159: hr_utility.raise_error;
160: End If;
161: hr_utility.set_location(l_proc, 15);
162: l_fct_ret := true;
163: End If;

Line 161: hr_utility.set_location(l_proc, 15);

157: If (p_object_version_number <> g_old_rec.object_version_number) Then
158: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
159: hr_utility.raise_error;
160: End If;
161: hr_utility.set_location(l_proc, 15);
162: l_fct_ret := true;
163: End If;
164: End If;
165: hr_utility.set_location(' Leaving:'||l_proc, 20);

Line 165: hr_utility.set_location(' Leaving:'||l_proc, 20);

161: hr_utility.set_location(l_proc, 15);
162: l_fct_ret := true;
163: End If;
164: End If;
165: hr_utility.set_location(' Leaving:'||l_proc, 20);
166: Return (l_fct_ret);
167: --
168: End api_updating;
169: --

Line 249: hr_utility.set_location('Entering:'||l_proc, 5);

245: --
246: l_proc varchar2(72) := g_package||'lck';
247: --
248: Begin
249: hr_utility.set_location('Entering:'||l_proc, 5);
250: --
251: -- Add any mandatory argument checking here:
252: -- Example:
253: -- hr_api.mandatory_arg_error

Line 265: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');

261: Close C_Sel1;
262: --
263: -- The primary key is invalid therefore we must error
264: --
265: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
266: hr_utility.raise_error;
267: End If;
268: Close C_Sel1;
269: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 266: hr_utility.raise_error;

262: --
263: -- The primary key is invalid therefore we must error
264: --
265: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
266: hr_utility.raise_error;
267: End If;
268: Close C_Sel1;
269: If (p_object_version_number <> g_old_rec.object_version_number) Then
270: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

Line 270: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

266: hr_utility.raise_error;
267: End If;
268: Close C_Sel1;
269: If (p_object_version_number <> g_old_rec.object_version_number) Then
270: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
271: hr_utility.raise_error;
272: End If;
273: --
274: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 271: hr_utility.raise_error;

267: End If;
268: Close C_Sel1;
269: If (p_object_version_number <> g_old_rec.object_version_number) Then
270: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
271: hr_utility.raise_error;
272: End If;
273: --
274: hr_utility.set_location(' Leaving:'||l_proc, 10);
275: --

Line 274: hr_utility.set_location(' Leaving:'||l_proc, 10);

270: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
271: hr_utility.raise_error;
272: End If;
273: --
274: hr_utility.set_location(' Leaving:'||l_proc, 10);
275: --
276: -- We need to trap the ORA LOCK exception
277: --
278: Exception

Line 284: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');

280: --
281: -- The object is locked therefore we need to supply a meaningful
282: -- error message.
283: --
284: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
285: hr_utility.set_message_token('TABLE_NAME', 'per_people_extra_info');
286: hr_utility.raise_error;
287: End lck;
288: --

Line 285: hr_utility.set_message_token('TABLE_NAME', 'per_people_extra_info');

281: -- The object is locked therefore we need to supply a meaningful
282: -- error message.
283: --
284: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
285: hr_utility.set_message_token('TABLE_NAME', 'per_people_extra_info');
286: hr_utility.raise_error;
287: End lck;
288: --
289: -- ----------------------------------------------------------------------------

Line 286: hr_utility.raise_error;

282: -- error message.
283: --
284: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
285: hr_utility.set_message_token('TABLE_NAME', 'per_people_extra_info');
286: hr_utility.raise_error;
287: End lck;
288: --
289: -- ----------------------------------------------------------------------------
290: -- |-----------------------------< convert_args >-----------------------------|

Line 362: hr_utility.set_location('Entering:'||l_proc, 5);

358: l_proc varchar2(72) := g_package||'convert_args';
359: --
360: Begin
361: --
362: hr_utility.set_location('Entering:'||l_proc, 5);
363: --
364: -- Convert arguments into local l_rec structure.
365: --
366: l_rec.person_extra_info_id := p_person_extra_info_id;

Line 429: hr_utility.set_location(' Leaving:'||l_proc, 10);

425: l_rec.object_version_number := p_object_version_number;
426: --
427: -- Return the plsql record structure.
428: --
429: hr_utility.set_location(' Leaving:'||l_proc, 10);
430: Return(l_rec);
431: --
432: End convert_args;
433: --