DBA Data[Home] [Help]

APPS.BEN_CMT_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_MTHD_TYP_FK3') 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_MTHD_TYP_FK3') 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_MTHD_TYP_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_CM_DLVRY_MTHD_TYP_FK3') 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_MTHD_TYP_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_CM_DLVRY_MTHD_TYP_FK3') 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_MTHD_TYP_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_CM_DLVRY_MTHD_TYP_FK3') 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_MTHD_TYP_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_CM_DLVRY_MTHD_TYP_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_CM_DLVRY_MED_TYP_FK2') 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_MTHD_TYP_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_CM_DLVRY_MED_TYP_FK2') Then
47: ben_utility.child_exists_error(p_table_name => 'BEN_CM_DLVRY_MED_TYP');

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

40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'BEN_CM_DLVRY_MTHD_TYP_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_CM_DLVRY_MED_TYP_FK2') Then
47: ben_utility.child_exists_error(p_table_name => 'BEN_CM_DLVRY_MED_TYP');
48: Else

Line 45: hr_utility.raise_error;

41: ElsIf (p_constraint_name = 'BEN_CM_DLVRY_MTHD_TYP_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_CM_DLVRY_MED_TYP_FK2') Then
47: ben_utility.child_exists_error(p_table_name => 'BEN_CM_DLVRY_MED_TYP');
48: Else
49: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'BEN_CM_DLVRY_MED_TYP_FK2') Then
47: ben_utility.child_exists_error(p_table_name => 'BEN_CM_DLVRY_MED_TYP');
48: Else
49: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
50: hr_utility.set_message_token('PROCEDURE', l_proc);
51: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
52: hr_utility.raise_error;
53: End If;

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

46: ElsIf (p_constraint_name = 'BEN_CM_DLVRY_MED_TYP_FK2') Then
47: ben_utility.child_exists_error(p_table_name => 'BEN_CM_DLVRY_MED_TYP');
48: Else
49: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
50: hr_utility.set_message_token('PROCEDURE', l_proc);
51: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
52: hr_utility.raise_error;
53: End If;
54: --

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

47: ben_utility.child_exists_error(p_table_name => 'BEN_CM_DLVRY_MED_TYP');
48: Else
49: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
50: hr_utility.set_message_token('PROCEDURE', l_proc);
51: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
52: hr_utility.raise_error;
53: End If;
54: --
55: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 52: hr_utility.raise_error;

48: Else
49: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
50: hr_utility.set_message_token('PROCEDURE', l_proc);
51: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
52: hr_utility.raise_error;
53: End If;
54: --
55: hr_utility.set_location(' Leaving:'||l_proc, 10);
56: End constraint_error;

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

51: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
52: hr_utility.raise_error;
53: End If;
54: --
55: hr_utility.set_location(' Leaving:'||l_proc, 10);
56: End constraint_error;
57: --
58: -- ----------------------------------------------------------------------------
59: -- |-----------------------------< api_updating >-----------------------------|

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

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

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

129: If (
130: p_cm_dlvry_mthd_typ_id = g_old_rec.cm_dlvry_mthd_typ_id and
131: p_object_version_number = g_old_rec.object_version_number
132: ) Then
133: hr_utility.set_location(l_proc, 10);
134: --
135: -- The g_old_rec is current therefore we must
136: -- set the returning function to true
137: --

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

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

Line 151: hr_utility.raise_error;

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

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

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

Line 156: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 241: hr_utility.raise_error;

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

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

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

Line 246: hr_utility.raise_error;

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

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

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

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

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

Line 260: hr_utility.set_message_token('TABLE_NAME', 'ben_cm_dlvry_mthd_typ');

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

Line 261: hr_utility.raise_error;

257: -- error message.
258: --
259: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
260: hr_utility.set_message_token('TABLE_NAME', 'ben_cm_dlvry_mthd_typ');
261: hr_utility.raise_error;
262: End lck;
263: --
264: -- ----------------------------------------------------------------------------
265: -- |-----------------------------< convert_args >-----------------------------|

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

311: l_proc varchar2(72) := g_package||'convert_args';
312: --
313: Begin
314: --
315: hr_utility.set_location('Entering:'||l_proc, 5);
316: --
317: -- Convert arguments into local l_rec structure.
318: --
319: l_rec.cm_dlvry_mthd_typ_id := p_cm_dlvry_mthd_typ_id;

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

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