DBA Data[Home] [Help]

APPS.GHR_PDH_SHD dependencies on HR_UTILITY

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

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

Line 22: hr_utility.set_message(8301,'GHR_99999_INV_PD_REQUEST_ID' );

18: Begin
19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'GHR_PD_ROUTING_HIST_FK1') Then
22: hr_utility.set_message(8301,'GHR_99999_INV_PD_REQUEST_ID' );
23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'GHR_PD_ROUTING_HIST_FK2') Then
25: hr_utility.set_message(8301,'GHR_38100_INV_ROUT_LIST_ID');
26: hr_utility.raise_error;

Line 23: hr_utility.raise_error;

19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'GHR_PD_ROUTING_HIST_FK1') Then
22: hr_utility.set_message(8301,'GHR_99999_INV_PD_REQUEST_ID' );
23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'GHR_PD_ROUTING_HIST_FK2') Then
25: hr_utility.set_message(8301,'GHR_38100_INV_ROUT_LIST_ID');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'GHR_PD_ROUTING_HIST_PK') Then

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

21: If (p_constraint_name = 'GHR_PD_ROUTING_HIST_FK1') Then
22: hr_utility.set_message(8301,'GHR_99999_INV_PD_REQUEST_ID' );
23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'GHR_PD_ROUTING_HIST_FK2') Then
25: hr_utility.set_message(8301,'GHR_38100_INV_ROUT_LIST_ID');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'GHR_PD_ROUTING_HIST_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: hr_utility.set_message(8301,'GHR_99999_INV_PD_REQUEST_ID' );
23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'GHR_PD_ROUTING_HIST_FK2') Then
25: hr_utility.set_message(8301,'GHR_38100_INV_ROUT_LIST_ID');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'GHR_PD_ROUTING_HIST_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','15');

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

24: ElsIf (p_constraint_name = 'GHR_PD_ROUTING_HIST_FK2') Then
25: hr_utility.set_message(8301,'GHR_38100_INV_ROUT_LIST_ID');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'GHR_PD_ROUTING_HIST_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','15');
31: hr_utility.raise_error;
32: Else

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

25: hr_utility.set_message(8301,'GHR_38100_INV_ROUT_LIST_ID');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'GHR_PD_ROUTING_HIST_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','15');
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','15');

26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'GHR_PD_ROUTING_HIST_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','15');
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 = 'GHR_PD_ROUTING_HIST_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','15');
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','15');
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','15');
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 82: hr_utility.set_location('Entering:'||l_proc, 5);

78: l_proc varchar2(72) := g_package||'api_updating';
79: l_fct_ret boolean;
80: --
81: Begin
82: hr_utility.set_location('Entering:'||l_proc, 5);
83: --
84: If (
85: p_pd_routing_history_id is null and
86: p_object_version_number is null

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

94: If (
95: p_pd_routing_history_id = g_old_rec.pd_routing_history_id and
96: p_object_version_number = g_old_rec.object_version_number
97: ) Then
98: hr_utility.set_location(l_proc, 10);
99: --
100: -- The g_old_rec is current therefore we must
101: -- set the returning function to true
102: --

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

111: Close C_Sel1;
112: --
113: -- The primary key is invalid therefore we must error
114: --
115: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
116: hr_utility.raise_error;
117: End If;
118: Close C_Sel1;
119: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 116: hr_utility.raise_error;

112: --
113: -- The primary key is invalid therefore we must error
114: --
115: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
116: hr_utility.raise_error;
117: End If;
118: Close C_Sel1;
119: If (p_object_version_number <> g_old_rec.object_version_number) Then
120: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

116: hr_utility.raise_error;
117: End If;
118: Close C_Sel1;
119: If (p_object_version_number <> g_old_rec.object_version_number) Then
120: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
121: hr_utility.raise_error;
122: End If;
123: hr_utility.set_location(l_proc, 15);
124: l_fct_ret := true;

Line 121: hr_utility.raise_error;

117: End If;
118: Close C_Sel1;
119: If (p_object_version_number <> g_old_rec.object_version_number) Then
120: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
121: hr_utility.raise_error;
122: End If;
123: hr_utility.set_location(l_proc, 15);
124: l_fct_ret := true;
125: End If;

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

119: If (p_object_version_number <> g_old_rec.object_version_number) Then
120: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
121: hr_utility.raise_error;
122: End If;
123: hr_utility.set_location(l_proc, 15);
124: l_fct_ret := true;
125: End If;
126: End If;
127: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

123: hr_utility.set_location(l_proc, 15);
124: l_fct_ret := true;
125: End If;
126: End If;
127: hr_utility.set_location(' Leaving:'||l_proc, 20);
128: Return (l_fct_ret);
129: --
130: End api_updating;
131: --

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

169: --
170: l_proc varchar2(72) := g_package||'lck';
171: --
172: Begin
173: hr_utility.set_location('Entering:'||l_proc, 5);
174: --
175: -- Add any mandatory argument checking here:
176: -- Example:
177: -- hr_api.mandatory_arg_error

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

185: Close C_Sel1;
186: --
187: -- The primary key is invalid therefore we must error
188: --
189: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
190: hr_utility.raise_error;
191: End If;
192: Close C_Sel1;
193: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 190: hr_utility.raise_error;

186: --
187: -- The primary key is invalid therefore we must error
188: --
189: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
190: hr_utility.raise_error;
191: End If;
192: Close C_Sel1;
193: If (p_object_version_number <> g_old_rec.object_version_number) Then
194: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

190: hr_utility.raise_error;
191: End If;
192: Close C_Sel1;
193: If (p_object_version_number <> g_old_rec.object_version_number) Then
194: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
195: hr_utility.raise_error;
196: End If;
197: --
198: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 195: hr_utility.raise_error;

191: End If;
192: Close C_Sel1;
193: If (p_object_version_number <> g_old_rec.object_version_number) Then
194: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
195: hr_utility.raise_error;
196: End If;
197: --
198: hr_utility.set_location(' Leaving:'||l_proc, 10);
199: --

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

194: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
195: hr_utility.raise_error;
196: End If;
197: --
198: hr_utility.set_location(' Leaving:'||l_proc, 10);
199: --
200: -- We need to trap the ORA LOCK exception
201: --
202: Exception

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

204: --
205: -- The object is locked therefore we need to supply a meaningful
206: -- error message.
207: --
208: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
209: hr_utility.set_message_token('TABLE_NAME', 'ghr_pd_routing_history');
210: hr_utility.raise_error;
211: End lck;
212: --

Line 209: hr_utility.set_message_token('TABLE_NAME', 'ghr_pd_routing_history');

205: -- The object is locked therefore we need to supply a meaningful
206: -- error message.
207: --
208: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
209: hr_utility.set_message_token('TABLE_NAME', 'ghr_pd_routing_history');
210: hr_utility.raise_error;
211: End lck;
212: --
213: -- ----------------------------------------------------------------------------

Line 210: hr_utility.raise_error;

206: -- error message.
207: --
208: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
209: hr_utility.set_message_token('TABLE_NAME', 'ghr_pd_routing_history');
210: hr_utility.raise_error;
211: End lck;
212: --
213: -- ----------------------------------------------------------------------------
214: -- |-----------------------------< convert_args >-----------------------------|

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

243: l_proc varchar2(72) := g_package||'convert_args';
244: --
245: Begin
246: --
247: hr_utility.set_location('Entering:'||l_proc, 5);
248: --
249: -- Convert arguments into local l_rec structure.
250: --
251: l_rec.pd_routing_history_id := p_pd_routing_history_id;

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

271: l_rec.item_key := p_item_key;
272: --
273: -- Return the plsql record structure.
274: --
275: hr_utility.set_location(' Leaving:'||l_proc, 10);
276: Return(l_rec);
277: --
278: End convert_args;
279: --