DBA Data[Home] [Help]

APPS.BEN_BLI_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 = '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);

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 = '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

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 = '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');

Line 39: hr_utility.set_message_token('STEP','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');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

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');

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 = '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

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 = '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');

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

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);

Line 45: 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);
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 = '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

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 = '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');

Line 49: hr_utility.set_message_token('STEP','15');

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);

Line 50: 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);
54: hr_utility.set_message_token('STEP','20');

Line 52: 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');
55: hr_utility.raise_error;
56: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK1') Then

Line 53: 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
57: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

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);

Line 55: 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);
59: hr_utility.set_message_token('STEP','25');

Line 57: 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');
60: hr_utility.raise_error;
61: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_FK2') Then

Line 58: 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
62: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

Line 59: hr_utility.set_message_token('STEP','25');

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);

Line 60: 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);
64: hr_utility.set_message_token('STEP','30');

Line 62: 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');
65: hr_utility.raise_error;
66: ElsIf (p_constraint_name = 'BEN_BATCH_LER_INFO_PK') Then

Line 63: 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
67: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

Line 64: hr_utility.set_message_token('STEP','30');

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);

Line 65: 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);
69: hr_utility.set_message_token('STEP','35');

Line 67: 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');
70: hr_utility.raise_error;
71: Else

Line 68: 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
72: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 69: hr_utility.set_message_token('STEP','35');

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);

Line 70: 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);
74: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

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;

Line 73: 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;
77: --

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

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);

Line 75: 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);
79: End constraint_error;

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

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 >-----------------------------|

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

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

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

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: --

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

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

Line 156: hr_utility.raise_error;

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');

Line 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;

Line 161: 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;
165: End If;

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

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);

Line 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: --

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

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

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

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

Line 228: hr_utility.raise_error;

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');

Line 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);

Line 233: 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);
237: --

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

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

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

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: --

Line 247: hr_utility.set_message_token('TABLE_NAME', 'ben_batch_ler_info');

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: -- ----------------------------------------------------------------------------

Line 248: hr_utility.raise_error;

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 >-----------------------------|

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

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;

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

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: --