DBA Data[Home] [Help]

APPS.PER_ZA_EQT_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 = 'PER_QUALIFICATION_TYPES_PK') Then
37: hr_utility.set_message(801, 'HR_51535_EQT_QUAL_TYPE_PK');
38: hr_utility.raise_error;

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

33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PER_QUALIFICATION_TYPES_PK') Then
37: hr_utility.set_message(801, 'HR_51535_EQT_QUAL_TYPE_PK');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PER_QUALIFICATION_TYPES_UK') Then
40: hr_utility.set_message(801, 'HR_51536_EQT_NAME_UK');
41: hr_utility.raise_error;

Line 38: hr_utility.raise_error;

34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PER_QUALIFICATION_TYPES_PK') Then
37: hr_utility.set_message(801, 'HR_51535_EQT_QUAL_TYPE_PK');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PER_QUALIFICATION_TYPES_UK') Then
40: hr_utility.set_message(801, 'HR_51536_EQT_NAME_UK');
41: hr_utility.raise_error;
42: Else

Line 40: hr_utility.set_message(801, 'HR_51536_EQT_NAME_UK');

36: If (p_constraint_name = 'PER_QUALIFICATION_TYPES_PK') Then
37: hr_utility.set_message(801, 'HR_51535_EQT_QUAL_TYPE_PK');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PER_QUALIFICATION_TYPES_UK') Then
40: hr_utility.set_message(801, 'HR_51536_EQT_NAME_UK');
41: hr_utility.raise_error;
42: Else
43: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
44: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 41: hr_utility.raise_error;

37: hr_utility.set_message(801, 'HR_51535_EQT_QUAL_TYPE_PK');
38: hr_utility.raise_error;
39: ElsIf (p_constraint_name = 'PER_QUALIFICATION_TYPES_UK') Then
40: hr_utility.set_message(801, 'HR_51536_EQT_NAME_UK');
41: hr_utility.raise_error;
42: Else
43: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

39: ElsIf (p_constraint_name = 'PER_QUALIFICATION_TYPES_UK') Then
40: hr_utility.set_message(801, 'HR_51536_EQT_NAME_UK');
41: hr_utility.raise_error;
42: Else
43: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
44: hr_utility.set_message_token('PROCEDURE', l_proc);
45: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
46: hr_utility.raise_error;
47: End If;

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

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

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

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

Line 46: hr_utility.raise_error;

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

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

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

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

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

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

114: If (
115: p_qualification_type_id = g_old_rec.qualification_type_id and
116: p_object_version_number = g_old_rec.object_version_number
117: ) Then
118: hr_utility.set_location(l_proc, 10);
119: --
120: -- The g_old_rec is current therefore we must
121: -- set the returning function to true
122: --

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

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

Line 136: hr_utility.raise_error;

132: --
133: -- The primary key is invalid therefore we must error
134: --
135: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
136: hr_utility.raise_error;
137: End If;
138: Close C_Sel1;
139: If (p_object_version_number <> g_old_rec.object_version_number) Then
140: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

136: hr_utility.raise_error;
137: End If;
138: Close C_Sel1;
139: If (p_object_version_number <> g_old_rec.object_version_number) Then
140: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
141: hr_utility.raise_error;
142: End If;
143: hr_utility.set_location(l_proc, 15);
144: l_fct_ret := true;

Line 141: hr_utility.raise_error;

137: End If;
138: Close C_Sel1;
139: If (p_object_version_number <> g_old_rec.object_version_number) Then
140: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
141: hr_utility.raise_error;
142: End If;
143: hr_utility.set_location(l_proc, 15);
144: l_fct_ret := true;
145: End If;

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

139: If (p_object_version_number <> g_old_rec.object_version_number) Then
140: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
141: hr_utility.raise_error;
142: End If;
143: hr_utility.set_location(l_proc, 15);
144: l_fct_ret := true;
145: End If;
146: End If;
147: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

143: hr_utility.set_location(l_proc, 15);
144: l_fct_ret := true;
145: End If;
146: End If;
147: hr_utility.set_location(' Leaving:'||l_proc, 20);
148: Return (l_fct_ret);
149: --
150: End api_updating;
151: --

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

197: --
198: l_proc varchar2(72) := g_package||'lck';
199: --
200: Begin
201: hr_utility.set_location('Entering:'||l_proc, 5);
202: --
203: -- Add any mandatory argument checking here:
204: -- Example:
205: -- hr_api.mandatory_arg_error

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

213: Close C_Sel1;
214: --
215: -- The primary key is invalid therefore we must error
216: --
217: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
218: hr_utility.raise_error;
219: End If;
220: Close C_Sel1;
221: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 218: hr_utility.raise_error;

214: --
215: -- The primary key is invalid therefore we must error
216: --
217: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
218: hr_utility.raise_error;
219: End If;
220: Close C_Sel1;
221: If (p_object_version_number <> g_old_rec.object_version_number) Then
222: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

218: hr_utility.raise_error;
219: End If;
220: Close C_Sel1;
221: If (p_object_version_number <> g_old_rec.object_version_number) Then
222: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
223: hr_utility.raise_error;
224: End If;
225: --
226: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 223: hr_utility.raise_error;

219: End If;
220: Close C_Sel1;
221: If (p_object_version_number <> g_old_rec.object_version_number) Then
222: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
223: hr_utility.raise_error;
224: End If;
225: --
226: hr_utility.set_location(' Leaving:'||l_proc, 10);
227: --

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

222: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
223: hr_utility.raise_error;
224: End If;
225: --
226: hr_utility.set_location(' Leaving:'||l_proc, 10);
227: --
228: -- We need to trap the ORA LOCK exception
229: --
230: Exception

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

232: --
233: -- The object is locked therefore we need to supply a meaningful
234: -- error message.
235: --
236: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
237: hr_utility.set_message_token('TABLE_NAME', 'per_qualification_types');
238: hr_utility.raise_error;
239: End lck;
240: --

Line 237: hr_utility.set_message_token('TABLE_NAME', 'per_qualification_types');

233: -- The object is locked therefore we need to supply a meaningful
234: -- error message.
235: --
236: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
237: hr_utility.set_message_token('TABLE_NAME', 'per_qualification_types');
238: hr_utility.raise_error;
239: End lck;
240: --
241: -- ----------------------------------------------------------------------------

Line 238: hr_utility.raise_error;

234: -- error message.
235: --
236: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
237: hr_utility.set_message_token('TABLE_NAME', 'per_qualification_types');
238: hr_utility.raise_error;
239: End lck;
240: --
241: -- ----------------------------------------------------------------------------
242: -- |-----------------------------< convert_args >-----------------------------|

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

277: l_proc varchar2(72) := g_package||'convert_args';
278: --
279: Begin
280: --
281: hr_utility.set_location('Entering:'||l_proc, 5);
282: --
283: -- Convert arguments into local l_rec structure.
284: --
285: l_rec.qualification_type_id := p_qualification_type_id;

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

311: l_rec.object_version_number := p_object_version_number;
312: --
313: -- Return the plsql record structure.
314: --
315: hr_utility.set_location(' Leaving:'||l_proc, 10);
316: Return(l_rec);
317: --
318: End convert_args;
319: --