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);
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 >---------------------------|
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 = 'AVCON_BEN_B_CRTD__000') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'AVCON_BEN_B_CRTD__000') 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 = 'AVCON_BEN_B_DLTD__000') Then
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'AVCON_BEN_B_CRTD__000') 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 = 'AVCON_BEN_B_DLTD__000') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
35: --
36: If (p_constraint_name = 'AVCON_BEN_B_CRTD__000') 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 = 'AVCON_BEN_B_DLTD__000') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
36: If (p_constraint_name = 'AVCON_BEN_B_CRTD__000') 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 = 'AVCON_BEN_B_DLTD__000') 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');
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 = 'AVCON_BEN_B_DLTD__000') 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 = 'AVCON_BEN_B_REPLC_000') Then
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'AVCON_BEN_B_DLTD__000') 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 = 'AVCON_BEN_B_REPLC_000') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'AVCON_BEN_B_DLTD__000') 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 = 'AVCON_BEN_B_REPLC_000') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
41: ElsIf (p_constraint_name = 'AVCON_BEN_B_DLTD__000') 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 = 'AVCON_BEN_B_REPLC_000') 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');
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 = 'AVCON_BEN_B_REPLC_000') 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: ElsIf (p_constraint_name = 'AVCON_BEN_B_TMPRL_000') Then
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'AVCON_BEN_B_REPLC_000') 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: ElsIf (p_constraint_name = 'AVCON_BEN_B_TMPRL_000') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'AVCON_BEN_B_REPLC_000') 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: ElsIf (p_constraint_name = 'AVCON_BEN_B_TMPRL_000') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
46: ElsIf (p_constraint_name = 'AVCON_BEN_B_REPLC_000') 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: ElsIf (p_constraint_name = 'AVCON_BEN_B_TMPRL_000') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'AVCON_BEN_B_TMPRL_000') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK1') Then
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'AVCON_BEN_B_TMPRL_000') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK1') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
50: hr_utility.raise_error;
51: ElsIf (p_constraint_name = 'AVCON_BEN_B_TMPRL_000') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK1') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
51: ElsIf (p_constraint_name = 'AVCON_BEN_B_TMPRL_000') Then
52: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK1') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK1') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK2') Then
54: hr_utility.set_message_token('STEP','20');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK1') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK2') Then
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK1') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK2') Then
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
63: hr_utility.set_message_token('PROCEDURE', l_proc);
56: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK1') Then
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK2') Then
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
63: hr_utility.set_message_token('PROCEDURE', l_proc);
64: hr_utility.set_message_token('STEP','30');
58: hr_utility.set_message_token('PROCEDURE', l_proc);
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK2') Then
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
63: hr_utility.set_message_token('PROCEDURE', l_proc);
64: hr_utility.set_message_token('STEP','30');
65: hr_utility.raise_error;
66: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_PK') Then
59: hr_utility.set_message_token('STEP','25');
60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK2') Then
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
63: hr_utility.set_message_token('PROCEDURE', l_proc);
64: hr_utility.set_message_token('STEP','30');
65: hr_utility.raise_error;
66: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_PK') Then
67: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK2') Then
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
63: hr_utility.set_message_token('PROCEDURE', l_proc);
64: hr_utility.set_message_token('STEP','30');
65: hr_utility.raise_error;
66: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_PK') Then
67: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
68: hr_utility.set_message_token('PROCEDURE', l_proc);
61: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK2') Then
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
63: hr_utility.set_message_token('PROCEDURE', l_proc);
64: hr_utility.set_message_token('STEP','30');
65: hr_utility.raise_error;
66: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_PK') Then
67: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
68: hr_utility.set_message_token('PROCEDURE', l_proc);
69: hr_utility.set_message_token('STEP','35');
63: hr_utility.set_message_token('PROCEDURE', l_proc);
64: hr_utility.set_message_token('STEP','30');
65: hr_utility.raise_error;
66: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_PK') Then
67: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
68: hr_utility.set_message_token('PROCEDURE', l_proc);
69: hr_utility.set_message_token('STEP','35');
70: hr_utility.raise_error;
71: Else
64: hr_utility.set_message_token('STEP','30');
65: hr_utility.raise_error;
66: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_PK') Then
67: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
68: hr_utility.set_message_token('PROCEDURE', l_proc);
69: hr_utility.set_message_token('STEP','35');
70: hr_utility.raise_error;
71: Else
72: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
65: hr_utility.raise_error;
66: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_PK') Then
67: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
68: hr_utility.set_message_token('PROCEDURE', l_proc);
69: hr_utility.set_message_token('STEP','35');
70: hr_utility.raise_error;
71: Else
72: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
73: hr_utility.set_message_token('PROCEDURE', l_proc);
66: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_PK') Then
67: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
68: hr_utility.set_message_token('PROCEDURE', l_proc);
69: hr_utility.set_message_token('STEP','35');
70: hr_utility.raise_error;
71: Else
72: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
73: hr_utility.set_message_token('PROCEDURE', l_proc);
74: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
68: hr_utility.set_message_token('PROCEDURE', l_proc);
69: hr_utility.set_message_token('STEP','35');
70: hr_utility.raise_error;
71: Else
72: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
73: hr_utility.set_message_token('PROCEDURE', l_proc);
74: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
75: hr_utility.raise_error;
76: End If;
69: hr_utility.set_message_token('STEP','35');
70: hr_utility.raise_error;
71: Else
72: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
73: hr_utility.set_message_token('PROCEDURE', l_proc);
74: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
75: hr_utility.raise_error;
76: End If;
77: --
70: hr_utility.raise_error;
71: Else
72: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
73: hr_utility.set_message_token('PROCEDURE', l_proc);
74: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
75: hr_utility.raise_error;
76: End If;
77: --
78: hr_utility.set_location(' Leaving:'||l_proc, 10);
71: Else
72: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
73: hr_utility.set_message_token('PROCEDURE', l_proc);
74: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
75: hr_utility.raise_error;
76: End If;
77: --
78: hr_utility.set_location(' Leaving:'||l_proc, 10);
79: End constraint_error;
74: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
75: hr_utility.raise_error;
76: End If;
77: --
78: hr_utility.set_location(' Leaving:'||l_proc, 10);
79: End constraint_error;
80: --
81: -- ----------------------------------------------------------------------------
82: -- |-----------------------------< api_updating >-----------------------------|
118: l_proc varchar2(72) := g_package||'api_updating';
119: l_fct_ret boolean;
120: --
121: Begin
122: hr_utility.set_location('Entering:'||l_proc, 5);
123: --
124: If (
125: p_batch_ler_id is null and
126: p_object_version_number is null
134: If (
135: p_batch_ler_id = g_old_rec.batch_ler_id and
136: p_object_version_number = g_old_rec.object_version_number
137: ) Then
138: hr_utility.set_location(l_proc, 10);
139: --
140: -- The g_old_rec is current therefore we must
141: -- set the returning function to true
142: --
151: Close C_Sel1;
152: --
153: -- The primary key is invalid therefore we must error
154: --
155: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
156: hr_utility.raise_error;
157: End If;
158: Close C_Sel1;
159: If (p_object_version_number <> g_old_rec.object_version_number) Then
152: --
153: -- The primary key is invalid therefore we must error
154: --
155: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
156: hr_utility.raise_error;
157: End If;
158: Close C_Sel1;
159: If (p_object_version_number <> g_old_rec.object_version_number) Then
160: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
156: hr_utility.raise_error;
157: End If;
158: Close C_Sel1;
159: If (p_object_version_number <> g_old_rec.object_version_number) Then
160: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
161: hr_utility.raise_error;
162: End If;
163: hr_utility.set_location(l_proc, 15);
164: l_fct_ret := true;
157: End If;
158: Close C_Sel1;
159: If (p_object_version_number <> g_old_rec.object_version_number) Then
160: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
161: hr_utility.raise_error;
162: End If;
163: hr_utility.set_location(l_proc, 15);
164: l_fct_ret := true;
165: End If;
159: If (p_object_version_number <> g_old_rec.object_version_number) Then
160: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
161: hr_utility.raise_error;
162: End If;
163: hr_utility.set_location(l_proc, 15);
164: l_fct_ret := true;
165: End If;
166: End If;
167: hr_utility.set_location(' Leaving:'||l_proc, 20);
163: hr_utility.set_location(l_proc, 15);
164: l_fct_ret := true;
165: End If;
166: End If;
167: hr_utility.set_location(' Leaving:'||l_proc, 20);
168: Return (l_fct_ret);
169: --
170: End api_updating;
171: --
207: --
208: l_proc varchar2(72) := g_package||'lck';
209: --
210: Begin
211: hr_utility.set_location('Entering:'||l_proc, 5);
212: --
213: -- Add any mandatory argument checking here:
214: -- Example:
215: -- hr_api.mandatory_arg_error
223: Close C_Sel1;
224: --
225: -- The primary key is invalid therefore we must error
226: --
227: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
228: hr_utility.raise_error;
229: End If;
230: Close C_Sel1;
231: If (p_object_version_number <> g_old_rec.object_version_number) Then
224: --
225: -- The primary key is invalid therefore we must error
226: --
227: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
228: hr_utility.raise_error;
229: End If;
230: Close C_Sel1;
231: If (p_object_version_number <> g_old_rec.object_version_number) Then
232: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
228: hr_utility.raise_error;
229: End If;
230: Close C_Sel1;
231: If (p_object_version_number <> g_old_rec.object_version_number) Then
232: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
233: hr_utility.raise_error;
234: End If;
235: --
236: hr_utility.set_location(' Leaving:'||l_proc, 10);
229: End If;
230: Close C_Sel1;
231: If (p_object_version_number <> g_old_rec.object_version_number) Then
232: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
233: hr_utility.raise_error;
234: End If;
235: --
236: hr_utility.set_location(' Leaving:'||l_proc, 10);
237: --
232: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
233: hr_utility.raise_error;
234: End If;
235: --
236: hr_utility.set_location(' Leaving:'||l_proc, 10);
237: --
238: -- We need to trap the ORA LOCK exception
239: --
240: Exception
242: --
243: -- The object is locked therefore we need to supply a meaningful
244: -- error message.
245: --
246: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
247: hr_utility.set_message_token('TABLE_NAME', 'ben_batch_ler_info');
248: hr_utility.raise_error;
249: End lck;
250: --
243: -- The object is locked therefore we need to supply a meaningful
244: -- error message.
245: --
246: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
247: hr_utility.set_message_token('TABLE_NAME', 'ben_batch_ler_info');
248: hr_utility.raise_error;
249: End lck;
250: --
251: -- ----------------------------------------------------------------------------
244: -- error message.
245: --
246: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
247: hr_utility.set_message_token('TABLE_NAME', 'ben_batch_ler_info');
248: hr_utility.raise_error;
249: End lck;
250: --
251: -- ----------------------------------------------------------------------------
252: -- |-----------------------------< convert_args >-----------------------------|
280: l_proc varchar2(72) := g_package||'convert_args';
281: --
282: Begin
283: --
284: hr_utility.set_location('Entering:'||l_proc, 5);
285: --
286: -- Convert arguments into local l_rec structure.
287: --
288: l_rec.batch_ler_id := p_batch_ler_id;
307: l_rec.object_version_number := p_object_version_number;
308: --
309: -- Return the plsql record structure.
310: --
311: hr_utility.set_location(' Leaving:'||l_proc, 10);
312: Return(l_rec);
313: --
314: End convert_args;
315: --