DBA Data[Home] [Help]

APPS.BEN_BPI_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_PROC_INFO_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_PROC_INFO_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_PROC_INFO_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 = 'BEN_BATCH_PROC_INFO_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_PROC_INFO_FK2') 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_PROC_INFO_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_PROC_INFO_FK2') 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_PROC_INFO_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_PROC_INFO_FK2') 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_PROC_INFO_FK2') 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_BATCH_PROC_INFO_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 = 'BEN_BATCH_PROC_INFO_FK2') 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_BATCH_PROC_INFO_PK') 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_BATCH_PROC_INFO_FK2') 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_BATCH_PROC_INFO_PK') 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_BATCH_PROC_INFO_FK2') 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_BATCH_PROC_INFO_PK') 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_BATCH_PROC_INFO_PK') 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: 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 = 'BEN_BATCH_PROC_INFO_PK') 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: 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 = 'BEN_BATCH_PROC_INFO_PK') 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: 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 = 'BEN_BATCH_PROC_INFO_PK') 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: 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 96: hr_utility.set_location('Entering:'||l_proc, 5);

92: l_proc varchar2(72) := g_package||'api_updating';
93: l_fct_ret boolean;
94: --
95: Begin
96: hr_utility.set_location('Entering:'||l_proc, 5);
97: --
98: If (
99: p_batch_proc_id is null and
100: p_object_version_number is null

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

108: If (
109: p_batch_proc_id = g_old_rec.batch_proc_id and
110: p_object_version_number = g_old_rec.object_version_number
111: ) Then
112: hr_utility.set_location(l_proc, 10);
113: --
114: -- The g_old_rec is current therefore we must
115: -- set the returning function to true
116: --

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

125: Close C_Sel1;
126: --
127: -- The primary key is invalid therefore we must error
128: --
129: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
130: hr_utility.raise_error;
131: End If;
132: Close C_Sel1;
133: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 130: hr_utility.raise_error;

126: --
127: -- The primary key is invalid therefore we must error
128: --
129: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
130: hr_utility.raise_error;
131: End If;
132: Close C_Sel1;
133: If (p_object_version_number <> g_old_rec.object_version_number) Then
134: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

130: hr_utility.raise_error;
131: End If;
132: Close C_Sel1;
133: If (p_object_version_number <> g_old_rec.object_version_number) Then
134: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
135: hr_utility.raise_error;
136: End If;
137: hr_utility.set_location(l_proc, 15);
138: l_fct_ret := true;

Line 135: hr_utility.raise_error;

131: End If;
132: Close C_Sel1;
133: If (p_object_version_number <> g_old_rec.object_version_number) Then
134: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
135: hr_utility.raise_error;
136: End If;
137: hr_utility.set_location(l_proc, 15);
138: l_fct_ret := true;
139: End If;

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

133: If (p_object_version_number <> g_old_rec.object_version_number) Then
134: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
135: hr_utility.raise_error;
136: End If;
137: hr_utility.set_location(l_proc, 15);
138: l_fct_ret := true;
139: End If;
140: End If;
141: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

137: hr_utility.set_location(l_proc, 15);
138: l_fct_ret := true;
139: End If;
140: End If;
141: hr_utility.set_location(' Leaving:'||l_proc, 20);
142: Return (l_fct_ret);
143: --
144: End api_updating;
145: --

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

175: --
176: l_proc varchar2(72) := g_package||'lck';
177: --
178: Begin
179: hr_utility.set_location('Entering:'||l_proc, 5);
180: --
181: -- Add any mandatory argument checking here:
182: -- Example:
183: -- hr_api.mandatory_arg_error

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

191: Close C_Sel1;
192: --
193: -- The primary key is invalid therefore we must error
194: --
195: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
196: hr_utility.raise_error;
197: End If;
198: Close C_Sel1;
199: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 196: hr_utility.raise_error;

192: --
193: -- The primary key is invalid therefore we must error
194: --
195: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
196: hr_utility.raise_error;
197: End If;
198: Close C_Sel1;
199: If (p_object_version_number <> g_old_rec.object_version_number) Then
200: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

196: hr_utility.raise_error;
197: End If;
198: Close C_Sel1;
199: If (p_object_version_number <> g_old_rec.object_version_number) Then
200: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
201: hr_utility.raise_error;
202: End If;
203: --
204: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 201: hr_utility.raise_error;

197: End If;
198: Close C_Sel1;
199: If (p_object_version_number <> g_old_rec.object_version_number) Then
200: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
201: hr_utility.raise_error;
202: End If;
203: --
204: hr_utility.set_location(' Leaving:'||l_proc, 10);
205: --

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

200: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
201: hr_utility.raise_error;
202: End If;
203: --
204: hr_utility.set_location(' Leaving:'||l_proc, 10);
205: --
206: -- We need to trap the ORA LOCK exception
207: --
208: Exception

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

210: --
211: -- The object is locked therefore we need to supply a meaningful
212: -- error message.
213: --
214: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
215: hr_utility.set_message_token('TABLE_NAME', 'ben_batch_proc_info');
216: hr_utility.raise_error;
217: End lck;
218: --

Line 215: hr_utility.set_message_token('TABLE_NAME', 'ben_batch_proc_info');

211: -- The object is locked therefore we need to supply a meaningful
212: -- error message.
213: --
214: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
215: hr_utility.set_message_token('TABLE_NAME', 'ben_batch_proc_info');
216: hr_utility.raise_error;
217: End lck;
218: --
219: -- ----------------------------------------------------------------------------

Line 216: hr_utility.raise_error;

212: -- error message.
213: --
214: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
215: hr_utility.set_message_token('TABLE_NAME', 'ben_batch_proc_info');
216: hr_utility.raise_error;
217: End lck;
218: --
219: -- ----------------------------------------------------------------------------
220: -- |-----------------------------< convert_args >-----------------------------|

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

242: l_proc varchar2(72) := g_package||'convert_args';
243: --
244: Begin
245: --
246: hr_utility.set_location('Entering:'||l_proc, 5);
247: --
248: -- Convert arguments into local l_rec structure.
249: --
250: l_rec.batch_proc_id := p_batch_proc_id;

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

263: l_rec.object_version_number := p_object_version_number;
264: --
265: -- Return the plsql record structure.
266: --
267: hr_utility.set_location(' Leaving:'||l_proc, 10);
268: Return(l_rec);
269: --
270: End convert_args;
271: --