DBA Data[Home] [Help]

APPS.PAY_SFR_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_FORMULA_RULES_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_FORMULA_RULES_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_FORMULA_RULES_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_FORMULA_RULES_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_FORMULA_RULES_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_FORMULA_RULES_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_FORMULA_RULES_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_FORMULA_RULES_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_FORMULA_RULES_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_FORMULA_RULES_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_FORMULA_RULES_FK3') 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_FORMULA_RULES_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_FORMULA_RULES_FK3') 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_FORMULA_RULES_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_FORMULA_RULES_FK3') 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_FORMULA_RULES_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_FORMULA_RULES_FK3') 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_FORMULA_RULES_FK3') 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: ElsIf (p_constraint_name = 'PAY_SHADOW_FORMULA_RULES_FK4') Then

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_FORMULA_RULES_FK3') 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: ElsIf (p_constraint_name = 'PAY_SHADOW_FORMULA_RULES_FK4') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'PAY_SHADOW_FORMULA_RULES_FK3') 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: ElsIf (p_constraint_name = 'PAY_SHADOW_FORMULA_RULES_FK4') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 35: hr_utility.raise_error;

31: ElsIf (p_constraint_name = 'PAY_SHADOW_FORMULA_RULES_FK3') 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: ElsIf (p_constraint_name = 'PAY_SHADOW_FORMULA_RULES_FK4') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','20');

Line 37: 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: ElsIf (p_constraint_name = 'PAY_SHADOW_FORMULA_RULES_FK4') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','20');
40: hr_utility.raise_error;
41: Else

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

34: hr_utility.set_message_token('STEP','15');
35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PAY_SHADOW_FORMULA_RULES_FK4') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','20');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 39: hr_utility.set_message_token('STEP','20');

35: hr_utility.raise_error;
36: ElsIf (p_constraint_name = 'PAY_SHADOW_FORMULA_RULES_FK4') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','20');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: ElsIf (p_constraint_name = 'PAY_SHADOW_FORMULA_RULES_FK4') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','20');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

Line 42: 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('STEP','20');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;

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

39: hr_utility.set_message_token('STEP','20');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --

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

40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 45: hr_utility.raise_error;

41: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);
49: End constraint_error;

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

44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);
49: End constraint_error;
50: --
51: -- ----------------------------------------------------------------------------
52: -- |-----------------------------< 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_formula_result_rule_id is null and
86: p_object_version_number is null

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

94: If (
95: p_formula_result_rule_id = g_old_rec.formula_result_rule_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 161: hr_utility.set_location('Entering:'||l_proc, 5);

157: --
158: l_proc varchar2(72) := g_package||'lck';
159: --
160: Begin
161: hr_utility.set_location('Entering:'||l_proc, 5);
162: hr_api.mandatory_arg_error
163: (p_api_name => l_proc,
164: p_argument => 'p_object_version_number',
165: p_argument_value => p_object_version_number);

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

173: Close C_Sel1;
174: --
175: -- The primary key is invalid therefore we must error
176: --
177: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
178: hr_utility.raise_error;
179: End If;
180: Close C_Sel1;
181: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 178: hr_utility.raise_error;

174: --
175: -- The primary key is invalid therefore we must error
176: --
177: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
178: hr_utility.raise_error;
179: End If;
180: Close C_Sel1;
181: If (p_object_version_number <> g_old_rec.object_version_number) Then
182: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

178: hr_utility.raise_error;
179: End If;
180: Close C_Sel1;
181: If (p_object_version_number <> g_old_rec.object_version_number) Then
182: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
183: hr_utility.raise_error;
184: End If;
185: --
186: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 183: hr_utility.raise_error;

179: End If;
180: Close C_Sel1;
181: If (p_object_version_number <> g_old_rec.object_version_number) Then
182: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
183: hr_utility.raise_error;
184: End If;
185: --
186: hr_utility.set_location(' Leaving:'||l_proc, 10);
187: --

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

182: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
183: hr_utility.raise_error;
184: End If;
185: --
186: hr_utility.set_location(' Leaving:'||l_proc, 10);
187: --
188: -- We need to trap the ORA LOCK exception
189: --
190: Exception

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

192: --
193: -- The object is locked therefore we need to supply a meaningful
194: -- error message.
195: --
196: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
197: hr_utility.set_message_token('TABLE_NAME', 'pay_shadow_formula_rules');
198: hr_utility.raise_error;
199: End lck;
200: --

Line 197: hr_utility.set_message_token('TABLE_NAME', 'pay_shadow_formula_rules');

193: -- The object is locked therefore we need to supply a meaningful
194: -- error message.
195: --
196: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
197: hr_utility.set_message_token('TABLE_NAME', 'pay_shadow_formula_rules');
198: hr_utility.raise_error;
199: End lck;
200: --
201: -- ----------------------------------------------------------------------------

Line 198: hr_utility.raise_error;

194: -- error message.
195: --
196: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
197: hr_utility.set_message_token('TABLE_NAME', 'pay_shadow_formula_rules');
198: hr_utility.raise_error;
199: End lck;
200: --
201: -- ----------------------------------------------------------------------------
202: -- |-----------------------------< convert_args >-----------------------------|

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

220: l_proc varchar2(72) := g_package||'convert_args';
221: --
222: Begin
223: --
224: hr_utility.set_location('Entering:'||l_proc, 5);
225: --
226: -- Convert arguments into local l_rec structure.
227: --
228: l_rec.formula_result_rule_id := p_formula_result_rule_id;

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

237: l_rec.object_version_number := p_object_version_number;
238: --
239: -- Return the plsql record structure.
240: --
241: hr_utility.set_location(' Leaving:'||l_proc, 10);
242: Return(l_rec);
243: --
244: End convert_args;
245: --