DBA Data[Home] [Help]

APPS.PAY_ETM_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 = 'PAY_ELEMENT_TEMPLATES_PK') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);

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

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

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

19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'PAY_ELEMENT_TEMPLATES_PK') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: Else
27: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 24: hr_utility.set_message_token('STEP','5');

20: --
21: If (p_constraint_name = 'PAY_ELEMENT_TEMPLATES_PK') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: Else
27: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
28: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 25: hr_utility.raise_error;

21: If (p_constraint_name = 'PAY_ELEMENT_TEMPLATES_PK') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: Else
27: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

23: hr_utility.set_message_token('PROCEDURE', l_proc);
24: hr_utility.set_message_token('STEP','5');
25: hr_utility.raise_error;
26: Else
27: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
30: hr_utility.raise_error;
31: End If;

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

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

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

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

Line 30: hr_utility.raise_error;

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

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

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

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

125: l_proc varchar2(72) := g_package||'api_updating';
126: l_fct_ret boolean;
127: --
128: Begin
129: hr_utility.set_location('Entering:'||l_proc, 5);
130: --
131: If (
132: p_template_id is null and
133: p_object_version_number is null

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

141: If (
142: p_template_id = g_old_rec.template_id and
143: p_object_version_number = g_old_rec.object_version_number
144: ) Then
145: hr_utility.set_location(l_proc, 10);
146: --
147: -- The g_old_rec is current therefore we must
148: -- set the returning function to true
149: --

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

158: Close C_Sel1;
159: --
160: -- The primary key is invalid therefore we must error
161: --
162: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
163: hr_utility.raise_error;
164: End If;
165: Close C_Sel1;
166: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 163: hr_utility.raise_error;

159: --
160: -- The primary key is invalid therefore we must error
161: --
162: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
163: hr_utility.raise_error;
164: End If;
165: Close C_Sel1;
166: If (p_object_version_number <> g_old_rec.object_version_number) Then
167: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

163: hr_utility.raise_error;
164: End If;
165: Close C_Sel1;
166: If (p_object_version_number <> g_old_rec.object_version_number) Then
167: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
168: hr_utility.raise_error;
169: End If;
170: hr_utility.set_location(l_proc, 15);
171: l_fct_ret := true;

Line 168: hr_utility.raise_error;

164: End If;
165: Close C_Sel1;
166: If (p_object_version_number <> g_old_rec.object_version_number) Then
167: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
168: hr_utility.raise_error;
169: End If;
170: hr_utility.set_location(l_proc, 15);
171: l_fct_ret := true;
172: End If;

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

166: If (p_object_version_number <> g_old_rec.object_version_number) Then
167: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
168: hr_utility.raise_error;
169: End If;
170: hr_utility.set_location(l_proc, 15);
171: l_fct_ret := true;
172: End If;
173: End If;
174: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

170: hr_utility.set_location(l_proc, 15);
171: l_fct_ret := true;
172: End If;
173: End If;
174: hr_utility.set_location(' Leaving:'||l_proc, 20);
175: Return (l_fct_ret);
176: --
177: End api_updating;
178: --

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

266: --
267: l_proc varchar2(72) := g_package||'lck';
268: --
269: Begin
270: hr_utility.set_location('Entering:'||l_proc, 5);
271: --
272: -- Check for mandatory arguments.
273: --
274: hr_api.mandatory_arg_error

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

288: Close C_Sel1;
289: --
290: -- The primary key is invalid therefore we must error
291: --
292: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
293: hr_utility.raise_error;
294: End If;
295: Close C_Sel1;
296: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 293: hr_utility.raise_error;

289: --
290: -- The primary key is invalid therefore we must error
291: --
292: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
293: hr_utility.raise_error;
294: End If;
295: Close C_Sel1;
296: If (p_object_version_number <> g_old_rec.object_version_number) Then
297: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

293: hr_utility.raise_error;
294: End If;
295: Close C_Sel1;
296: If (p_object_version_number <> g_old_rec.object_version_number) Then
297: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
298: hr_utility.raise_error;
299: End If;
300: --
301: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 298: hr_utility.raise_error;

294: End If;
295: Close C_Sel1;
296: If (p_object_version_number <> g_old_rec.object_version_number) Then
297: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
298: hr_utility.raise_error;
299: End If;
300: --
301: hr_utility.set_location(' Leaving:'||l_proc, 10);
302: --

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

297: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
298: hr_utility.raise_error;
299: End If;
300: --
301: hr_utility.set_location(' Leaving:'||l_proc, 10);
302: --
303: -- We need to trap the ORA LOCK exception
304: --
305: Exception

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

307: --
308: -- The object is locked therefore we need to supply a meaningful
309: -- error message.
310: --
311: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
312: hr_utility.set_message_token('TABLE_NAME', 'pay_element_templates');
313: hr_utility.raise_error;
314: End lck;
315: --

Line 312: hr_utility.set_message_token('TABLE_NAME', 'pay_element_templates');

308: -- The object is locked therefore we need to supply a meaningful
309: -- error message.
310: --
311: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
312: hr_utility.set_message_token('TABLE_NAME', 'pay_element_templates');
313: hr_utility.raise_error;
314: End lck;
315: --
316: -- ----------------------------------------------------------------------------

Line 313: hr_utility.raise_error;

309: -- error message.
310: --
311: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
312: hr_utility.set_message_token('TABLE_NAME', 'pay_element_templates');
313: hr_utility.raise_error;
314: End lck;
315: --
316: -- ----------------------------------------------------------------------------
317: -- |-----------------------------< convert_args >-----------------------------|

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

397: l_proc varchar2(72) := g_package||'convert_args';
398: --
399: Begin
400: --
401: hr_utility.set_location('Entering:'||l_proc, 5);
402: --
403: -- Convert arguments into local l_rec structure.
404: --
405: l_rec.template_id := p_template_id;

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

476: l_rec.object_version_number := p_object_version_number;
477: --
478: -- Return the plsql record structure.
479: --
480: hr_utility.set_location(' Leaving:'||l_proc, 10);
481: Return(l_rec);
482: --
483: End convert_args;
484: --