DBA Data[Home] [Help]

APPS.PER_GRS_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_CAGR_GRADE_STRUCTURES_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 = 'PER_CAGR_GRADE_STRUCTURES_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 = 'PER_CAGR_GRADE_STRUCTURES_UK1') 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 = 'PER_CAGR_GRADE_STRUCTURES_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 = 'PER_CAGR_GRADE_STRUCTURES_UK1') 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 = 'PER_CAGR_GRADE_STRUCTURES_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 = 'PER_CAGR_GRADE_STRUCTURES_UK1') 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 = 'PER_CAGR_GRADE_STRUCTURES_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 = 'PER_CAGR_GRADE_STRUCTURES_UK1') 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','5');

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 = 'PER_CAGR_GRADE_STRUCTURES_UK1') 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','5');
45: hr_utility.raise_error;
46: Else

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 = 'PER_CAGR_GRADE_STRUCTURES_UK1') 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','5');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

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

Line 45: hr_utility.raise_error;

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

Line 47: 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('STEP','5');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;

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

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

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

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

Line 50: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 137: hr_utility.raise_error;

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

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

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

Line 142: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 215: hr_utility.raise_error;

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

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

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

Line 220: hr_utility.raise_error;

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

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

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

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

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

Line 234: hr_utility.set_message_token('TABLE_NAME', 'per_cagr_grade_structures');

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

Line 235: hr_utility.raise_error;

231: -- error message.
232: --
233: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
234: hr_utility.set_message_token('TABLE_NAME', 'per_cagr_grade_structures');
235: hr_utility.raise_error;
236: End lck;
237: --
238: -- ----------------------------------------------------------------------------
239: -- |-----------------------------< convert_args >-----------------------------|

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

273: l_proc varchar2(72) := g_package||'convert_args';
274: --
275: Begin
276: --
277: hr_utility.set_location('Entering:'||l_proc, 5);
278: --
279: -- Convert arguments into local l_rec structure.
280: --
281: l_rec.cagr_grade_structure_id := p_cagr_grade_structure_id;

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

306: l_rec.attribute20 := p_attribute20;
307: --
308: -- Return the plsql record structure.
309: --
310: hr_utility.set_location(' Leaving:'||l_proc, 10);
311: Return(l_rec);
312: --
313: End convert_args;
314: --