DBA Data[Home] [Help]

APPS.GHR_PRH_SHD dependencies on HR_UTILITY

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

16: l_proc varchar2(72);
17: --
18: Begin
19: l_proc := g_package||'constraint_error';
20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'GHR_PA_ROUTING_HIST_FK1') Then
23: hr_utility.set_message(8301,'GHR_38048_INV_PA_REQUEST_ID' );
24: hr_utility.raise_error;

Line 23: hr_utility.set_message(8301,'GHR_38048_INV_PA_REQUEST_ID' );

19: l_proc := g_package||'constraint_error';
20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'GHR_PA_ROUTING_HIST_FK1') Then
23: hr_utility.set_message(8301,'GHR_38048_INV_PA_REQUEST_ID' );
24: hr_utility.raise_error;
25: ElsIf (p_constraint_name = 'GHR_PA_ROUTING_HIST_FK2') Then
26: hr_utility.set_message(8301,'GHR_38100_INV_ROUT_LIST_ID');
27: hr_utility.raise_error;

Line 24: hr_utility.raise_error;

20: hr_utility.set_location('Entering:'||l_proc, 5);
21: --
22: If (p_constraint_name = 'GHR_PA_ROUTING_HIST_FK1') Then
23: hr_utility.set_message(8301,'GHR_38048_INV_PA_REQUEST_ID' );
24: hr_utility.raise_error;
25: ElsIf (p_constraint_name = 'GHR_PA_ROUTING_HIST_FK2') Then
26: hr_utility.set_message(8301,'GHR_38100_INV_ROUT_LIST_ID');
27: hr_utility.raise_error;
28: ElsIf (p_constraint_name = 'GHR_PA_ROUTING_HIST_PK') Then

Line 26: hr_utility.set_message(8301,'GHR_38100_INV_ROUT_LIST_ID');

22: If (p_constraint_name = 'GHR_PA_ROUTING_HIST_FK1') Then
23: hr_utility.set_message(8301,'GHR_38048_INV_PA_REQUEST_ID' );
24: hr_utility.raise_error;
25: ElsIf (p_constraint_name = 'GHR_PA_ROUTING_HIST_FK2') Then
26: hr_utility.set_message(8301,'GHR_38100_INV_ROUT_LIST_ID');
27: hr_utility.raise_error;
28: ElsIf (p_constraint_name = 'GHR_PA_ROUTING_HIST_PK') Then
29: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
30: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 27: hr_utility.raise_error;

23: hr_utility.set_message(8301,'GHR_38048_INV_PA_REQUEST_ID' );
24: hr_utility.raise_error;
25: ElsIf (p_constraint_name = 'GHR_PA_ROUTING_HIST_FK2') Then
26: hr_utility.set_message(8301,'GHR_38100_INV_ROUT_LIST_ID');
27: hr_utility.raise_error;
28: ElsIf (p_constraint_name = 'GHR_PA_ROUTING_HIST_PK') Then
29: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
30: hr_utility.set_message_token('PROCEDURE', l_proc);
31: hr_utility.set_message_token('STEP','15');

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

25: ElsIf (p_constraint_name = 'GHR_PA_ROUTING_HIST_FK2') Then
26: hr_utility.set_message(8301,'GHR_38100_INV_ROUT_LIST_ID');
27: hr_utility.raise_error;
28: ElsIf (p_constraint_name = 'GHR_PA_ROUTING_HIST_PK') Then
29: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
30: hr_utility.set_message_token('PROCEDURE', l_proc);
31: hr_utility.set_message_token('STEP','15');
32: hr_utility.raise_error;
33: Else

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

26: hr_utility.set_message(8301,'GHR_38100_INV_ROUT_LIST_ID');
27: hr_utility.raise_error;
28: ElsIf (p_constraint_name = 'GHR_PA_ROUTING_HIST_PK') Then
29: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
30: hr_utility.set_message_token('PROCEDURE', l_proc);
31: hr_utility.set_message_token('STEP','15');
32: hr_utility.raise_error;
33: Else
34: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT'); --

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

27: hr_utility.raise_error;
28: ElsIf (p_constraint_name = 'GHR_PA_ROUTING_HIST_PK') Then
29: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
30: hr_utility.set_message_token('PROCEDURE', l_proc);
31: hr_utility.set_message_token('STEP','15');
32: hr_utility.raise_error;
33: Else
34: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT'); --
35: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 32: hr_utility.raise_error;

28: ElsIf (p_constraint_name = 'GHR_PA_ROUTING_HIST_PK') Then
29: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
30: hr_utility.set_message_token('PROCEDURE', l_proc);
31: hr_utility.set_message_token('STEP','15');
32: hr_utility.raise_error;
33: Else
34: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT'); --
35: hr_utility.set_message_token('PROCEDURE', l_proc);
36: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

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

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

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

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

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

Line 37: hr_utility.raise_error;

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

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

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

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

85: l_fct_ret boolean;
86: --
87: Begin
88: l_proc := g_package||'api_updating';
89: hr_utility.set_location('Entering:'||l_proc, 5);
90: --
91: If (
92: p_pa_routing_history_id is null and
93: p_object_version_number is null

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

101: If (
102: p_pa_routing_history_id = g_old_rec.pa_routing_history_id and
103: p_object_version_number = g_old_rec.object_version_number
104: ) Then
105: hr_utility.set_location(l_proc, 10);
106: --
107: -- The g_old_rec is current therefore we must
108: -- set the returning function to true
109: --

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

118: Close C_Sel1;
119: --
120: -- The primary key is invalid therefore we must error
121: --
122: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
123: hr_utility.raise_error;
124: End If;
125: Close C_Sel1;
126: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 123: hr_utility.raise_error;

119: --
120: -- The primary key is invalid therefore we must error
121: --
122: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
123: hr_utility.raise_error;
124: End If;
125: Close C_Sel1;
126: If (p_object_version_number <> g_old_rec.object_version_number) Then
127: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

123: hr_utility.raise_error;
124: End If;
125: Close C_Sel1;
126: If (p_object_version_number <> g_old_rec.object_version_number) Then
127: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
128: hr_utility.raise_error;
129: End If;
130: hr_utility.set_location(l_proc, 15);
131: l_fct_ret := true;

Line 128: hr_utility.raise_error;

124: End If;
125: Close C_Sel1;
126: If (p_object_version_number <> g_old_rec.object_version_number) Then
127: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
128: hr_utility.raise_error;
129: End If;
130: hr_utility.set_location(l_proc, 15);
131: l_fct_ret := true;
132: End If;

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

126: If (p_object_version_number <> g_old_rec.object_version_number) Then
127: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
128: hr_utility.raise_error;
129: End If;
130: hr_utility.set_location(l_proc, 15);
131: l_fct_ret := true;
132: End If;
133: End If;
134: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

130: hr_utility.set_location(l_proc, 15);
131: l_fct_ret := true;
132: End If;
133: End If;
134: hr_utility.set_location(' Leaving:'||l_proc, 20);
135: Return (l_fct_ret);
136: --
137: End api_updating;
138: --

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

180: --
181: l_proc varchar2(72) := g_package||'lck';
182: --
183: Begin
184: hr_utility.set_location('Entering:'||l_proc, 5);
185: --
186: -- Add any mandatory argument checking here:
187: -- Example:
188: -- hr_api.mandatory_arg_error

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

196: Close C_Sel1;
197: --
198: -- The primary key is invalid therefore we must error
199: --
200: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
201: hr_utility.raise_error;
202: End If;
203: Close C_Sel1;
204: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 201: hr_utility.raise_error;

197: --
198: -- The primary key is invalid therefore we must error
199: --
200: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
201: hr_utility.raise_error;
202: End If;
203: Close C_Sel1;
204: If (p_object_version_number <> g_old_rec.object_version_number) Then
205: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

201: hr_utility.raise_error;
202: End If;
203: Close C_Sel1;
204: If (p_object_version_number <> g_old_rec.object_version_number) Then
205: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
206: hr_utility.raise_error;
207: End If;
208: --
209: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 206: hr_utility.raise_error;

202: End If;
203: Close C_Sel1;
204: If (p_object_version_number <> g_old_rec.object_version_number) Then
205: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
206: hr_utility.raise_error;
207: End If;
208: --
209: hr_utility.set_location(' Leaving:'||l_proc, 10);
210: --

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

205: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
206: hr_utility.raise_error;
207: End If;
208: --
209: hr_utility.set_location(' Leaving:'||l_proc, 10);
210: --
211: -- We need to trap the ORA LOCK exception
212: --
213: Exception

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

215: --
216: -- The object is locked therefore we need to supply a meaningful
217: -- error message.
218: --
219: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
220: hr_utility.set_message_token('TABLE_NAME', 'ghr_pa_routing_history');
221: hr_utility.raise_error;
222: End lck;
223: --

Line 220: hr_utility.set_message_token('TABLE_NAME', 'ghr_pa_routing_history');

216: -- The object is locked therefore we need to supply a meaningful
217: -- error message.
218: --
219: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
220: hr_utility.set_message_token('TABLE_NAME', 'ghr_pa_routing_history');
221: hr_utility.raise_error;
222: End lck;
223: --
224: -- ----------------------------------------------------------------------------

Line 221: hr_utility.raise_error;

217: -- error message.
218: --
219: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
220: hr_utility.set_message_token('TABLE_NAME', 'ghr_pa_routing_history');
221: hr_utility.raise_error;
222: End lck;
223: --
224: -- ----------------------------------------------------------------------------
225: -- |-----------------------------< convert_args >-----------------------------|

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

260: --
261: Begin
262: --
263: l_proc := g_package||'convert_args';
264: hr_utility.set_location('Entering:'||l_proc, 5);
265: --
266: -- Convert arguments into local l_rec structure.
267: --
268: l_rec.pa_routing_history_id := p_pa_routing_history_id;

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

293: l_rec.object_version_number := p_object_version_number;
294: --
295: -- Return the plsql record structure.
296: --
297: hr_utility.set_location(' Leaving:'||l_proc, 10);
298: Return(l_rec);
299: --
300: End convert_args;
301: --