DBA Data[Home] [Help]

APPS.PQH_BEL_SHD dependencies on HR_UTILITY

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

16: --
17: l_proc varchar2(72) := g_package||'constraint_error';
18: --
19: Begin
20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'PQH_BUDGET_ELEMENTS_FK2') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);

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

19: Begin
20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'PQH_BUDGET_ELEMENTS_FK2') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_PK') Then

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

20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'PQH_BUDGET_ELEMENTS_FK2') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_PK') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

21: --
22: If (p_constraint_name = 'PQH_BUDGET_ELEMENTS_FK2') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_PK') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 26: hr_utility.raise_error;

22: If (p_constraint_name = 'PQH_BUDGET_ELEMENTS_FK2') Then
23: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_PK') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');

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

24: hr_utility.set_message_token('PROCEDURE', l_proc);
25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_PK') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_UK') Then

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

25: hr_utility.set_message_token('STEP','5');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_PK') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_UK') Then
33: hr_utility.set_message(8302, 'PQH_DUPLICATE_BUDGET_ELEMENTS');

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

26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_PK') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_UK') Then
33: hr_utility.set_message(8302, 'PQH_DUPLICATE_BUDGET_ELEMENTS');
34: hr_utility.raise_error;

Line 31: hr_utility.raise_error;

27: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_PK') Then
28: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_UK') Then
33: hr_utility.set_message(8302, 'PQH_DUPLICATE_BUDGET_ELEMENTS');
34: hr_utility.raise_error;
35: Else

Line 33: hr_utility.set_message(8302, 'PQH_DUPLICATE_BUDGET_ELEMENTS');

29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_UK') Then
33: hr_utility.set_message(8302, 'PQH_DUPLICATE_BUDGET_ELEMENTS');
34: hr_utility.raise_error;
35: Else
36: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
37: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 34: hr_utility.raise_error;

30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_UK') Then
33: hr_utility.set_message(8302, 'PQH_DUPLICATE_BUDGET_ELEMENTS');
34: hr_utility.raise_error;
35: Else
36: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
37: hr_utility.set_message_token('PROCEDURE', l_proc);
38: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

32: ElsIf (p_constraint_name = 'PQH_BUDGET_ELEMENT_UK') Then
33: hr_utility.set_message(8302, 'PQH_DUPLICATE_BUDGET_ELEMENTS');
34: hr_utility.raise_error;
35: Else
36: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
37: hr_utility.set_message_token('PROCEDURE', l_proc);
38: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
39: hr_utility.raise_error;
40: End If;

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

33: hr_utility.set_message(8302, 'PQH_DUPLICATE_BUDGET_ELEMENTS');
34: hr_utility.raise_error;
35: Else
36: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
37: hr_utility.set_message_token('PROCEDURE', l_proc);
38: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
39: hr_utility.raise_error;
40: End If;
41: --

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

34: hr_utility.raise_error;
35: Else
36: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
37: hr_utility.set_message_token('PROCEDURE', l_proc);
38: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
39: hr_utility.raise_error;
40: End If;
41: --
42: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 39: hr_utility.raise_error;

35: Else
36: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
37: hr_utility.set_message_token('PROCEDURE', l_proc);
38: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
39: hr_utility.raise_error;
40: End If;
41: --
42: hr_utility.set_location(' Leaving:'||l_proc, 10);
43: End constraint_error;

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

38: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
39: hr_utility.raise_error;
40: End If;
41: --
42: hr_utility.set_location(' Leaving:'||l_proc, 10);
43: End constraint_error;
44: --
45: -- ----------------------------------------------------------------------------
46: -- |-----------------------------< api_updating >-----------------------------|

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

67: l_proc varchar2(72) := g_package||'api_updating';
68: l_fct_ret boolean;
69: --
70: Begin
71: hr_utility.set_location('Entering:'||l_proc, 5);
72: --
73: If (
74: p_budget_element_id is null and
75: p_object_version_number is null

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

83: If (
84: p_budget_element_id = g_old_rec.budget_element_id and
85: p_object_version_number = g_old_rec.object_version_number
86: ) Then
87: hr_utility.set_location(l_proc, 10);
88: --
89: -- The g_old_rec is current therefore we must
90: -- set the returning function to true
91: --

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

100: Close C_Sel1;
101: --
102: -- The primary key is invalid therefore we must error
103: --
104: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
105: hr_utility.raise_error;
106: End If;
107: Close C_Sel1;
108: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 105: hr_utility.raise_error;

101: --
102: -- The primary key is invalid therefore we must error
103: --
104: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
105: hr_utility.raise_error;
106: End If;
107: Close C_Sel1;
108: If (p_object_version_number <> g_old_rec.object_version_number) Then
109: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

105: hr_utility.raise_error;
106: End If;
107: Close C_Sel1;
108: If (p_object_version_number <> g_old_rec.object_version_number) Then
109: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
110: hr_utility.raise_error;
111: End If;
112: hr_utility.set_location(l_proc, 15);
113: l_fct_ret := true;

Line 110: hr_utility.raise_error;

106: End If;
107: Close C_Sel1;
108: If (p_object_version_number <> g_old_rec.object_version_number) Then
109: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
110: hr_utility.raise_error;
111: End If;
112: hr_utility.set_location(l_proc, 15);
113: l_fct_ret := true;
114: End If;

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

108: If (p_object_version_number <> g_old_rec.object_version_number) Then
109: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
110: hr_utility.raise_error;
111: End If;
112: hr_utility.set_location(l_proc, 15);
113: l_fct_ret := true;
114: End If;
115: End If;
116: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

112: hr_utility.set_location(l_proc, 15);
113: l_fct_ret := true;
114: End If;
115: End If;
116: hr_utility.set_location(' Leaving:'||l_proc, 20);
117: Return (l_fct_ret);
118: --
119: End api_updating;
120: --

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

141: --
142: l_proc varchar2(72) := g_package||'lck';
143: --
144: Begin
145: hr_utility.set_location('Entering:'||l_proc, 5);
146: --
147: -- Add any mandatory argument checking here:
148: -- Example:
149: -- hr_api.mandatory_arg_error

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

157: Close C_Sel1;
158: --
159: -- The primary key is invalid therefore we must error
160: --
161: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
162: hr_utility.raise_error;
163: End If;
164: Close C_Sel1;
165: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 162: hr_utility.raise_error;

158: --
159: -- The primary key is invalid therefore we must error
160: --
161: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
162: hr_utility.raise_error;
163: End If;
164: Close C_Sel1;
165: If (p_object_version_number <> g_old_rec.object_version_number) Then
166: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

162: hr_utility.raise_error;
163: End If;
164: Close C_Sel1;
165: If (p_object_version_number <> g_old_rec.object_version_number) Then
166: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
167: hr_utility.raise_error;
168: End If;
169: --
170: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 167: hr_utility.raise_error;

163: End If;
164: Close C_Sel1;
165: If (p_object_version_number <> g_old_rec.object_version_number) Then
166: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
167: hr_utility.raise_error;
168: End If;
169: --
170: hr_utility.set_location(' Leaving:'||l_proc, 10);
171: --

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

166: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
167: hr_utility.raise_error;
168: End If;
169: --
170: hr_utility.set_location(' Leaving:'||l_proc, 10);
171: --
172: -- We need to trap the ORA LOCK exception
173: --
174: Exception

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

176: --
177: -- The object is locked therefore we need to supply a meaningful
178: -- error message.
179: --
180: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
181: hr_utility.set_message_token('TABLE_NAME', 'pqh_budget_elements');
182: hr_utility.raise_error;
183: End lck;
184: --

Line 181: hr_utility.set_message_token('TABLE_NAME', 'pqh_budget_elements');

177: -- The object is locked therefore we need to supply a meaningful
178: -- error message.
179: --
180: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
181: hr_utility.set_message_token('TABLE_NAME', 'pqh_budget_elements');
182: hr_utility.raise_error;
183: End lck;
184: --
185: -- ----------------------------------------------------------------------------

Line 182: hr_utility.raise_error;

178: -- error message.
179: --
180: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
181: hr_utility.set_message_token('TABLE_NAME', 'pqh_budget_elements');
182: hr_utility.raise_error;
183: End lck;
184: --
185: -- ----------------------------------------------------------------------------
186: -- |-----------------------------< convert_args >-----------------------------|

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

199: l_proc varchar2(72) := g_package||'convert_args';
200: --
201: Begin
202: --
203: hr_utility.set_location('Entering:'||l_proc, 5);
204: --
205: -- Convert arguments into local l_rec structure.
206: --
207: l_rec.budget_element_id := p_budget_element_id;

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

211: l_rec.object_version_number := p_object_version_number;
212: --
213: -- Return the plsql record structure.
214: --
215: hr_utility.set_location(' Leaving:'||l_proc, 10);
216: Return(l_rec);
217: --
218: End convert_args;
219: --