DBA Data[Home] [Help]

APPS.PQH_BGM_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_GL_FLEX_MAPS_PK') 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_GL_FLEX_MAPS_PK') 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_GL_FLEX_MAPS_UK') 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_GL_FLEX_MAPS_PK') 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_GL_FLEX_MAPS_UK') 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_GL_FLEX_MAPS_PK') 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_GL_FLEX_MAPS_UK') 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_GL_FLEX_MAPS_PK') 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_GL_FLEX_MAPS_UK') 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_GL_FLEX_MAPS_UK') 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: Else

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_GL_FLEX_MAPS_UK') 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: Else
33: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'PQH_BUDGET_GL_FLEX_MAPS_UK') 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: Else
33: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
34: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 31: hr_utility.raise_error;

27: ElsIf (p_constraint_name = 'PQH_BUDGET_GL_FLEX_MAPS_UK') 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: Else
33: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

29: hr_utility.set_message_token('PROCEDURE', l_proc);
30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: Else
33: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
36: hr_utility.raise_error;
37: End If;

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

30: hr_utility.set_message_token('STEP','10');
31: hr_utility.raise_error;
32: Else
33: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
34: hr_utility.set_message_token('PROCEDURE', l_proc);
35: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
36: hr_utility.raise_error;
37: End If;
38: --

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

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

Line 36: hr_utility.raise_error;

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

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

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

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

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

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

80: If (
81: p_budget_gl_flex_map_id = g_old_rec.budget_gl_flex_map_id and
82: p_object_version_number = g_old_rec.object_version_number
83: ) Then
84: hr_utility.set_location(l_proc, 10);
85: --
86: -- The g_old_rec is current therefore we must
87: -- set the returning function to true
88: --

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

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

Line 102: hr_utility.raise_error;

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

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

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

Line 107: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 159: hr_utility.raise_error;

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

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

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

Line 164: hr_utility.raise_error;

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

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

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

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

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

Line 178: hr_utility.set_message_token('TABLE_NAME', 'pqh_budget_gl_flex_maps');

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

Line 179: hr_utility.raise_error;

175: -- error message.
176: --
177: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
178: hr_utility.set_message_token('TABLE_NAME', 'pqh_budget_gl_flex_maps');
179: hr_utility.raise_error;
180: End lck;
181: --
182: -- ----------------------------------------------------------------------------
183: -- |-----------------------------< convert_args >-----------------------------|

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

196: l_proc varchar2(72) := g_package||'convert_args';
197: --
198: Begin
199: --
200: hr_utility.set_location('Entering:'||l_proc, 5);
201: --
202: -- Convert arguments into local l_rec structure.
203: --
204: l_rec.budget_gl_flex_map_id := p_budget_gl_flex_map_id;

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

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