DBA Data[Home] [Help]

APPS.BEN_BMI_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_COMMU_INFO_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 = 'BEN_BATCH_COMMU_INFO_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: Else

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_COMMU_INFO_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: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

35: --
36: If (p_constraint_name = 'BEN_BATCH_COMMU_INFO_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: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: If (p_constraint_name = 'BEN_BATCH_COMMU_INFO_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: Else
42: 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('CONSTRAINT_NAME', p_constraint_name);

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

38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: Else
42: 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('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;

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

39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: Else
42: 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('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --

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

40: hr_utility.raise_error;
41: Else
42: 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('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 45: hr_utility.raise_error;

41: Else
42: 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('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);
49: End constraint_error;

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

44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);
49: End constraint_error;
50: --
51: -- ----------------------------------------------------------------------------
52: -- |-----------------------------< api_updating >-----------------------------|

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

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

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

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

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

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

Line 115: hr_utility.raise_error;

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

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

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

Line 120: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 176: hr_utility.raise_error;

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

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

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

Line 181: hr_utility.raise_error;

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

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

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

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

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

Line 195: hr_utility.set_message_token('TABLE_NAME', 'ben_batch_commu_info');

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

Line 196: hr_utility.raise_error;

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

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

217: l_proc varchar2(72) := g_package||'convert_args';
218: --
219: Begin
220: --
221: hr_utility.set_location('Entering:'||l_proc, 5);
222: --
223: -- Convert arguments into local l_rec structure.
224: --
225: l_rec.batch_commu_id := p_batch_commu_id;

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

233: l_rec.object_version_number := p_object_version_number;
234: --
235: -- Return the plsql record structure.
236: --
237: hr_utility.set_location(' Leaving:'||l_proc, 10);
238: Return(l_rec);
239: --
240: End convert_args;
241: --