DBA Data[Home] [Help]

APPS.PAY_SBT_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 = 'PAY_SHADOW_BALANCE_TYPES_FK1') Then
22: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
23: hr_utility.set_message_token('PROCEDURE', l_proc);

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

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

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

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

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

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

Line 25: hr_utility.raise_error;

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

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

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

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

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

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

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

Line 30: hr_utility.raise_error;

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

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

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

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

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

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

30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PAY_SHADOW_BALANCE_TYPES_PK') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: Else
37: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
38: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 35: hr_utility.raise_error;

31: ElsIf (p_constraint_name = 'PAY_SHADOW_BALANCE_TYPES_PK') Then
32: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
33: hr_utility.set_message_token('PROCEDURE', l_proc);
34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: Else
37: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

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

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

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

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

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

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

Line 40: hr_utility.raise_error;

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

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

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

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

100: l_proc varchar2(72) := g_package||'api_updating';
101: l_fct_ret boolean;
102: --
103: Begin
104: hr_utility.set_location('Entering:'||l_proc, 5);
105: --
106: If (
107: p_balance_type_id is null and
108: p_object_version_number is null

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

116: If (
117: p_balance_type_id = g_old_rec.balance_type_id and
118: p_object_version_number = g_old_rec.object_version_number
119: ) Then
120: hr_utility.set_location(l_proc, 10);
121: --
122: -- The g_old_rec is current therefore we must
123: -- set the returning function to true
124: --

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

133: Close C_Sel1;
134: --
135: -- The primary key is invalid therefore we must error
136: --
137: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
138: hr_utility.raise_error;
139: End If;
140: Close C_Sel1;
141: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 138: hr_utility.raise_error;

134: --
135: -- The primary key is invalid therefore we must error
136: --
137: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
138: hr_utility.raise_error;
139: End If;
140: Close C_Sel1;
141: If (p_object_version_number <> g_old_rec.object_version_number) Then
142: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

138: hr_utility.raise_error;
139: End If;
140: Close C_Sel1;
141: If (p_object_version_number <> g_old_rec.object_version_number) Then
142: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
143: hr_utility.raise_error;
144: End If;
145: hr_utility.set_location(l_proc, 15);
146: l_fct_ret := true;

Line 143: hr_utility.raise_error;

139: End If;
140: Close C_Sel1;
141: If (p_object_version_number <> g_old_rec.object_version_number) Then
142: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
143: hr_utility.raise_error;
144: End If;
145: hr_utility.set_location(l_proc, 15);
146: l_fct_ret := true;
147: End If;

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

141: If (p_object_version_number <> g_old_rec.object_version_number) Then
142: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
143: hr_utility.raise_error;
144: End If;
145: hr_utility.set_location(l_proc, 15);
146: l_fct_ret := true;
147: End If;
148: End If;
149: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

145: hr_utility.set_location(l_proc, 15);
146: l_fct_ret := true;
147: End If;
148: End If;
149: hr_utility.set_location(' Leaving:'||l_proc, 20);
150: Return (l_fct_ret);
151: --
152: End api_updating;
153: --

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

206: --
207: l_proc varchar2(72) := g_package||'lck';
208: --
209: Begin
210: hr_utility.set_location('Entering:'||l_proc, 5);
211: --
212: hr_api.mandatory_arg_error
213: (p_api_name => l_proc,
214: p_argument => 'p_object_version_number',

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', 'pay_shadow_balance_types');
248: hr_utility.raise_error;
249: End lck;
250: --

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

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', 'pay_shadow_balance_types');
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', 'pay_shadow_balance_types');
248: hr_utility.raise_error;
249: End lck;
250: --
251: -- ----------------------------------------------------------------------------
252: -- |-----------------------------< convert_args >-----------------------------|

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

297: l_proc varchar2(72) := g_package||'convert_args';
298: --
299: Begin
300: --
301: hr_utility.set_location('Entering:'||l_proc, 5);
302: --
303: -- Convert arguments into local l_rec structure.
304: --
305: l_rec.balance_type_id := p_balance_type_id;

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

341: l_rec.input_value_id := p_input_value_id;
342: --
343: -- Return the plsql record structure.
344: --
345: hr_utility.set_location(' Leaving:'||l_proc, 10);
346: Return(l_rec);
347: --
348: End convert_args;
349: --