DBA Data[Home] [Help]

APPS.BEN_WPN_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_WV_PRTN_RSN_PL_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_WV_PRTN_RSN_PL_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_WV_PRTN_RSN_PL_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_WV_PRTN_RSN_PL_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_WV_PRTN_RSN_PL_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 113: hr_utility.set_location('Entering:'||l_proc, 5);

109: l_proc varchar2(72) := g_package||'api_updating';
110: l_fct_ret boolean;
111: --
112: Begin
113: hr_utility.set_location('Entering:'||l_proc, 5);
114: --
115: If (p_effective_date is null or
116: p_wv_prtn_rsn_pl_id is null or
117: p_object_version_number is null) Then

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

122: l_fct_ret := false;
123: Else
124: If (p_wv_prtn_rsn_pl_id = g_old_rec.wv_prtn_rsn_pl_id and
125: p_object_version_number = g_old_rec.object_version_number) Then
126: hr_utility.set_location(l_proc, 10);
127: --
128: -- The g_old_rec is current therefore we must
129: -- set the returning function to true
130: --

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

139: Close C_Sel1;
140: --
141: -- The primary key is invalid therefore we must error
142: --
143: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
144: hr_utility.raise_error;
145: End If;
146: Close C_Sel1;
147: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 144: hr_utility.raise_error;

140: --
141: -- The primary key is invalid therefore we must error
142: --
143: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
144: hr_utility.raise_error;
145: End If;
146: Close C_Sel1;
147: If (p_object_version_number <> g_old_rec.object_version_number) Then
148: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

144: hr_utility.raise_error;
145: End If;
146: Close C_Sel1;
147: If (p_object_version_number <> g_old_rec.object_version_number) Then
148: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
149: hr_utility.raise_error;
150: End If;
151: hr_utility.set_location(l_proc, 15);
152: l_fct_ret := true;

Line 149: hr_utility.raise_error;

145: End If;
146: Close C_Sel1;
147: If (p_object_version_number <> g_old_rec.object_version_number) Then
148: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
149: hr_utility.raise_error;
150: End If;
151: hr_utility.set_location(l_proc, 15);
152: l_fct_ret := true;
153: End If;

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

147: If (p_object_version_number <> g_old_rec.object_version_number) Then
148: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
149: hr_utility.raise_error;
150: End If;
151: hr_utility.set_location(l_proc, 15);
152: l_fct_ret := true;
153: End If;
154: End If;
155: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

151: hr_utility.set_location(l_proc, 15);
152: l_fct_ret := true;
153: End If;
154: End If;
155: hr_utility.set_location(' Leaving:'||l_proc, 20);
156: Return (l_fct_ret);
157: --
158: End api_updating;
159: --

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

179: and p_effective_date
180: between t.effective_start_date and t.effective_end_date;
181: --
182: Begin
183: hr_utility.set_location('Entering:'||l_proc, 5);
184: Open C_Sel1;
185: Fetch C_Sel1 Into l_parent_key_value1;
186: If C_Sel1%notfound then
187: Close C_Sel1;

Line 188: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

184: Open C_Sel1;
185: Fetch C_Sel1 Into l_parent_key_value1;
186: If C_Sel1%notfound then
187: Close C_Sel1;
188: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
189: hr_utility.set_message_token('PROCEDURE', l_proc);
190: hr_utility.set_message_token('STEP','10');
191: hr_utility.raise_error;
192: End If;

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

185: Fetch C_Sel1 Into l_parent_key_value1;
186: If C_Sel1%notfound then
187: Close C_Sel1;
188: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
189: hr_utility.set_message_token('PROCEDURE', l_proc);
190: hr_utility.set_message_token('STEP','10');
191: hr_utility.raise_error;
192: End If;
193: Close C_Sel1;

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

186: If C_Sel1%notfound then
187: Close C_Sel1;
188: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
189: hr_utility.set_message_token('PROCEDURE', l_proc);
190: hr_utility.set_message_token('STEP','10');
191: hr_utility.raise_error;
192: End If;
193: Close C_Sel1;
194: --

Line 191: hr_utility.raise_error;

187: Close C_Sel1;
188: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
189: hr_utility.set_message_token('PROCEDURE', l_proc);
190: hr_utility.set_message_token('STEP','10');
191: hr_utility.raise_error;
192: End If;
193: Close C_Sel1;
194: --
195: -- Call the corresponding datetrack api

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

206: p_delete => p_delete,
207: p_future_change => p_future_change,
208: p_delete_next_change => p_delete_next_change);
209: --
210: hr_utility.set_location(' Leaving:'||l_proc, 10);
211: End find_dt_del_modes;
212: --
213: -- ----------------------------------------------------------------------------
214: -- |--------------------------< find_dt_upd_modes >---------------------------|

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

223: --
224: l_proc varchar2(72) := g_package||'find_dt_upd_modes';
225: --
226: Begin
227: hr_utility.set_location('Entering:'||l_proc, 5);
228: --
229: -- Call the corresponding datetrack api
230: --
231: dt_api.find_dt_upd_modes

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

237: p_update => p_update,
238: p_update_override => p_update_override,
239: p_update_change_insert => p_update_change_insert);
240: --
241: hr_utility.set_location(' Leaving:'||l_proc, 10);
242: End find_dt_upd_modes;
243: --
244: -- ----------------------------------------------------------------------------
245: -- |------------------------< upd_effective_end_date >------------------------|

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

255: l_proc varchar2(72) := g_package||'upd_effective_end_date';
256: l_object_version_number number;
257: --
258: Begin
259: hr_utility.set_location('Entering:'||l_proc, 5);
260: --
261: -- Because we are updating a row we must get the next object
262: -- version number.
263: --

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

266: (p_base_table_name => 'ben_wv_prtn_rsn_pl_f',
267: p_base_key_column => 'wv_prtn_rsn_pl_id',
268: p_base_key_value => p_base_key_value);
269: --
270: hr_utility.set_location(l_proc, 10);
271: g_api_dml := true; -- Set the api dml status
272: --
273: -- Update the specified datetrack row setting the effective
274: -- end date to the specified new effective end date.

Line 285: hr_utility.set_location(' Leaving:'||l_proc, 15);

281: between t.effective_start_date and t.effective_end_date;
282: --
283: g_api_dml := false; -- Unset the api dml status
284: p_object_version_number := l_object_version_number;
285: hr_utility.set_location(' Leaving:'||l_proc, 15);
286: --
287: Exception
288: When Others Then
289: g_api_dml := false; -- Unset the api dml status

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

359: --
360: --
361: --
362: Begin
363: hr_utility.set_location('Entering:'||l_proc, 5);
364: --
365: -- Ensure that all the mandatory arguments are not null
366: --
367: hr_api.mandatory_arg_error(p_api_name => l_proc,

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

392: Close C_Sel1;
393: --
394: -- The primary key is invalid therefore we must error
395: --
396: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
397: hr_utility.raise_error;
398: End If;
399: Close C_Sel1;
400: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 397: hr_utility.raise_error;

393: --
394: -- The primary key is invalid therefore we must error
395: --
396: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
397: hr_utility.raise_error;
398: End If;
399: Close C_Sel1;
400: If (p_object_version_number <> g_old_rec.object_version_number) Then
401: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

397: hr_utility.raise_error;
398: End If;
399: Close C_Sel1;
400: If (p_object_version_number <> g_old_rec.object_version_number) Then
401: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
402: hr_utility.raise_error;
403: End If;
404: hr_utility.set_location(l_proc, 15);
405: --

Line 402: hr_utility.raise_error;

398: End If;
399: Close C_Sel1;
400: If (p_object_version_number <> g_old_rec.object_version_number) Then
401: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
402: hr_utility.raise_error;
403: End If;
404: hr_utility.set_location(l_proc, 15);
405: --
406: --

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

400: If (p_object_version_number <> g_old_rec.object_version_number) Then
401: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
402: hr_utility.raise_error;
403: End If;
404: hr_utility.set_location(l_proc, 15);
405: --
406: --
407: -- Validate the datetrack mode mode getting the validation start
408: -- and end dates for the specified datetrack operation.

Line 428: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

424: -- We are doing a datetrack 'INSERT' which is illegal within this
425: -- procedure therefore we must error (note: to lck on insert the
426: -- private procedure ins_lck should be called).
427: --
428: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
429: hr_utility.set_message_token('PROCEDURE', l_proc);
430: hr_utility.set_message_token('STEP','20');
431: hr_utility.raise_error;
432: End If;

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

425: -- procedure therefore we must error (note: to lck on insert the
426: -- private procedure ins_lck should be called).
427: --
428: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
429: hr_utility.set_message_token('PROCEDURE', l_proc);
430: hr_utility.set_message_token('STEP','20');
431: hr_utility.raise_error;
432: End If;
433: --

Line 430: hr_utility.set_message_token('STEP','20');

426: -- private procedure ins_lck should be called).
427: --
428: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
429: hr_utility.set_message_token('PROCEDURE', l_proc);
430: hr_utility.set_message_token('STEP','20');
431: hr_utility.raise_error;
432: End If;
433: --
434: -- Set the validation start and end date OUT arguments

Line 431: hr_utility.raise_error;

427: --
428: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
429: hr_utility.set_message_token('PROCEDURE', l_proc);
430: hr_utility.set_message_token('STEP','20');
431: hr_utility.raise_error;
432: End If;
433: --
434: -- Set the validation start and end date OUT arguments
435: --

Line 439: hr_utility.set_location(' Leaving:'||l_proc, 30);

435: --
436: p_validation_start_date := l_validation_start_date;
437: p_validation_end_date := l_validation_end_date;
438: --
439: hr_utility.set_location(' Leaving:'||l_proc, 30);
440: --
441: -- We need to trap the ORA LOCK exception
442: --
443: Exception

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

445: --
446: -- The object is locked therefore we need to supply a meaningful
447: -- error message.
448: --
449: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
450: hr_utility.set_message_token('TABLE_NAME', 'ben_wv_prtn_rsn_pl_f');
451: hr_utility.raise_error;
452: When l_object_invalid then
453: --

Line 450: hr_utility.set_message_token('TABLE_NAME', 'ben_wv_prtn_rsn_pl_f');

446: -- The object is locked therefore we need to supply a meaningful
447: -- error message.
448: --
449: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
450: hr_utility.set_message_token('TABLE_NAME', 'ben_wv_prtn_rsn_pl_f');
451: hr_utility.raise_error;
452: When l_object_invalid then
453: --
454: -- The object doesn't exist or is invalid

Line 451: hr_utility.raise_error;

447: -- error message.
448: --
449: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
450: hr_utility.set_message_token('TABLE_NAME', 'ben_wv_prtn_rsn_pl_f');
451: hr_utility.raise_error;
452: When l_object_invalid then
453: --
454: -- The object doesn't exist or is invalid
455: --

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

452: When l_object_invalid then
453: --
454: -- The object doesn't exist or is invalid
455: --
456: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
457: hr_utility.set_message_token('TABLE_NAME', 'ben_wv_prtn_rsn_pl_f');
458: hr_utility.raise_error;
459: End lck;
460: --

Line 457: hr_utility.set_message_token('TABLE_NAME', 'ben_wv_prtn_rsn_pl_f');

453: --
454: -- The object doesn't exist or is invalid
455: --
456: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
457: hr_utility.set_message_token('TABLE_NAME', 'ben_wv_prtn_rsn_pl_f');
458: hr_utility.raise_error;
459: End lck;
460: --
461: -- ----------------------------------------------------------------------------

Line 458: hr_utility.raise_error;

454: -- The object doesn't exist or is invalid
455: --
456: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
457: hr_utility.set_message_token('TABLE_NAME', 'ben_wv_prtn_rsn_pl_f');
458: hr_utility.raise_error;
459: End lck;
460: --
461: -- ----------------------------------------------------------------------------
462: -- |-----------------------------< convert_args >-----------------------------|

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

509: l_proc varchar2(72) := g_package||'convert_args';
510: --
511: Begin
512: --
513: hr_utility.set_location('Entering:'||l_proc, 5);
514: --
515: -- Convert arguments into local l_rec structure.
516: --
517: l_rec.wv_prtn_rsn_pl_id := p_wv_prtn_rsn_pl_id;

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

555: l_rec.object_version_number := p_object_version_number;
556: --
557: -- Return the plsql record structure.
558: --
559: hr_utility.set_location(' Leaving:'||l_proc, 10);
560: Return(l_rec);
561: --
562: End convert_args;
563: --