DBA Data[Home] [Help]

APPS.PAY_TER_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_TEMPLATE_EXCLUSION_RUL_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_TEMPLATE_EXCLUSION_RUL_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_TEMPLATE_EXCLUSION_RUL_PK') 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_TEMPLATE_EXCLUSION_RUL_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_TEMPLATE_EXCLUSION_RUL_PK') 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_TEMPLATE_EXCLUSION_RUL_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_TEMPLATE_EXCLUSION_RUL_PK') 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_TEMPLATE_EXCLUSION_RUL_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_TEMPLATE_EXCLUSION_RUL_PK') 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_TEMPLATE_EXCLUSION_RUL_PK') 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: Else

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_TEMPLATE_EXCLUSION_RUL_PK') 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: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'PAY_TEMPLATE_EXCLUSION_RUL_PK') 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: Else
32: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
33: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 30: hr_utility.raise_error;

26: ElsIf (p_constraint_name = 'PAY_TEMPLATE_EXCLUSION_RUL_PK') 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: Else
32: 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('CONSTRAINT_NAME', p_constraint_name);

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

28: hr_utility.set_message_token('PROCEDURE', l_proc);
29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: Else
32: 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('CONSTRAINT_NAME', p_constraint_name);
35: hr_utility.raise_error;
36: End If;

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

29: hr_utility.set_message_token('STEP','10');
30: hr_utility.raise_error;
31: Else
32: 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('CONSTRAINT_NAME', p_constraint_name);
35: hr_utility.raise_error;
36: End If;
37: --

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

30: hr_utility.raise_error;
31: Else
32: 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('CONSTRAINT_NAME', p_constraint_name);
35: hr_utility.raise_error;
36: End If;
37: --
38: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 35: hr_utility.raise_error;

31: Else
32: 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('CONSTRAINT_NAME', p_constraint_name);
35: hr_utility.raise_error;
36: End If;
37: --
38: hr_utility.set_location(' Leaving:'||l_proc, 10);
39: End constraint_error;

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

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

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

64: l_proc varchar2(72) := g_package||'api_updating';
65: l_fct_ret boolean;
66: --
67: Begin
68: hr_utility.set_location('Entering:'||l_proc, 5);
69: --
70: If (
71: p_exclusion_rule_id is null and
72: p_object_version_number is null

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

80: If (
81: p_exclusion_rule_id = g_old_rec.exclusion_rule_id and
82: p_object_version_number = g_old_rec.object_version_number
83: ) Then
84: hr_utility.set_location(l_proc, 10);
85: --
86: -- The g_old_rec is current therefore we must
87: -- set the returning function to true
88: --

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

97: Close C_Sel1;
98: --
99: -- The primary key is invalid therefore we must error
100: --
101: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
102: hr_utility.raise_error;
103: End If;
104: Close C_Sel1;
105: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 102: hr_utility.raise_error;

98: --
99: -- The primary key is invalid therefore we must error
100: --
101: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
102: hr_utility.raise_error;
103: End If;
104: Close C_Sel1;
105: If (p_object_version_number <> g_old_rec.object_version_number) Then
106: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

102: hr_utility.raise_error;
103: End If;
104: Close C_Sel1;
105: If (p_object_version_number <> g_old_rec.object_version_number) Then
106: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
107: hr_utility.raise_error;
108: End If;
109: hr_utility.set_location(l_proc, 15);
110: l_fct_ret := true;

Line 107: hr_utility.raise_error;

103: End If;
104: Close C_Sel1;
105: If (p_object_version_number <> g_old_rec.object_version_number) Then
106: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
107: hr_utility.raise_error;
108: End If;
109: hr_utility.set_location(l_proc, 15);
110: l_fct_ret := true;
111: End If;

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

105: If (p_object_version_number <> g_old_rec.object_version_number) Then
106: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
107: hr_utility.raise_error;
108: End If;
109: hr_utility.set_location(l_proc, 15);
110: l_fct_ret := true;
111: End If;
112: End If;
113: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

109: hr_utility.set_location(l_proc, 15);
110: l_fct_ret := true;
111: End If;
112: End If;
113: hr_utility.set_location(' Leaving:'||l_proc, 20);
114: Return (l_fct_ret);
115: --
116: End api_updating;
117: --

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

139: --
140: l_proc varchar2(72) := g_package||'lck';
141: --
142: Begin
143: hr_utility.set_location('Entering:'||l_proc, 5);
144: --
145: -- Check for mandatory arguments.
146: --
147: hr_api.mandatory_arg_error

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

161: Close C_Sel1;
162: --
163: -- The primary key is invalid therefore we must error
164: --
165: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
166: hr_utility.raise_error;
167: End If;
168: Close C_Sel1;
169: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 166: hr_utility.raise_error;

162: --
163: -- The primary key is invalid therefore we must error
164: --
165: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
166: hr_utility.raise_error;
167: End If;
168: Close C_Sel1;
169: If (p_object_version_number <> g_old_rec.object_version_number) Then
170: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

166: hr_utility.raise_error;
167: End If;
168: Close C_Sel1;
169: If (p_object_version_number <> g_old_rec.object_version_number) Then
170: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
171: hr_utility.raise_error;
172: End If;
173: --
174: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 171: hr_utility.raise_error;

167: End If;
168: Close C_Sel1;
169: If (p_object_version_number <> g_old_rec.object_version_number) Then
170: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
171: hr_utility.raise_error;
172: End If;
173: --
174: hr_utility.set_location(' Leaving:'||l_proc, 10);
175: --

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

170: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
171: hr_utility.raise_error;
172: End If;
173: --
174: hr_utility.set_location(' Leaving:'||l_proc, 10);
175: --
176: -- We need to trap the ORA LOCK exception
177: --
178: Exception

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

180: --
181: -- The object is locked therefore we need to supply a meaningful
182: -- error message.
183: --
184: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
185: hr_utility.set_message_token('TABLE_NAME', 'pay_template_exclusion_rules');
186: hr_utility.raise_error;
187: End lck;
188: --

Line 185: hr_utility.set_message_token('TABLE_NAME', 'pay_template_exclusion_rules');

181: -- The object is locked therefore we need to supply a meaningful
182: -- error message.
183: --
184: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
185: hr_utility.set_message_token('TABLE_NAME', 'pay_template_exclusion_rules');
186: hr_utility.raise_error;
187: End lck;
188: --
189: -- ----------------------------------------------------------------------------

Line 186: hr_utility.raise_error;

182: -- error message.
183: --
184: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
185: hr_utility.set_message_token('TABLE_NAME', 'pay_template_exclusion_rules');
186: hr_utility.raise_error;
187: End lck;
188: --
189: -- ----------------------------------------------------------------------------
190: -- |-----------------------------< convert_args >-----------------------------|

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

204: l_proc varchar2(72) := g_package||'convert_args';
205: --
206: Begin
207: --
208: hr_utility.set_location('Entering:'||l_proc, 5);
209: --
210: -- Convert arguments into local l_rec structure.
211: --
212: l_rec.exclusion_rule_id := p_exclusion_rule_id;

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

217: l_rec.object_version_number := p_object_version_number;
218: --
219: -- Return the plsql record structure.
220: --
221: hr_utility.set_location(' Leaving:'||l_proc, 10);
222: Return(l_rec);
223: --
224: End convert_args;
225: --