DBA Data[Home] [Help]

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

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

33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'PER_PERSON_ANALYSES_FK1') Then
37: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
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_PERSON_ANALYSES_FK2') 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_PERSON_ANALYSES_FK1') Then
37: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
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_PERSON_ANALYSES_FK2') Then
42: hr_utility.set_message(800, 'PER_52091_PEA_INV_ANA_CRI_ID');

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

35: --
36: If (p_constraint_name = 'PER_PERSON_ANALYSES_FK1') Then
37: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
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_PERSON_ANALYSES_FK2') Then
42: hr_utility.set_message(800, 'PER_52091_PEA_INV_ANA_CRI_ID');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: If (p_constraint_name = 'PER_PERSON_ANALYSES_FK1') Then
37: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
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_PERSON_ANALYSES_FK2') Then
42: hr_utility.set_message(800, 'PER_52091_PEA_INV_ANA_CRI_ID');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');

Line 42: hr_utility.set_message(800, 'PER_52091_PEA_INV_ANA_CRI_ID');

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_PERSON_ANALYSES_FK2') Then
42: hr_utility.set_message(800, 'PER_52091_PEA_INV_ANA_CRI_ID');
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 = 'PER_PERSON_ANALYSES_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 = 'PER_PERSON_ANALYSES_FK2') Then
42: hr_utility.set_message(800, 'PER_52091_PEA_INV_ANA_CRI_ID');
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 = 'PER_PERSON_ANALYSES_PK') Then
47: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');

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

40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'PER_PERSON_ANALYSES_FK2') Then
42: hr_utility.set_message(800, 'PER_52091_PEA_INV_ANA_CRI_ID');
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 = 'PER_PERSON_ANALYSES_PK') Then
47: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
48: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 45: hr_utility.raise_error;

41: ElsIf (p_constraint_name = 'PER_PERSON_ANALYSES_FK2') Then
42: hr_utility.set_message(800, 'PER_52091_PEA_INV_ANA_CRI_ID');
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 = 'PER_PERSON_ANALYSES_PK') Then
47: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
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_7220_INVALID_PRIMARY_KEY');

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 = 'PER_PERSON_ANALYSES_PK') Then
47: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: Else

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 = 'PER_PERSON_ANALYSES_PK') Then
47: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

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

Line 50: hr_utility.raise_error;

46: ElsIf (p_constraint_name = 'PER_PERSON_ANALYSES_PK') Then
47: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

Line 52: 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('STEP','15');
50: hr_utility.raise_error;
51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
55: hr_utility.raise_error;
56: End If;

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

49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
55: hr_utility.raise_error;
56: End If;
57: --

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

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

Line 55: hr_utility.raise_error;

51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
55: hr_utility.raise_error;
56: End If;
57: --
58: hr_utility.set_location(' Leaving:'||l_proc, 10);
59: End constraint_error;

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

54: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
55: hr_utility.raise_error;
56: End If;
57: --
58: hr_utility.set_location(' Leaving:'||l_proc, 10);
59: End constraint_error;
60: --
61: -- ----------------------------------------------------------------------------
62: -- |-----------------------------< api_updating >-----------------------------|

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

113: l_proc varchar2(72) := g_package||'api_updating';
114: l_fct_ret boolean;
115: --
116: Begin
117: hr_utility.set_location('Entering:'||l_proc, 5);
118: --
119: If (
120: p_person_analysis_id is null and
121: p_object_version_number is null

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

129: If (
130: p_person_analysis_id = g_old_rec.person_analysis_id and
131: p_object_version_number = g_old_rec.object_version_number
132: ) Then
133: hr_utility.set_location(l_proc, 10);
134: --
135: -- The g_old_rec is current therefore we must
136: -- set the returning function to true
137: --

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

146: Close C_Sel1;
147: --
148: -- The primary key is invalid therefore we must error
149: --
150: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
151: hr_utility.raise_error;
152: End If;
153: Close C_Sel1;
154: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 151: hr_utility.raise_error;

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

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

151: hr_utility.raise_error;
152: End If;
153: Close C_Sel1;
154: If (p_object_version_number <> g_old_rec.object_version_number) Then
155: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
156: hr_utility.raise_error;
157: End If;
158: hr_utility.set_location(l_proc, 15);
159: l_fct_ret := true;

Line 156: hr_utility.raise_error;

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

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

154: If (p_object_version_number <> g_old_rec.object_version_number) Then
155: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
156: hr_utility.raise_error;
157: End If;
158: hr_utility.set_location(l_proc, 15);
159: l_fct_ret := true;
160: End If;
161: End If;
162: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

158: hr_utility.set_location(l_proc, 15);
159: l_fct_ret := true;
160: End If;
161: End If;
162: hr_utility.set_location(' Leaving:'||l_proc, 20);
163: Return (l_fct_ret);
164: --
165: End api_updating;
166: --

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

217: --
218: l_proc varchar2(72) := g_package||'lck';
219: --
220: Begin
221: hr_utility.set_location('Entering:'||l_proc, 5);
222: hr_utility.set_location(' p_object_version_number '||p_object_version_number, 5.2);
223: hr_utility.set_location('g_old_rec.object_version_number :'||g_old_rec.object_version_number, 5.2);
224:
225: --

Line 222: hr_utility.set_location(' p_object_version_number '||p_object_version_number, 5.2);

218: l_proc varchar2(72) := g_package||'lck';
219: --
220: Begin
221: hr_utility.set_location('Entering:'||l_proc, 5);
222: hr_utility.set_location(' p_object_version_number '||p_object_version_number, 5.2);
223: hr_utility.set_location('g_old_rec.object_version_number :'||g_old_rec.object_version_number, 5.2);
224:
225: --
226: -- Add any mandatory argument checking here:

Line 223: hr_utility.set_location('g_old_rec.object_version_number :'||g_old_rec.object_version_number, 5.2);

219: --
220: Begin
221: hr_utility.set_location('Entering:'||l_proc, 5);
222: hr_utility.set_location(' p_object_version_number '||p_object_version_number, 5.2);
223: hr_utility.set_location('g_old_rec.object_version_number :'||g_old_rec.object_version_number, 5.2);
224:
225: --
226: -- Add any mandatory argument checking here:
227: -- Example:

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

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

Line 251: hr_utility.raise_error;

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

Line 256: hr_utility.set_location(' p_object_version_number '||p_object_version_number, 5.2);

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

Line 257: hr_utility.set_location('g_old_rec.object_version_number :'||g_old_rec.object_version_number, 5.2);

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

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

255:
256: hr_utility.set_location(' p_object_version_number '||p_object_version_number, 5.2);
257: hr_utility.set_location('g_old_rec.object_version_number :'||g_old_rec.object_version_number, 5.2);
258:
259: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
260: hr_utility.raise_error;
261: End If;
262: --
263: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 260: hr_utility.raise_error;

256: hr_utility.set_location(' p_object_version_number '||p_object_version_number, 5.2);
257: hr_utility.set_location('g_old_rec.object_version_number :'||g_old_rec.object_version_number, 5.2);
258:
259: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
260: hr_utility.raise_error;
261: End If;
262: --
263: hr_utility.set_location(' Leaving:'||l_proc, 10);
264: --

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

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

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

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

Line 274: hr_utility.set_message_token('TABLE_NAME', 'per_person_analyses');

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

Line 275: hr_utility.raise_error;

271: -- error message.
272: --
273: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
274: hr_utility.set_message_token('TABLE_NAME', 'per_person_analyses');
275: hr_utility.raise_error;
276: End lck;
277: --
278: -- ----------------------------------------------------------------------------
279: -- |-----------------------------< convert_args >-----------------------------|

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

321: l_proc varchar2(72) := g_package||'convert_args';
322: --
323: Begin
324: --
325: hr_utility.set_location('Entering:'||l_proc, 5);
326: --
327: -- Convert arguments into local l_rec structure.
328: --
329: l_rec.person_analysis_id := p_person_analysis_id;

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

362: l_rec.object_version_number := p_object_version_number;
363: --
364: -- Return the plsql record structure.
365: --
366: hr_utility.set_location(' Leaving:'||l_proc, 10);
367: Return(l_rec);
368: --
369: End convert_args;
370: --