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 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 (p_effective_date is null or
132: p_emp_fed_tax_inf_id is null or
133: p_object_version_number is null) Then

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

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

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

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

Line 162: hr_utility.raise_error;

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

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

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

Line 167: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

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

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

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

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

Line 209: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Line 444: hr_utility.raise_error;

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

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

444: hr_utility.raise_error;
445: End If;
446: Close C_Sel1;
447: If (p_object_version_number <> g_old_rec.object_version_number) Then
448: hr_utility.set_message(800, 'HR_7155_OBJECT_INVALID');
449: hr_utility.raise_error;
450: End If;
451: /*
452: If (p_assignment_id <> g_old_rec.assignment_id) Then

Line 449: hr_utility.raise_error;

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

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

449: hr_utility.raise_error;
450: End If;
451: /*
452: If (p_assignment_id <> g_old_rec.assignment_id) Then
453: hr_utility.set_message(800, 'HR_74027_ASSIGNMENT_ID_CHANGED');
454: hr_utility.raise_error;
455: End If;
456: */
457: hr_utility.set_location(l_proc, 15);

Line 454: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 484: hr_utility.raise_error;

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

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

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

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

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

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

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

Line 504: hr_utility.raise_error;

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

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

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

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

506: --
507: -- The object doesn't exist or is invalid
508: --
509: hr_utility.set_message(800, 'HR_7155_OBJECT_INVALID');
510: hr_utility.set_message_token('TABLE_NAME', 'pay_ca_emp_fed_tax_info_f');
511: hr_utility.raise_error;
512: End lck;
513: --
514: -- ----------------------------------------------------------------------------

Line 511: hr_utility.raise_error;

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

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

578: l_proc varchar2(72) := g_package||'convert_args';
579: --
580: Begin
581: --
582: hr_utility.set_location('Entering:'||l_proc, 5);
583: --
584: -- Convert arguments into local l_rec structure.
585: --
586: l_rec.emp_fed_tax_inf_id := p_emp_fed_tax_inf_id;

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

640: l_rec.fed_lsf_amount := p_fed_lsf_amount;
641: --
642: -- Return the plsql record structure.
643: --
644: hr_utility.set_location(' Leaving:'||l_proc, 10);
645: Return(l_rec);
646: --
647: End convert_args;
648: --