DBA Data[Home] [Help]

APPS.PAY_CFT_SHD dependencies on HR_UTILITY

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

14: --
15: l_proc varchar2(72) := g_package||'return_api_dml_status';
16: --
17: Begin
18: hr_utility.set_location('Entering:'||l_proc, 5);
19: --
20: Return (nvl(g_api_dml, false));
21: --
22: hr_utility.set_location(' Leaving:'||l_proc, 10);

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

18: hr_utility.set_location('Entering:'||l_proc, 5);
19: --
20: Return (nvl(g_api_dml, false));
21: --
22: hr_utility.set_location(' Leaving:'||l_proc, 10);
23: End return_api_dml_status;
24: --
25: -- ----------------------------------------------------------------------------
26: -- |---------------------------< constraint_error >---------------------------|

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

30: --
31: l_proc varchar2(72) := g_package||'constraint_error';
32: --
33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PAY_CA_EMP_FED_TAX_RULES_PK') Then
37: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 37: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');

33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PAY_CA_EMP_FED_TAX_RULES_PK') Then
37: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: Else

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

34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PAY_CA_EMP_FED_TAX_RULES_PK') Then
37: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');

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

35: --
36: If (p_constraint_name = 'PAY_CA_EMP_FED_TAX_RULES_PK') Then
37: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: If (p_constraint_name = 'PAY_CA_EMP_FED_TAX_RULES_PK') Then
37: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

Line 42: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');

38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;

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

39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --

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

40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 45: hr_utility.raise_error;

41: Else
42: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);
49: End constraint_error;

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

44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);
49: End constraint_error;
50: --
51: -- ----------------------------------------------------------------------------
52: -- |-----------------------------< api_updating >-----------------------------|

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

127: l_proc varchar2(72) := g_package||'api_updating';
128: l_fct_ret boolean;
129: --
130: Begin
131: hr_utility.set_location('Entering:'||l_proc, 5);
132: --
133: If (p_effective_date is null or
134: p_emp_fed_tax_inf_id is null or
135: p_object_version_number is null) Then

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

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

Line 163: hr_utility.set_message(800, 'HR_7220_INVALID_PRIMARY_KEY');

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

Line 164: hr_utility.raise_error;

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

Line 168: hr_utility.set_message(800, 'HR_7155_OBJECT_INVALID');

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

Line 169: hr_utility.raise_error;

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

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

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

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

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

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

199: and p_effective_date
200: between t.effective_start_date and t.effective_end_date;
201: --
202: Begin
203: hr_utility.set_location('Entering:'||l_proc, 5);
204: Open C_Sel1;
205: Fetch C_Sel1 Into l_parent_key_value1;
206: If C_Sel1%notfound then
207: Close C_Sel1;

Line 208: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');

204: Open C_Sel1;
205: Fetch C_Sel1 Into l_parent_key_value1;
206: If C_Sel1%notfound then
207: Close C_Sel1;
208: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
209: hr_utility.set_message_token('PROCEDURE', l_proc);
210: hr_utility.set_message_token('STEP','10');
211: hr_utility.raise_error;
212: End If;

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

205: Fetch C_Sel1 Into l_parent_key_value1;
206: If C_Sel1%notfound then
207: Close C_Sel1;
208: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
209: hr_utility.set_message_token('PROCEDURE', l_proc);
210: hr_utility.set_message_token('STEP','10');
211: hr_utility.raise_error;
212: End If;
213: Close C_Sel1;

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

206: If C_Sel1%notfound then
207: Close C_Sel1;
208: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
209: hr_utility.set_message_token('PROCEDURE', l_proc);
210: hr_utility.set_message_token('STEP','10');
211: hr_utility.raise_error;
212: End If;
213: Close C_Sel1;
214: --

Line 211: hr_utility.raise_error;

207: Close C_Sel1;
208: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
209: hr_utility.set_message_token('PROCEDURE', l_proc);
210: hr_utility.set_message_token('STEP','10');
211: hr_utility.raise_error;
212: End If;
213: Close C_Sel1;
214: --
215: -- Call the corresponding datetrack api

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

226: p_delete => p_delete,
227: p_future_change => p_future_change,
228: p_delete_next_change => p_delete_next_change);
229: --
230: hr_utility.set_location(' Leaving:'||l_proc, 10);
231: End find_dt_del_modes;
232: --
233: -- ----------------------------------------------------------------------------
234: -- |--------------------------< find_dt_upd_modes >---------------------------|

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

243: --
244: l_proc varchar2(72) := g_package||'find_dt_upd_modes';
245: --
246: Begin
247: hr_utility.set_location('Entering:'||l_proc, 5);
248: --
249: -- Call the corresponding datetrack api
250: --
251: dt_api.find_dt_upd_modes

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

257: p_update => p_update,
258: p_update_override => p_update_override,
259: p_update_change_insert => p_update_change_insert);
260: --
261: hr_utility.set_location(' Leaving:'||l_proc, 10);
262: End find_dt_upd_modes;
263: --
264: -- ----------------------------------------------------------------------------
265: -- |------------------------< upd_effective_end_date >------------------------|

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

275: l_proc varchar2(72) := g_package||'upd_effective_end_date';
276: l_object_version_number number;
277: --
278: Begin
279: hr_utility.set_location('Entering:'||l_proc, 5);
280: --
281: -- Because we are updating a row we must get the next object
282: -- version number.
283: --

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

286: (p_base_table_name => 'pay_ca_emp_fed_tax_info_f',
287: p_base_key_column => 'emp_fed_tax_inf_id',
288: p_base_key_value => p_base_key_value);
289: --
290: hr_utility.set_location(l_proc, 10);
291: g_api_dml := true; -- Set the api dml status
292: --
293: -- Update the specified datetrack row setting the effective
294: -- end date to the specified new effective end date.

Line 305: hr_utility.set_location(' Leaving:'||l_proc, 15);

301: between t.effective_start_date and t.effective_end_date;
302: --
303: g_api_dml := false; -- Unset the api dml status
304: p_object_version_number := l_object_version_number;
305: hr_utility.set_location(' Leaving:'||l_proc, 15);
306: --
307: Exception
308: When Others Then
309: g_api_dml := false; -- Unset the api dml status

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

397: --
398: --
399: --
400: Begin
401: hr_utility.set_location('Entering:'||l_proc, 5);
402: --
403: -- Ensure that all the mandatory arguments are not null
404: --
405: hr_api.mandatory_arg_error(p_api_name => l_proc,

Line 447: hr_utility.set_message(800, 'HR_7220_INVALID_PRIMARY_KEY');

443: Close C_Sel1;
444: --
445: -- The primary key is invalid therefore we must error
446: --
447: hr_utility.set_message(800, 'HR_7220_INVALID_PRIMARY_KEY');
448: hr_utility.raise_error;
449: End If;
450: Close C_Sel1;
451: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 448: hr_utility.raise_error;

444: --
445: -- The primary key is invalid therefore we must error
446: --
447: hr_utility.set_message(800, 'HR_7220_INVALID_PRIMARY_KEY');
448: hr_utility.raise_error;
449: End If;
450: Close C_Sel1;
451: If (p_object_version_number <> g_old_rec.object_version_number) Then
452: hr_utility.set_message(800, 'HR_7155_OBJECT_INVALID');

Line 452: hr_utility.set_message(800, 'HR_7155_OBJECT_INVALID');

448: hr_utility.raise_error;
449: End If;
450: Close C_Sel1;
451: If (p_object_version_number <> g_old_rec.object_version_number) Then
452: hr_utility.set_message(800, 'HR_7155_OBJECT_INVALID');
453: hr_utility.raise_error;
454: End If;
455: /*
456: If (p_assignment_id <> g_old_rec.assignment_id) Then

Line 453: hr_utility.raise_error;

449: End If;
450: Close C_Sel1;
451: If (p_object_version_number <> g_old_rec.object_version_number) Then
452: hr_utility.set_message(800, 'HR_7155_OBJECT_INVALID');
453: hr_utility.raise_error;
454: End If;
455: /*
456: If (p_assignment_id <> g_old_rec.assignment_id) Then
457: hr_utility.set_message(800, 'HR_74027_ASSIGNMENT_ID_CHANGED');

Line 457: hr_utility.set_message(800, 'HR_74027_ASSIGNMENT_ID_CHANGED');

453: hr_utility.raise_error;
454: End If;
455: /*
456: If (p_assignment_id <> g_old_rec.assignment_id) Then
457: hr_utility.set_message(800, 'HR_74027_ASSIGNMENT_ID_CHANGED');
458: hr_utility.raise_error;
459: End If;
460: */
461: hr_utility.set_location(l_proc, 15);

Line 458: hr_utility.raise_error;

454: End If;
455: /*
456: If (p_assignment_id <> g_old_rec.assignment_id) Then
457: hr_utility.set_message(800, 'HR_74027_ASSIGNMENT_ID_CHANGED');
458: hr_utility.raise_error;
459: End If;
460: */
461: hr_utility.set_location(l_proc, 15);
462: --

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

457: hr_utility.set_message(800, 'HR_74027_ASSIGNMENT_ID_CHANGED');
458: hr_utility.raise_error;
459: End If;
460: */
461: hr_utility.set_location(l_proc, 15);
462: --
463: --
464: -- Validate the datetrack mode mode getting the validation start
465: -- and end dates for the specified datetrack operation.

Line 485: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');

481: -- We are doing a datetrack 'INSERT' which is illegal within this
482: -- procedure therefore we must error (note: to lck on insert the
483: -- private procedure ins_lck should be called).
484: --
485: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
486: hr_utility.set_message_token('PROCEDURE', l_proc);
487: hr_utility.set_message_token('STEP','20');
488: hr_utility.raise_error;
489: End If;

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

482: -- procedure therefore we must error (note: to lck on insert the
483: -- private procedure ins_lck should be called).
484: --
485: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
486: hr_utility.set_message_token('PROCEDURE', l_proc);
487: hr_utility.set_message_token('STEP','20');
488: hr_utility.raise_error;
489: End If;
490: --

Line 487: hr_utility.set_message_token('STEP','20');

483: -- private procedure ins_lck should be called).
484: --
485: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
486: hr_utility.set_message_token('PROCEDURE', l_proc);
487: hr_utility.set_message_token('STEP','20');
488: hr_utility.raise_error;
489: End If;
490: --
491: -- Set the validation start and end date OUT arguments

Line 488: hr_utility.raise_error;

484: --
485: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
486: hr_utility.set_message_token('PROCEDURE', l_proc);
487: hr_utility.set_message_token('STEP','20');
488: hr_utility.raise_error;
489: End If;
490: --
491: -- Set the validation start and end date OUT arguments
492: --

Line 496: hr_utility.set_location(' Leaving:'||l_proc, 30);

492: --
493: p_validation_start_date := l_validation_start_date;
494: p_validation_end_date := l_validation_end_date;
495: --
496: hr_utility.set_location(' Leaving:'||l_proc, 30);
497: --
498: -- We need to trap the ORA LOCK exception
499: --
500: Exception

Line 506: hr_utility.set_message(800, 'HR_7165_OBJECT_LOCKED');

502: --
503: -- The object is locked therefore we need to supply a meaningful
504: -- error message.
505: --
506: hr_utility.set_message(800, 'HR_7165_OBJECT_LOCKED');
507: hr_utility.set_message_token('TABLE_NAME', 'pay_ca_emp_fed_tax_info_f');
508: hr_utility.raise_error;
509: When l_object_invalid then
510: --

Line 507: hr_utility.set_message_token('TABLE_NAME', 'pay_ca_emp_fed_tax_info_f');

503: -- The object is locked therefore we need to supply a meaningful
504: -- error message.
505: --
506: hr_utility.set_message(800, 'HR_7165_OBJECT_LOCKED');
507: hr_utility.set_message_token('TABLE_NAME', 'pay_ca_emp_fed_tax_info_f');
508: hr_utility.raise_error;
509: When l_object_invalid then
510: --
511: -- The object doesn't exist or is invalid

Line 508: hr_utility.raise_error;

504: -- error message.
505: --
506: hr_utility.set_message(800, 'HR_7165_OBJECT_LOCKED');
507: hr_utility.set_message_token('TABLE_NAME', 'pay_ca_emp_fed_tax_info_f');
508: hr_utility.raise_error;
509: When l_object_invalid then
510: --
511: -- The object doesn't exist or is invalid
512: --

Line 513: hr_utility.set_message(800, 'HR_7155_OBJECT_INVALID');

509: When l_object_invalid then
510: --
511: -- The object doesn't exist or is invalid
512: --
513: hr_utility.set_message(800, 'HR_7155_OBJECT_INVALID');
514: hr_utility.set_message_token('TABLE_NAME', 'pay_ca_emp_fed_tax_info_f');
515: hr_utility.raise_error;
516: End lck;
517: --

Line 514: hr_utility.set_message_token('TABLE_NAME', 'pay_ca_emp_fed_tax_info_f');

510: --
511: -- The object doesn't exist or is invalid
512: --
513: hr_utility.set_message(800, 'HR_7155_OBJECT_INVALID');
514: hr_utility.set_message_token('TABLE_NAME', 'pay_ca_emp_fed_tax_info_f');
515: hr_utility.raise_error;
516: End lck;
517: --
518: -- ----------------------------------------------------------------------------

Line 515: hr_utility.raise_error;

511: -- The object doesn't exist or is invalid
512: --
513: hr_utility.set_message(800, 'HR_7155_OBJECT_INVALID');
514: hr_utility.set_message_token('TABLE_NAME', 'pay_ca_emp_fed_tax_info_f');
515: hr_utility.raise_error;
516: End lck;
517: --
518: -- ----------------------------------------------------------------------------
519: -- |-----------------------------< convert_args >-----------------------------|

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

584: l_proc varchar2(72) := g_package||'convert_args';
585: --
586: Begin
587: --
588: hr_utility.set_location('Entering:'||l_proc, 5);
589: --
590: -- Convert arguments into local l_rec structure.
591: --
592: l_rec.emp_fed_tax_inf_id := p_emp_fed_tax_inf_id;

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

648: l_rec.cpp_revocation_date := p_cpp_revocation_date; --For Bug Number 13258136
649: --
650: -- Return the plsql record structure.
651: --
652: hr_utility.set_location(' Leaving:'||l_proc, 10);
653: Return(l_rec);
654: --
655: End convert_args;
656: --