DBA Data[Home] [Help]

APPS.BEN_YRP_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 = 'BEN_YR_PERDS_FK3') 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 = 'BEN_YR_PERDS_FK3') 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:

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 = 'BEN_YR_PERDS_FK3') 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:
42: ElsIf (p_constraint_name = 'BEN_ENRT_PERD_FK2') Then

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

35: --
36: If (p_constraint_name = 'BEN_YR_PERDS_FK3') 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:
42: ElsIf (p_constraint_name = 'BEN_ENRT_PERD_FK2') Then
43: hr_utility.set_message(801, 'HR_7215_DT_CHILD_EXISTS');

Line 40: hr_utility.raise_error;

36: If (p_constraint_name = 'BEN_YR_PERDS_FK3') 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:
42: ElsIf (p_constraint_name = 'BEN_ENRT_PERD_FK2') Then
43: hr_utility.set_message(801, 'HR_7215_DT_CHILD_EXISTS');
44: hr_utility.set_message_token('TABLE_NAME','BEN_YR_PERD');

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

39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41:
42: ElsIf (p_constraint_name = 'BEN_ENRT_PERD_FK2') Then
43: hr_utility.set_message(801, 'HR_7215_DT_CHILD_EXISTS');
44: hr_utility.set_message_token('TABLE_NAME','BEN_YR_PERD');
45: --hr_utility.set_message_token('PROCEDURE', l_proc);
46: -- hr_utility.set_message_token('STEP','5');
47: hr_utility.raise_error;

Line 44: hr_utility.set_message_token('TABLE_NAME','BEN_YR_PERD');

40: hr_utility.raise_error;
41:
42: ElsIf (p_constraint_name = 'BEN_ENRT_PERD_FK2') Then
43: hr_utility.set_message(801, 'HR_7215_DT_CHILD_EXISTS');
44: hr_utility.set_message_token('TABLE_NAME','BEN_YR_PERD');
45: --hr_utility.set_message_token('PROCEDURE', l_proc);
46: -- hr_utility.set_message_token('STEP','5');
47: hr_utility.raise_error;
48:

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

41:
42: ElsIf (p_constraint_name = 'BEN_ENRT_PERD_FK2') Then
43: hr_utility.set_message(801, 'HR_7215_DT_CHILD_EXISTS');
44: hr_utility.set_message_token('TABLE_NAME','BEN_YR_PERD');
45: --hr_utility.set_message_token('PROCEDURE', l_proc);
46: -- hr_utility.set_message_token('STEP','5');
47: hr_utility.raise_error;
48:
49: ElsIf (p_constraint_name = 'BEN_YR_PERDS_PK') Then

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

42: ElsIf (p_constraint_name = 'BEN_ENRT_PERD_FK2') Then
43: hr_utility.set_message(801, 'HR_7215_DT_CHILD_EXISTS');
44: hr_utility.set_message_token('TABLE_NAME','BEN_YR_PERD');
45: --hr_utility.set_message_token('PROCEDURE', l_proc);
46: -- hr_utility.set_message_token('STEP','5');
47: hr_utility.raise_error;
48:
49: ElsIf (p_constraint_name = 'BEN_YR_PERDS_PK') Then
50: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

Line 47: hr_utility.raise_error;

43: hr_utility.set_message(801, 'HR_7215_DT_CHILD_EXISTS');
44: hr_utility.set_message_token('TABLE_NAME','BEN_YR_PERD');
45: --hr_utility.set_message_token('PROCEDURE', l_proc);
46: -- hr_utility.set_message_token('STEP','5');
47: hr_utility.raise_error;
48:
49: ElsIf (p_constraint_name = 'BEN_YR_PERDS_PK') Then
50: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
51: hr_utility.set_message_token('PROCEDURE', l_proc);

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

46: -- hr_utility.set_message_token('STEP','5');
47: hr_utility.raise_error;
48:
49: ElsIf (p_constraint_name = 'BEN_YR_PERDS_PK') Then
50: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
51: hr_utility.set_message_token('PROCEDURE', l_proc);
52: hr_utility.set_message_token('STEP','10');
53: hr_utility.raise_error;
54: Else

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

47: hr_utility.raise_error;
48:
49: ElsIf (p_constraint_name = 'BEN_YR_PERDS_PK') Then
50: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
51: hr_utility.set_message_token('PROCEDURE', l_proc);
52: hr_utility.set_message_token('STEP','10');
53: hr_utility.raise_error;
54: Else
55: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

48:
49: ElsIf (p_constraint_name = 'BEN_YR_PERDS_PK') Then
50: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
51: hr_utility.set_message_token('PROCEDURE', l_proc);
52: hr_utility.set_message_token('STEP','10');
53: hr_utility.raise_error;
54: Else
55: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
56: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 53: hr_utility.raise_error;

49: ElsIf (p_constraint_name = 'BEN_YR_PERDS_PK') Then
50: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
51: hr_utility.set_message_token('PROCEDURE', l_proc);
52: hr_utility.set_message_token('STEP','10');
53: hr_utility.raise_error;
54: Else
55: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
56: hr_utility.set_message_token('PROCEDURE', l_proc);
57: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

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

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

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

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

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

Line 58: hr_utility.raise_error;

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

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

57: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
58: hr_utility.raise_error;
59: End If;
60: --
61: hr_utility.set_location(' Leaving:'||l_proc, 10);
62: End constraint_error;
63:
64: --
65: -- ----------------------------------------------------------------------------

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

123: l_proc varchar2(72) := g_package||'api_updating';
124: l_fct_ret boolean;
125: --
126: Begin
127: hr_utility.set_location('Entering:'||l_proc, 5);
128: --
129: If (
130: p_yr_perd_id is null and
131: p_object_version_number is null

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

139: If (
140: p_yr_perd_id = g_old_rec.yr_perd_id and
141: p_object_version_number = g_old_rec.object_version_number
142: ) Then
143: hr_utility.set_location(l_proc, 10);
144: --
145: -- The g_old_rec is current therefore we must
146: -- set the returning function to true
147: --

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

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

Line 161: hr_utility.raise_error;

157: --
158: -- The primary key is invalid therefore we must error
159: --
160: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
161: hr_utility.raise_error;
162: End If;
163: Close C_Sel1;
164: If (p_object_version_number <> g_old_rec.object_version_number) Then
165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

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

Line 166: hr_utility.raise_error;

162: End If;
163: Close C_Sel1;
164: If (p_object_version_number <> g_old_rec.object_version_number) Then
165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
166: hr_utility.raise_error;
167: End If;
168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;
170: End If;

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

164: If (p_object_version_number <> g_old_rec.object_version_number) Then
165: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
166: hr_utility.raise_error;
167: End If;
168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;
170: End If;
171: End If;
172: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

168: hr_utility.set_location(l_proc, 15);
169: l_fct_ret := true;
170: End If;
171: End If;
172: hr_utility.set_location(' Leaving:'||l_proc, 20);
173: Return (l_fct_ret);
174: --
175: End api_updating;
176: --

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

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

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

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

Line 254: hr_utility.raise_error;

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

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

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

Line 259: hr_utility.raise_error;

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

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

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

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

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

Line 273: hr_utility.set_message_token('TABLE_NAME', 'ben_yr_perd');

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

Line 274: hr_utility.raise_error;

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

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

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

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

375: l_rec.object_version_number := p_object_version_number;
376: --
377: -- Return the plsql record structure.
378: --
379: hr_utility.set_location(' Leaving:'||l_proc, 10);
380: Return(l_rec);
381: --
382: End convert_args;
383: --