DBA Data[Home] [Help]

APPS.PAY_SIV_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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_INPUT_VALUES_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 85: hr_utility.set_location('Entering:'||l_proc, 5);

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

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

97: If (
98: p_input_value_id = g_old_rec.input_value_id and
99: p_object_version_number = g_old_rec.object_version_number
100: ) Then
101: hr_utility.set_location(l_proc, 10);
102: --
103: -- The g_old_rec is current therefore we must
104: -- set the returning function to true
105: --

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

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

Line 119: hr_utility.raise_error;

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

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

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

Line 124: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 192: hr_utility.raise_error;

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

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

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

Line 197: hr_utility.raise_error;

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

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

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

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

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

Line 211: hr_utility.set_message_token('TABLE_NAME', 'pay_shadow_input_values');

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

Line 212: hr_utility.raise_error;

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

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

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

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

267: l_rec.object_version_number := p_object_version_number;
268: --
269: -- Return the plsql record structure.
270: --
271: hr_utility.set_location(' Leaving:'||l_proc, 10);
272: Return(l_rec);
273: --
274: End convert_args;
275: --