DBA Data[Home] [Help]

APPS.BEN_BNG_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_BENFTS_GRP_FK1') 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_BENFTS_GRP_FK1') 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 = 'BEN_BENFTS_GRP_PK') 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 = 'BEN_BENFTS_GRP_FK1') 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 = 'BEN_BENFTS_GRP_PK') 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 = 'BEN_BENFTS_GRP_FK1') 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 = 'BEN_BENFTS_GRP_PK') 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 = 'BEN_BENFTS_GRP_FK1') 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 = 'BEN_BENFTS_GRP_PK') 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 = 'BEN_BENFTS_GRP_PK') 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.raise_error;
46: ElsIf (p_constraint_name = 'BEN_BNFTS_GRP_UK') 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 = 'BEN_BENFTS_GRP_PK') 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.raise_error;
46: ElsIf (p_constraint_name = 'BEN_BNFTS_GRP_UK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'BEN_BENFTS_GRP_PK') 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.raise_error;
46: ElsIf (p_constraint_name = 'BEN_BNFTS_GRP_UK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 45: hr_utility.raise_error;

41: ElsIf (p_constraint_name = 'BEN_BENFTS_GRP_PK') 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.raise_error;
46: ElsIf (p_constraint_name = 'BEN_BNFTS_GRP_UK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
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_6153_ALL_PROCEDURE_FAIL');

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 = 'BEN_BNFTS_GRP_UK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'BEN_BENEFIT_ACTIONS_FK3') Then

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 = 'BEN_BNFTS_GRP_UK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'BEN_BENEFIT_ACTIONS_FK3') Then
52: ben_utility.child_exists_error(p_table_name => 'BEN_BENEFIT_ACTIONS');

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

45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'BEN_BNFTS_GRP_UK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'BEN_BENEFIT_ACTIONS_FK3') Then
52: ben_utility.child_exists_error(p_table_name => 'BEN_BENEFIT_ACTIONS');
53: ElsIf (p_constraint_name = 'BEN_BENFTS_GRP_RT_F_FK1') Then

Line 50: hr_utility.raise_error;

46: ElsIf (p_constraint_name = 'BEN_BNFTS_GRP_UK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'BEN_BENEFIT_ACTIONS_FK3') Then
52: ben_utility.child_exists_error(p_table_name => 'BEN_BENEFIT_ACTIONS');
53: ElsIf (p_constraint_name = 'BEN_BENFTS_GRP_RT_F_FK1') Then
54: ben_utility.child_exists_error(p_table_name => 'BEN_BENFTS_GRP_RT_F');

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

54: ben_utility.child_exists_error(p_table_name => 'BEN_BENFTS_GRP_RT_F');
55: ElsIf (p_constraint_name = 'BEN_BENFTS_GRP_PRTE_F_FK1') Then
56: ben_utility.child_exists_error(p_table_name => 'BEN_BENFTS_GRP_PRTE_F');
57: Else
58: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
59: hr_utility.set_message_token('PROCEDURE', l_proc);
60: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
61: hr_utility.raise_error;
62: End If;

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

55: ElsIf (p_constraint_name = 'BEN_BENFTS_GRP_PRTE_F_FK1') Then
56: ben_utility.child_exists_error(p_table_name => 'BEN_BENFTS_GRP_PRTE_F');
57: Else
58: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
59: hr_utility.set_message_token('PROCEDURE', l_proc);
60: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
61: hr_utility.raise_error;
62: End If;
63: --

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

56: ben_utility.child_exists_error(p_table_name => 'BEN_BENFTS_GRP_PRTE_F');
57: Else
58: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
59: hr_utility.set_message_token('PROCEDURE', l_proc);
60: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
61: hr_utility.raise_error;
62: End If;
63: --
64: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 61: hr_utility.raise_error;

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

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

60: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
61: hr_utility.raise_error;
62: End If;
63: --
64: hr_utility.set_location(' Leaving:'||l_proc, 10);
65: End constraint_error;
66: --
67: -- ----------------------------------------------------------------------------
68: -- |-----------------------------< api_updating >-----------------------------|

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

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

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

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

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

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

Line 158: hr_utility.raise_error;

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

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

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

Line 163: hr_utility.raise_error;

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

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

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

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

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

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

225: --
226: l_proc varchar2(72) := g_package||'lck';
227: --
228: Begin
229: hr_utility.set_location('Entering:'||l_proc, 5);
230: --
231: -- Add any mandatory argument checking here:
232: -- Example:
233: -- hr_api.mandatory_arg_error

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

241: Close C_Sel1;
242: --
243: -- The primary key is invalid therefore we must error
244: --
245: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
246: hr_utility.raise_error;
247: End If;
248: Close C_Sel1;
249: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 246: hr_utility.raise_error;

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

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

246: hr_utility.raise_error;
247: End If;
248: Close C_Sel1;
249: If (p_object_version_number <> g_old_rec.object_version_number) Then
250: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
251: hr_utility.raise_error;
252: End If;
253: --
254: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 251: hr_utility.raise_error;

247: End If;
248: Close C_Sel1;
249: If (p_object_version_number <> g_old_rec.object_version_number) Then
250: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
251: hr_utility.raise_error;
252: End If;
253: --
254: hr_utility.set_location(' Leaving:'||l_proc, 10);
255: --

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

250: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
251: hr_utility.raise_error;
252: End If;
253: --
254: hr_utility.set_location(' Leaving:'||l_proc, 10);
255: --
256: -- We need to trap the ORA LOCK exception
257: --
258: Exception

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

260: --
261: -- The object is locked therefore we need to supply a meaningful
262: -- error message.
263: --
264: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
265: hr_utility.set_message_token('TABLE_NAME', 'ben_benfts_grp');
266: hr_utility.raise_error;
267: End lck;
268: --

Line 265: hr_utility.set_message_token('TABLE_NAME', 'ben_benfts_grp');

261: -- The object is locked therefore we need to supply a meaningful
262: -- error message.
263: --
264: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
265: hr_utility.set_message_token('TABLE_NAME', 'ben_benfts_grp');
266: hr_utility.raise_error;
267: End lck;
268: --
269: -- ----------------------------------------------------------------------------

Line 266: hr_utility.raise_error;

262: -- error message.
263: --
264: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
265: hr_utility.set_message_token('TABLE_NAME', 'ben_benfts_grp');
266: hr_utility.raise_error;
267: End lck;
268: --
269: -- ----------------------------------------------------------------------------
270: -- |-----------------------------< convert_args >-----------------------------|

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

314: l_proc varchar2(72) := g_package||'convert_args';
315: --
316: Begin
317: --
318: hr_utility.set_location('Entering:'||l_proc, 5);
319: --
320: -- Convert arguments into local l_rec structure.
321: --
322: l_rec.benfts_grp_id := p_benfts_grp_id;

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

357: l_rec.object_version_number := p_object_version_number;
358: --
359: -- Return the plsql record structure.
360: --
361: hr_utility.set_location(' Leaving:'||l_proc, 10);
362: Return(l_rec);
363: --
364: End convert_args;
365: --