DBA Data[Home] [Help]

APPS.BEN_CMD_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_CM_DLVRY_MED_TYP_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_CM_DLVRY_MED_TYP_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_CM_DLVRY_MED_TYP_FK3') 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_CM_DLVRY_MED_TYP_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_CM_DLVRY_MED_TYP_FK3') 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_CM_DLVRY_MED_TYP_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_CM_DLVRY_MED_TYP_FK3') 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_CM_DLVRY_MED_TYP_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_CM_DLVRY_MED_TYP_FK3') 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_CM_DLVRY_MED_TYP_FK3') 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_CM_DLVRY_MED_TYP_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_CM_DLVRY_MED_TYP_FK3') 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_CM_DLVRY_MED_TYP_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_CM_DLVRY_MED_TYP_FK3') 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_CM_DLVRY_MED_TYP_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_CM_DLVRY_MED_TYP_FK3') 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_CM_DLVRY_MED_TYP_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_CM_DLVRY_MED_TYP_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_CM_DLVRY_MED_TYP_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_CM_DLVRY_MED_TYP_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_CM_DLVRY_MED_TYP_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 120: hr_utility.set_location('Entering:'||l_proc, 5);

116: l_proc varchar2(72) := g_package||'api_updating';
117: l_fct_ret boolean;
118: --
119: Begin
120: hr_utility.set_location('Entering:'||l_proc, 5);
121: --
122: If (
123: p_cm_dlvry_med_typ_id is null and
124: p_object_version_number is null

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

132: If (
133: p_cm_dlvry_med_typ_id = g_old_rec.cm_dlvry_med_typ_id and
134: p_object_version_number = g_old_rec.object_version_number
135: ) Then
136: hr_utility.set_location(l_proc, 10);
137: --
138: -- The g_old_rec is current therefore we must
139: -- set the returning function to true
140: --

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

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

Line 154: hr_utility.raise_error;

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

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

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

Line 159: hr_utility.raise_error;

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

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

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

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

161: hr_utility.set_location(l_proc, 15);
162: l_fct_ret := true;
163: End If;
164: End If;
165: hr_utility.set_location(' Leaving:'||l_proc, 20);
166: Return (l_fct_ret);
167: --
168: End api_updating;
169: --

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

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

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

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

Line 244: hr_utility.raise_error;

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

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

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

Line 249: hr_utility.raise_error;

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

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

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

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

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

Line 263: hr_utility.set_message_token('TABLE_NAME', 'ben_cm_dlvry_med_typ');

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

Line 264: hr_utility.raise_error;

260: -- error message.
261: --
262: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
263: hr_utility.set_message_token('TABLE_NAME', 'ben_cm_dlvry_med_typ');
264: hr_utility.raise_error;
265: End lck;
266: --
267: -- ----------------------------------------------------------------------------
268: -- |-----------------------------< 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.cm_dlvry_med_typ_id := p_cm_dlvry_med_typ_id;

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

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