DBA Data[Home] [Help]

APPS.PAY_GRR_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: -- 40.2 change b start.
37: --
38: If (p_constraint_name = 'PAY_GRL_RATE_TYPE_CHK') Then

Line 39: hr_utility.set_message(801, 'HR_7310_GRR_INVALID_RATE_TYPE');

35: --
36: -- 40.2 change b start.
37: --
38: If (p_constraint_name = 'PAY_GRL_RATE_TYPE_CHK') Then
39: hr_utility.set_message(801, 'HR_7310_GRR_INVALID_RATE_TYPE');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: -- 40.2 change b start.
37: --
38: If (p_constraint_name = 'PAY_GRL_RATE_TYPE_CHK') Then
39: hr_utility.set_message(801, 'HR_7310_GRR_INVALID_RATE_TYPE');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, '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(801, 'HR_7877_API_INVALID_CONSTRAINT');

38: If (p_constraint_name = 'PAY_GRL_RATE_TYPE_CHK') Then
39: hr_utility.set_message(801, 'HR_7310_GRR_INVALID_RATE_TYPE');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, '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(801, 'HR_7310_GRR_INVALID_RATE_TYPE');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, '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(801, '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: -- 40.2 change b end.

Line 45: hr_utility.raise_error;

41: Else
42: hr_utility.set_message(801, '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: -- 40.2 change b end.
49: --

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

46: End If;
47: --
48: -- 40.2 change b end.
49: --
50: hr_utility.set_location(' Leaving:'||l_proc, 10);
51: End constraint_error;
52: --
53: -- ----------------------------------------------------------------------------
54: -- |-----------------------------< api_updating >-----------------------------|

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

90: l_proc varchar2(72) := g_package||'api_updating';
91: l_fct_ret boolean;
92: --
93: Begin
94: hr_utility.set_location('Entering:'||l_proc, 5);
95: --
96: If (p_effective_date is null or
97: p_grade_rule_id is null or
98: p_object_version_number is null) Then

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

103: l_fct_ret := false;
104: Else
105: If (p_grade_rule_id = g_old_rec.grade_rule_id and
106: p_object_version_number = g_old_rec.object_version_number) Then
107: hr_utility.set_location(l_proc, 10);
108: --
109: -- The g_old_rec is current therefore we must
110: -- set the returning function to true
111: --

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

120: Close C_Sel1;
121: --
122: -- The primary key is invalid therefore we must error
123: --
124: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
125: hr_utility.raise_error;
126: End If;
127: Close C_Sel1;
128: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 125: hr_utility.raise_error;

121: --
122: -- The primary key is invalid therefore we must error
123: --
124: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
125: hr_utility.raise_error;
126: End If;
127: Close C_Sel1;
128: If (p_object_version_number <> g_old_rec.object_version_number) Then
129: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

125: hr_utility.raise_error;
126: End If;
127: Close C_Sel1;
128: If (p_object_version_number <> g_old_rec.object_version_number) Then
129: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
130: hr_utility.raise_error;
131: End If;
132: hr_utility.set_location(l_proc, 15);
133: l_fct_ret := true;

Line 130: hr_utility.raise_error;

126: End If;
127: Close C_Sel1;
128: If (p_object_version_number <> g_old_rec.object_version_number) Then
129: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
130: hr_utility.raise_error;
131: End If;
132: hr_utility.set_location(l_proc, 15);
133: l_fct_ret := true;
134: End If;

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

128: If (p_object_version_number <> g_old_rec.object_version_number) Then
129: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
130: hr_utility.raise_error;
131: End If;
132: hr_utility.set_location(l_proc, 15);
133: l_fct_ret := true;
134: End If;
135: End If;
136: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

132: hr_utility.set_location(l_proc, 15);
133: l_fct_ret := true;
134: End If;
135: End If;
136: hr_utility.set_location(' Leaving:'||l_proc, 20);
137: Return (l_fct_ret);
138: --
139: End api_updating;
140: --

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

154: --
155: --
156: --
157: Begin
158: hr_utility.set_location('Entering:'||l_proc, 5);
159: --
160: --
161: -- Call the corresponding datetrack api
162: --

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

169: p_delete => p_delete,
170: p_future_change => p_future_change,
171: p_delete_next_change => p_delete_next_change);
172: --
173: hr_utility.set_location(' Leaving:'||l_proc, 10);
174: End find_dt_del_modes;
175: --
176: -- ----------------------------------------------------------------------------
177: -- |--------------------------< find_dt_upd_modes >---------------------------|

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

186: --
187: l_proc varchar2(72) := g_package||'find_dt_upd_modes';
188: --
189: Begin
190: hr_utility.set_location('Entering:'||l_proc, 5);
191: --
192: -- Call the corresponding datetrack api
193: --
194: dt_api.find_dt_upd_modes

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

200: p_update => p_update,
201: p_update_override => p_update_override,
202: p_update_change_insert => p_update_change_insert);
203: --
204: hr_utility.set_location(' Leaving:'||l_proc, 10);
205: End find_dt_upd_modes;
206: --
207: -- ----------------------------------------------------------------------------
208: -- |------------------------< upd_effective_end_date >------------------------|

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

218: l_proc varchar2(72) := g_package||'upd_effective_end_date';
219: l_object_version_number number;
220: --
221: Begin
222: hr_utility.set_location('Entering:'||l_proc, 5);
223: --
224: -- Because we are updating a row we must get the next object
225: -- version number.
226: --

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

229: (p_base_table_name => 'pay_grade_rules_f',
230: p_base_key_column => 'grade_rule_id',
231: p_base_key_value => p_base_key_value);
232: --
233: hr_utility.set_location(l_proc, 10);
234: g_api_dml := true; -- Set the api dml status
235: --
236: -- Update the specified datetrack row setting the effective
237: -- end date to the specified new effective end date.

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

244: between t.effective_start_date and t.effective_end_date;
245: --
246: g_api_dml := false; -- Unset the api dml status
247: p_object_version_number := l_object_version_number;
248: hr_utility.set_location(' Leaving:'||l_proc, 15);
249: --
250: Exception
251: When Others Then
252: g_api_dml := false; -- Unset the api dml status

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

299: between effective_start_date and effective_end_date
300: for update nowait;
301: --
302: Begin
303: hr_utility.set_location('Entering:'||l_proc, 5);
304: --
305: -- Ensure that all the mandatory arguments are not null
306: --
307: hr_api.mandatory_arg_error(p_api_name => l_proc,

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

332: Close C_Sel1;
333: --
334: -- The primary key is invalid therefore we must error
335: --
336: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
337: hr_utility.raise_error;
338: End If;
339: Close C_Sel1;
340: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 337: hr_utility.raise_error;

333: --
334: -- The primary key is invalid therefore we must error
335: --
336: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
337: hr_utility.raise_error;
338: End If;
339: Close C_Sel1;
340: If (p_object_version_number <> g_old_rec.object_version_number) Then
341: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

337: hr_utility.raise_error;
338: End If;
339: Close C_Sel1;
340: If (p_object_version_number <> g_old_rec.object_version_number) Then
341: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
342: hr_utility.raise_error;
343: End If;
344: hr_utility.set_location(l_proc, 15);
345: --

Line 342: hr_utility.raise_error;

338: End If;
339: Close C_Sel1;
340: If (p_object_version_number <> g_old_rec.object_version_number) Then
341: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
342: hr_utility.raise_error;
343: End If;
344: hr_utility.set_location(l_proc, 15);
345: --
346: --

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

340: If (p_object_version_number <> g_old_rec.object_version_number) Then
341: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
342: hr_utility.raise_error;
343: End If;
344: hr_utility.set_location(l_proc, 15);
345: --
346: --
347: -- Validate the datetrack mode mode getting the validation start
348: -- and end dates for the specified datetrack operation.

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

361: -- We are doing a datetrack 'INSERT' which is illegal within this
362: -- procedure therefore we must error (note: to lck on insert the
363: -- private procedure ins_lck should be called).
364: --
365: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
366: hr_utility.set_message_token('PROCEDURE', l_proc);
367: hr_utility.set_message_token('STEP','20');
368: hr_utility.raise_error;
369: End If;

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

362: -- procedure therefore we must error (note: to lck on insert the
363: -- private procedure ins_lck should be called).
364: --
365: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
366: hr_utility.set_message_token('PROCEDURE', l_proc);
367: hr_utility.set_message_token('STEP','20');
368: hr_utility.raise_error;
369: End If;
370: --

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

363: -- private procedure ins_lck should be called).
364: --
365: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
366: hr_utility.set_message_token('PROCEDURE', l_proc);
367: hr_utility.set_message_token('STEP','20');
368: hr_utility.raise_error;
369: End If;
370: --
371: -- Set the validation start and end date OUT arguments

Line 368: hr_utility.raise_error;

364: --
365: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
366: hr_utility.set_message_token('PROCEDURE', l_proc);
367: hr_utility.set_message_token('STEP','20');
368: hr_utility.raise_error;
369: End If;
370: --
371: -- Set the validation start and end date OUT arguments
372: --

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

372: --
373: p_validation_start_date := l_validation_start_date;
374: p_validation_end_date := l_validation_end_date;
375: --
376: hr_utility.set_location(' Leaving:'||l_proc, 30);
377: --
378: -- We need to trap the ORA LOCK exception
379: --
380: Exception

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

382: --
383: -- The object is locked therefore we need to supply a meaningful
384: -- error message.
385: --
386: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
387: hr_utility.set_message_token('TABLE_NAME', 'pay_grade_rules_f');
388: hr_utility.raise_error;
389: When l_object_invalid then
390: --

Line 387: hr_utility.set_message_token('TABLE_NAME', 'pay_grade_rules_f');

383: -- The object is locked therefore we need to supply a meaningful
384: -- error message.
385: --
386: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
387: hr_utility.set_message_token('TABLE_NAME', 'pay_grade_rules_f');
388: hr_utility.raise_error;
389: When l_object_invalid then
390: --
391: -- The object doesn't exist or is invalid

Line 388: hr_utility.raise_error;

384: -- error message.
385: --
386: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
387: hr_utility.set_message_token('TABLE_NAME', 'pay_grade_rules_f');
388: hr_utility.raise_error;
389: When l_object_invalid then
390: --
391: -- The object doesn't exist or is invalid
392: --

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

389: When l_object_invalid then
390: --
391: -- The object doesn't exist or is invalid
392: --
393: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
394: hr_utility.set_message_token('TABLE_NAME', 'pay_grade_rules_f');
395: hr_utility.raise_error;
396: End lck;
397: --

Line 394: hr_utility.set_message_token('TABLE_NAME', 'pay_grade_rules_f');

390: --
391: -- The object doesn't exist or is invalid
392: --
393: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
394: hr_utility.set_message_token('TABLE_NAME', 'pay_grade_rules_f');
395: hr_utility.raise_error;
396: End lck;
397: --
398: -- ----------------------------------------------------------------------------

Line 395: hr_utility.raise_error;

391: -- The object doesn't exist or is invalid
392: --
393: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
394: hr_utility.set_message_token('TABLE_NAME', 'pay_grade_rules_f');
395: hr_utility.raise_error;
396: End lck;
397: --
398: -- ----------------------------------------------------------------------------
399: -- |-----------------------------< convert_args >-----------------------------|

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

425: l_proc varchar2(72) := g_package||'convert_args';
426: --
427: Begin
428: --
429: hr_utility.set_location('Entering:'||l_proc, 5);
430: --
431: -- Convert arguments into local l_rec structure.
432: --
433: l_rec.grade_rule_id := p_grade_rule_id;

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

450: l_rec.currency_code := p_currency_code;
451: --
452: -- Return the plsql record structure.
453: --
454: hr_utility.set_location(' Leaving:'||l_proc, 10);
455: Return(l_rec);
456: --
457: End convert_args;
458: --