DBA Data[Home] [Help]

APPS.BEN_RAN_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_BATCH_RANGES_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_BATCH_RANGES_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_BATCH_RANGES_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_BATCH_RANGES_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_BATCH_RANGES_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_BATCH_RANGES_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_BATCH_RANGES_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_BATCH_RANGES_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_BATCH_RANGES_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_BATCH_RANGES_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: 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 = 'BEN_BATCH_RANGES_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: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'BEN_BATCH_RANGES_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: 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 = 'BEN_BATCH_RANGES_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: 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','10');
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','10');
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 83: hr_utility.set_location('Entering:'||l_proc, 5);

79: l_proc varchar2(72) := g_package||'api_updating';
80: l_fct_ret boolean;
81: --
82: Begin
83: hr_utility.set_location('Entering:'||l_proc, 5);
84: --
85: If (
86: p_range_id is null and
87: p_object_version_number is null

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

95: If (
96: p_range_id = g_old_rec.range_id and
97: p_object_version_number = g_old_rec.object_version_number
98: ) Then
99: hr_utility.set_location(l_proc, 10);
100: --
101: -- The g_old_rec is current therefore we must
102: -- set the returning function to true
103: --

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

112: Close C_Sel1;
113: --
114: -- The primary key is invalid therefore we must error
115: --
116: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
117: hr_utility.raise_error;
118: End If;
119: Close C_Sel1;
120: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 117: hr_utility.raise_error;

113: --
114: -- The primary key is invalid therefore we must error
115: --
116: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
117: hr_utility.raise_error;
118: End If;
119: Close C_Sel1;
120: If (p_object_version_number <> g_old_rec.object_version_number) Then
121: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

117: hr_utility.raise_error;
118: End If;
119: Close C_Sel1;
120: If (p_object_version_number <> g_old_rec.object_version_number) Then
121: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
122: hr_utility.raise_error;
123: End If;
124: hr_utility.set_location(l_proc, 15);
125: l_fct_ret := true;

Line 122: hr_utility.raise_error;

118: End If;
119: Close C_Sel1;
120: If (p_object_version_number <> g_old_rec.object_version_number) Then
121: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
122: hr_utility.raise_error;
123: End If;
124: hr_utility.set_location(l_proc, 15);
125: l_fct_ret := true;
126: End If;

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

120: If (p_object_version_number <> g_old_rec.object_version_number) Then
121: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
122: hr_utility.raise_error;
123: End If;
124: hr_utility.set_location(l_proc, 15);
125: l_fct_ret := true;
126: End If;
127: End If;
128: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

124: hr_utility.set_location(l_proc, 15);
125: l_fct_ret := true;
126: End If;
127: End If;
128: hr_utility.set_location(' Leaving:'||l_proc, 20);
129: Return (l_fct_ret);
130: --
131: End api_updating;
132: --

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

154: --
155: l_proc varchar2(72) := g_package||'lck';
156: --
157: Begin
158: hr_utility.set_location('Entering:'||l_proc, 5);
159: --
160: -- Add any mandatory argument checking here:
161: -- Example:
162: -- hr_api.mandatory_arg_error

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

170: Close C_Sel1;
171: --
172: -- The primary key is invalid therefore we must error
173: --
174: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
175: hr_utility.raise_error;
176: End If;
177: Close C_Sel1;
178: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 175: hr_utility.raise_error;

171: --
172: -- The primary key is invalid therefore we must error
173: --
174: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
175: hr_utility.raise_error;
176: End If;
177: Close C_Sel1;
178: If (p_object_version_number <> g_old_rec.object_version_number) Then
179: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

175: hr_utility.raise_error;
176: End If;
177: Close C_Sel1;
178: If (p_object_version_number <> g_old_rec.object_version_number) Then
179: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
180: hr_utility.raise_error;
181: End If;
182: --
183: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 180: hr_utility.raise_error;

176: End If;
177: Close C_Sel1;
178: If (p_object_version_number <> g_old_rec.object_version_number) Then
179: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
180: hr_utility.raise_error;
181: End If;
182: --
183: hr_utility.set_location(' Leaving:'||l_proc, 10);
184: --

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

179: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
180: hr_utility.raise_error;
181: End If;
182: --
183: hr_utility.set_location(' Leaving:'||l_proc, 10);
184: --
185: -- We need to trap the ORA LOCK exception
186: --
187: Exception

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

189: --
190: -- The object is locked therefore we need to supply a meaningful
191: -- error message.
192: --
193: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
194: hr_utility.set_message_token('TABLE_NAME', 'ben_batch_ranges');
195: hr_utility.raise_error;
196: End lck;
197: --

Line 194: hr_utility.set_message_token('TABLE_NAME', 'ben_batch_ranges');

190: -- The object is locked therefore we need to supply a meaningful
191: -- error message.
192: --
193: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
194: hr_utility.set_message_token('TABLE_NAME', 'ben_batch_ranges');
195: hr_utility.raise_error;
196: End lck;
197: --
198: -- ----------------------------------------------------------------------------

Line 195: hr_utility.raise_error;

191: -- error message.
192: --
193: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
194: hr_utility.set_message_token('TABLE_NAME', 'ben_batch_ranges');
195: hr_utility.raise_error;
196: End lck;
197: --
198: -- ----------------------------------------------------------------------------
199: -- |-----------------------------< convert_args >-----------------------------|

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

213: l_proc varchar2(72) := g_package||'convert_args';
214: --
215: Begin
216: --
217: hr_utility.set_location('Entering:'||l_proc, 5);
218: --
219: -- Convert arguments into local l_rec structure.
220: --
221: l_rec.range_id := p_range_id;

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

226: l_rec.object_version_number := p_object_version_number;
227: --
228: -- Return the plsql record structure.
229: --
230: hr_utility.set_location(' Leaving:'||l_proc, 10);
231: Return(l_rec);
232: --
233: End convert_args;
234: --