DBA Data[Home] [Help]

APPS.IRC_RTM_SHD dependencies on HR_UTILITY

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

18: --
19: Begin
20: --
21: If (p_constraint_name = 'IRC_REC_TEAM_MEMBERS_FK1') Then
22: hr_utility.set_message('PAY', '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 = 'IRC_REC_TEAM_MEMBERS_FK2') Then

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

19: Begin
20: --
21: If (p_constraint_name = 'IRC_REC_TEAM_MEMBERS_FK1') Then
22: hr_utility.set_message('PAY', '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 = 'IRC_REC_TEAM_MEMBERS_FK2') Then
27: hr_utility.set_message('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');

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

20: --
21: If (p_constraint_name = 'IRC_REC_TEAM_MEMBERS_FK1') Then
22: hr_utility.set_message('PAY', '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 = 'IRC_REC_TEAM_MEMBERS_FK2') Then
27: hr_utility.set_message('PAY', '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 = 'IRC_REC_TEAM_MEMBERS_FK1') Then
22: hr_utility.set_message('PAY', '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 = 'IRC_REC_TEAM_MEMBERS_FK2') Then
27: hr_utility.set_message('PAY', '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('PAY', '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 = 'IRC_REC_TEAM_MEMBERS_FK2') Then
27: hr_utility.set_message('PAY', '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 = 'IRC_REC_TEAM_MEMBERS_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 = 'IRC_REC_TEAM_MEMBERS_FK2') Then
27: hr_utility.set_message('PAY', '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 = 'IRC_REC_TEAM_MEMBERS_PK') Then
32: hr_utility.set_message('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');

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

25: hr_utility.raise_error;
26: ElsIf (p_constraint_name = 'IRC_REC_TEAM_MEMBERS_FK2') Then
27: hr_utility.set_message('PAY', '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 = 'IRC_REC_TEAM_MEMBERS_PK') Then
32: hr_utility.set_message('PAY', '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 = 'IRC_REC_TEAM_MEMBERS_FK2') Then
27: hr_utility.set_message('PAY', '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 = 'IRC_REC_TEAM_MEMBERS_PK') Then
32: hr_utility.set_message('PAY', '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('PAY', '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 = 'IRC_REC_TEAM_MEMBERS_PK') Then
32: hr_utility.set_message('PAY', '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 = 'IRC_REC_TEAM_MEMBERS_PK') Then
32: hr_utility.set_message('PAY', '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('PAY', 'HR_7877_API_INVALID_CONSTRAINT');

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

30: hr_utility.raise_error;
31: ElsIf (p_constraint_name = 'IRC_REC_TEAM_MEMBERS_PK') Then
32: hr_utility.set_message('PAY', '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('PAY', '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 = 'IRC_REC_TEAM_MEMBERS_PK') Then
32: hr_utility.set_message('PAY', '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('PAY', '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('PAY', '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('PAY', '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('PAY', '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('PAY', '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: End constraint_error;

Line 40: hr_utility.raise_error;

36: Else
37: hr_utility.set_message('PAY', '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: End constraint_error;
44: --

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

148: --
149: l_proc varchar2(72) := g_package||'lck';
150: --
151: Begin
152: hr_utility.set_location('Entering:'||l_proc, 5);
153: --
154: hr_api.mandatory_arg_error
155: (p_api_name => l_proc
156: ,p_argument => 'REC_TEAM_MEMBER_ID'

Line 159: hr_utility.set_location('Rec team member id ok at ' || l_proc,7);

155: (p_api_name => l_proc
156: ,p_argument => 'REC_TEAM_MEMBER_ID'
157: ,p_argument_value => p_rec_team_member_id
158: );
159: hr_utility.set_location('Rec team member id ok at ' || l_proc,7);
160: hr_api.mandatory_arg_error
161: (p_api_name => l_proc
162: ,p_argument => 'OBJECT_VERSION_NUMBER'
163: ,p_argument_value => p_object_version_number

Line 165: hr_utility.set_location('OVN ok at ' || l_proc,9);

161: (p_api_name => l_proc
162: ,p_argument => 'OBJECT_VERSION_NUMBER'
163: ,p_argument_value => p_object_version_number
164: );
165: hr_utility.set_location('OVN ok at ' || l_proc,9);
166: --
167: Open C_Sel1;
168: Fetch C_Sel1 Into irc_rtm_shd.g_old_rec;
169: If C_Sel1%notfound then

Line 174: hr_utility.set_location('Invalid key at :'||l_proc, 11);

170: Close C_Sel1;
171: --
172: -- The primary key is invalid therefore we must error
173: --
174: hr_utility.set_location('Invalid key at :'||l_proc, 11);
175: fnd_message.set_name('PAY', 'HR_7220_INVALID_PRIMARY_KEY');
176: fnd_message.raise_error;
177: End If;
178: Close C_Sel1;

Line 181: hr_utility.set_location('Invalid OVN at :'||l_proc, 14);

177: End If;
178: Close C_Sel1;
179: If (p_object_version_number
180: <> irc_rtm_shd.g_old_rec.object_version_number) Then
181: hr_utility.set_location('Invalid OVN at :'||l_proc, 14);
182: hr_utility.set_location(to_char(p_object_version_number) ||
183: 'vs' || to_char(irc_rtm_shd.g_old_rec.object_version_number) ||
184: ' '||l_proc, 16);
185: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');

Line 182: hr_utility.set_location(to_char(p_object_version_number) ||

178: Close C_Sel1;
179: If (p_object_version_number
180: <> irc_rtm_shd.g_old_rec.object_version_number) Then
181: hr_utility.set_location('Invalid OVN at :'||l_proc, 14);
182: hr_utility.set_location(to_char(p_object_version_number) ||
183: 'vs' || to_char(irc_rtm_shd.g_old_rec.object_version_number) ||
184: ' '||l_proc, 16);
185: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
186: fnd_message.raise_error;

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

185: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
186: fnd_message.raise_error;
187: End If;
188: --
189: hr_utility.set_location(' Leaving:'||l_proc, 20);
190: --
191: -- We need to trap the ORA LOCK exception
192: --
193: Exception

Line 199: hr_utility.set_location('Object locked :'||l_proc, 21);

195: --
196: -- The object is locked therefore we need to supply a meaningful
197: -- error message.
198: --
199: hr_utility.set_location('Object locked :'||l_proc, 21);
200: fnd_message.set_name('PAY', 'HR_7165_OBJECT_LOCKED');
201: fnd_message.set_token('TABLE_NAME', 'irc_rec_team_members');
202: fnd_message.raise_error;
203: End lck;