DBA Data[Home] [Help]

APPS.PAY_CON_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_US_CONTRIBUTION_HISTORY_PK') 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_US_CONTRIBUTION_HISTORY_PK') 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_US_CONTRIBUTION_HISTORY_UK') 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_US_CONTRIBUTION_HISTORY_PK') 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_US_CONTRIBUTION_HISTORY_UK') 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_US_CONTRIBUTION_HISTORY_PK') 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_US_CONTRIBUTION_HISTORY_UK') 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_US_CONTRIBUTION_HISTORY_PK') 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_US_CONTRIBUTION_HISTORY_UK') 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_US_CONTRIBUTION_HISTORY_UK') 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.set_message(801, 'PAY_CONTRIB_HIST_NOT_UNIQUE');
46: hr_utility.raise_error;

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_US_CONTRIBUTION_HISTORY_UK') 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.set_message(801, 'PAY_CONTRIB_HIST_NOT_UNIQUE');
46: hr_utility.raise_error;
47: Else

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

40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PAY_US_CONTRIBUTION_HISTORY_UK') 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.set_message(801, 'PAY_CONTRIB_HIST_NOT_UNIQUE');
46: hr_utility.raise_error;
47: Else
48: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 45: hr_utility.set_message(801, 'PAY_CONTRIB_HIST_NOT_UNIQUE');

41: ElsIf (p_constraint_name = 'PAY_US_CONTRIBUTION_HISTORY_UK') 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.set_message(801, 'PAY_CONTRIB_HIST_NOT_UNIQUE');
46: hr_utility.raise_error;
47: Else
48: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
49: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 46: hr_utility.raise_error;

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.set_message(801, 'PAY_CONTRIB_HIST_NOT_UNIQUE');
46: hr_utility.raise_error;
47: Else
48: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
49: hr_utility.set_message_token('PROCEDURE', l_proc);
50: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

44: --hr_utility.set_message_token('STEP','10');
45: hr_utility.set_message(801, 'PAY_CONTRIB_HIST_NOT_UNIQUE');
46: hr_utility.raise_error;
47: Else
48: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
49: hr_utility.set_message_token('PROCEDURE', l_proc);
50: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
51: hr_utility.raise_error;
52: End If;

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

45: hr_utility.set_message(801, 'PAY_CONTRIB_HIST_NOT_UNIQUE');
46: hr_utility.raise_error;
47: Else
48: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
49: hr_utility.set_message_token('PROCEDURE', l_proc);
50: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
51: hr_utility.raise_error;
52: End If;
53: --

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

46: hr_utility.raise_error;
47: Else
48: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
49: hr_utility.set_message_token('PROCEDURE', l_proc);
50: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
51: hr_utility.raise_error;
52: End If;
53: --
54: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 51: hr_utility.raise_error;

47: Else
48: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
49: hr_utility.set_message_token('PROCEDURE', l_proc);
50: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
51: hr_utility.raise_error;
52: End If;
53: --
54: hr_utility.set_location(' Leaving:'||l_proc, 10);
55: End constraint_error;

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

50: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
51: hr_utility.raise_error;
52: End If;
53: --
54: hr_utility.set_location(' Leaving:'||l_proc, 10);
55: End constraint_error;
56: --
57: -- ----------------------------------------------------------------------------
58: -- |-----------------------------< api_updating >-----------------------------|

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

118: l_proc varchar2(72) := g_package||'api_updating';
119: l_fct_ret boolean;
120: --
121: Begin
122: hr_utility.set_location('Entering:'||l_proc, 5);
123: --
124: If (
125: p_contr_history_id is null and
126: p_object_version_number is null

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

134: If (
135: p_contr_history_id = g_old_rec.contr_history_id and
136: p_object_version_number = g_old_rec.object_version_number
137: ) Then
138: hr_utility.set_location(l_proc, 10);
139: --
140: -- The g_old_rec is current therefore we must
141: -- set the returning function to true
142: --

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

151: Close C_Sel1;
152: --
153: -- The primary key is invalid therefore we must error
154: --
155: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
156: hr_utility.raise_error;
157: End If;
158: Close C_Sel1;
159: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 156: hr_utility.raise_error;

152: --
153: -- The primary key is invalid therefore we must error
154: --
155: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
156: hr_utility.raise_error;
157: End If;
158: Close C_Sel1;
159: If (p_object_version_number <> g_old_rec.object_version_number) Then
160: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

156: hr_utility.raise_error;
157: End If;
158: Close C_Sel1;
159: If (p_object_version_number <> g_old_rec.object_version_number) Then
160: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
161: hr_utility.raise_error;
162: End If;
163: hr_utility.set_location(l_proc, 15);
164: l_fct_ret := true;

Line 161: hr_utility.raise_error;

157: End If;
158: Close C_Sel1;
159: If (p_object_version_number <> g_old_rec.object_version_number) Then
160: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
161: hr_utility.raise_error;
162: End If;
163: hr_utility.set_location(l_proc, 15);
164: l_fct_ret := true;
165: End If;

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

159: If (p_object_version_number <> g_old_rec.object_version_number) Then
160: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
161: hr_utility.raise_error;
162: End If;
163: hr_utility.set_location(l_proc, 15);
164: l_fct_ret := true;
165: End If;
166: End If;
167: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

163: hr_utility.set_location(l_proc, 15);
164: l_fct_ret := true;
165: End If;
166: End If;
167: hr_utility.set_location(' Leaving:'||l_proc, 20);
168: Return (l_fct_ret);
169: --
170: End api_updating;
171: --

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

231: --
232: l_proc varchar2(72) := g_package||'lck';
233: --
234: Begin
235: hr_utility.set_location('Entering:'||l_proc, 5);
236: --
237: -- Add any mandatory argument checking here:
238: -- Example:
239: -- hr_api.mandatory_arg_error

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

247: Close C_Sel1;
248: --
249: -- The primary key is invalid therefore we must error
250: --
251: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
252: hr_utility.raise_error;
253: End If;
254: Close C_Sel1;
255: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 252: hr_utility.raise_error;

248: --
249: -- The primary key is invalid therefore we must error
250: --
251: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
252: hr_utility.raise_error;
253: End If;
254: Close C_Sel1;
255: If (p_object_version_number <> g_old_rec.object_version_number) Then
256: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

252: hr_utility.raise_error;
253: End If;
254: Close C_Sel1;
255: If (p_object_version_number <> g_old_rec.object_version_number) Then
256: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
257: hr_utility.raise_error;
258: End If;
259: --
260: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 257: hr_utility.raise_error;

253: End If;
254: Close C_Sel1;
255: If (p_object_version_number <> g_old_rec.object_version_number) Then
256: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
257: hr_utility.raise_error;
258: End If;
259: --
260: hr_utility.set_location(' Leaving:'||l_proc, 10);
261: --

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

256: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
257: hr_utility.raise_error;
258: End If;
259: --
260: hr_utility.set_location(' Leaving:'||l_proc, 10);
261: --
262: -- We need to trap the ORA LOCK exception
263: --
264: Exception

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

266: --
267: -- The object is locked therefore we need to supply a meaningful
268: -- error message.
269: --
270: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
271: hr_utility.set_message_token('TABLE_NAME', 'pay_us_contribution_history');
272: hr_utility.raise_error;
273: End lck;
274: --

Line 271: hr_utility.set_message_token('TABLE_NAME', 'pay_us_contribution_history');

267: -- The object is locked therefore we need to supply a meaningful
268: -- error message.
269: --
270: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
271: hr_utility.set_message_token('TABLE_NAME', 'pay_us_contribution_history');
272: hr_utility.raise_error;
273: End lck;
274: --
275: -- ----------------------------------------------------------------------------

Line 272: hr_utility.raise_error;

268: -- error message.
269: --
270: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
271: hr_utility.set_message_token('TABLE_NAME', 'pay_us_contribution_history');
272: hr_utility.raise_error;
273: End lck;
274: --
275: -- ----------------------------------------------------------------------------
276: -- |-----------------------------< convert_args >-----------------------------|

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

328: l_proc varchar2(72) := g_package||'convert_args';
329: --
330: Begin
331: --
332: hr_utility.set_location('Entering:'||l_proc, 5);
333: --
334: -- Convert arguments into local l_rec structure.
335: --
336: l_rec.contr_history_id := p_contr_history_id;

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

379: l_rec.object_version_number := p_object_version_number;
380: --
381: -- Return the plsql record structure.
382: --
383: hr_utility.set_location(' Leaving:'||l_proc, 10);
384: Return(l_rec);
385: --
386: End convert_args;
387: --