DBA Data[Home] [Help]

APPS.PAY_MGR_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_MAGNETIC_RECORDS_FK2') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);

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

33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PAY_MAGNETIC_RECORDS_FK2') Then
37: hr_utility.set_message(801, '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: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_FK3') Then

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_MAGNETIC_RECORDS_FK2') Then
37: hr_utility.set_message(801, '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: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_FK3') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

35: --
36: If (p_constraint_name = 'PAY_MAGNETIC_RECORDS_FK2') Then
37: hr_utility.set_message(801, '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: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_FK3') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: If (p_constraint_name = 'PAY_MAGNETIC_RECORDS_FK2') Then
37: hr_utility.set_message(801, '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: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_FK3') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');

Line 42: hr_utility.set_message(801, '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: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_FK3') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_PK') Then

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

39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_FK3') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_FK3') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 45: hr_utility.raise_error;

41: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_FK3') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');

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

43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PAY_MGR_LAST_RUN_EXECUTED__CHK') Then

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

44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PAY_MGR_LAST_RUN_EXECUTED__CHK') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

Line 49: hr_utility.set_message_token('STEP','15');

45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PAY_MGR_LAST_RUN_EXECUTED__CHK') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 50: hr_utility.raise_error;

46: ElsIf (p_constraint_name = 'PAY_MAGNETIC_RECORDS_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PAY_MGR_LAST_RUN_EXECUTED__CHK') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');

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

48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PAY_MGR_LAST_RUN_EXECUTED__CHK') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'PAY_MGR_OVERFLOW_MODE_CHK') Then

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

49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PAY_MGR_LAST_RUN_EXECUTED__CHK') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'PAY_MGR_OVERFLOW_MODE_CHK') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'PAY_MGR_LAST_RUN_EXECUTED__CHK') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'PAY_MGR_OVERFLOW_MODE_CHK') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 55: hr_utility.raise_error;

51: ElsIf (p_constraint_name = 'PAY_MGR_LAST_RUN_EXECUTED__CHK') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'PAY_MGR_OVERFLOW_MODE_CHK') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');

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

53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'PAY_MGR_OVERFLOW_MODE_CHK') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: Else

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

54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'PAY_MGR_OVERFLOW_MODE_CHK') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: Else
62: fnd_message.set_name('PAY', 'HR_7877_API_INVALID_CONSTRAINT');

Line 59: hr_utility.set_message_token('STEP','25');

55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'PAY_MGR_OVERFLOW_MODE_CHK') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: Else
62: fnd_message.set_name('PAY', 'HR_7877_API_INVALID_CONSTRAINT');
63: fnd_message.set_token('PROCEDURE', l_proc);

Line 60: hr_utility.raise_error;

56: ElsIf (p_constraint_name = 'PAY_MGR_OVERFLOW_MODE_CHK') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: Else
62: fnd_message.set_name('PAY', 'HR_7877_API_INVALID_CONSTRAINT');
63: fnd_message.set_token('PROCEDURE', l_proc);
64: fnd_message.set_token('CONSTRAINT_NAME', p_constraint_name);

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

64: fnd_message.set_token('CONSTRAINT_NAME', p_constraint_name);
65: fnd_message.raise_error;
66: End If;
67: --
68: hr_utility.set_location(' Leaving:'||l_proc, 10);
69: End constraint_error;
70: --
71: -- ----------------------------------------------------------------------------
72: -- |-----------------------------< api_updating >-----------------------------|

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

97: l_proc varchar2(72) := g_package||'api_updating';
98: l_fct_ret boolean;
99: --
100: Begin
101: hr_utility.set_location('Entering:'||l_proc, 5);
102: --
103: If (
104: p_magnetic_block_id is null and
105: p_sequence is null

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

113: If (
114: p_magnetic_block_id = g_old_rec.magnetic_block_id and
115: p_sequence = g_old_rec.sequence
116: ) Then
117: hr_utility.set_location(l_proc, 10);
118: --
119: -- The g_old_rec is current therefore we must
120: -- set the returning function to true
121: --

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

130: Close C_Sel1;
131: --
132: -- The primary key is invalid therefore we must error
133: --
134: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
135: hr_utility.raise_error;
136: End If;
137: Close C_Sel1;
138: --

Line 135: hr_utility.raise_error;

131: --
132: -- The primary key is invalid therefore we must error
133: --
134: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
135: hr_utility.raise_error;
136: End If;
137: Close C_Sel1;
138: --
139: hr_utility.set_location(l_proc, 15);

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

135: hr_utility.raise_error;
136: End If;
137: Close C_Sel1;
138: --
139: hr_utility.set_location(l_proc, 15);
140: l_fct_ret := true;
141: End If;
142: End If;
143: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

139: hr_utility.set_location(l_proc, 15);
140: l_fct_ret := true;
141: End If;
142: End If;
143: hr_utility.set_location(' Leaving:'||l_proc, 20);
144: Return (l_fct_ret);
145: --
146: End api_updating;
147: --

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

172: --
173: l_proc varchar2(72) := g_package||'lck';
174: --
175: Begin
176: hr_utility.set_location('Entering:'||l_proc, 5);
177: --
178: -- Add any mandatory argument checking here:
179: -- Example:
180: -- hr_api.mandatory_arg_error

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

188: Close C_Sel1;
189: --
190: -- The primary key is invalid therefore we must error
191: --
192: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
193: hr_utility.raise_error;
194: End If;
195: Close C_Sel1;
196: --

Line 193: hr_utility.raise_error;

189: --
190: -- The primary key is invalid therefore we must error
191: --
192: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
193: hr_utility.raise_error;
194: End If;
195: Close C_Sel1;
196: --
197: --

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

194: End If;
195: Close C_Sel1;
196: --
197: --
198: hr_utility.set_location(' Leaving:'||l_proc, 10);
199: --
200: -- We need to trap the ORA LOCK exception
201: --
202: Exception

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

204: --
205: -- The object is locked therefore we need to supply a meaningful
206: -- error message.
207: --
208: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
209: hr_utility.set_message_token('TABLE_NAME', 'pay_magnetic_records');
210: hr_utility.raise_error;
211: End lck;
212: --

Line 209: hr_utility.set_message_token('TABLE_NAME', 'pay_magnetic_records');

205: -- The object is locked therefore we need to supply a meaningful
206: -- error message.
207: --
208: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
209: hr_utility.set_message_token('TABLE_NAME', 'pay_magnetic_records');
210: hr_utility.raise_error;
211: End lck;
212: --
213: -- ----------------------------------------------------------------------------

Line 210: hr_utility.raise_error;

206: -- error message.
207: --
208: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
209: hr_utility.set_message_token('TABLE_NAME', 'pay_magnetic_records');
210: hr_utility.raise_error;
211: End lck;
212: --
213: -- ----------------------------------------------------------------------------
214: -- |-----------------------------< convert_args >-----------------------------|

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

233: l_proc varchar2(72) := g_package||'convert_args';
234: --
235: Begin
236: --
237: hr_utility.set_location('Entering:'||l_proc, 5);
238: --
239: -- Convert arguments into local l_rec structure.
240: --
241: l_rec.formula_id := p_formula_id;

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

251: l_rec.xml_proc_name := p_xml_proc_name;
252: --
253: -- Return the plsql record structure.
254: --
255: hr_utility.set_location(' Leaving:'||l_proc, 10);
256: Return(l_rec);
257: --
258: End convert_args;
259: --