DBA Data[Home] [Help]

APPS.GHR_CPDF_CHECK3 dependencies on HR_UTILITY

Line 90: hr_utility.set_message(8301, 'GHR_37201_ALL_PROCEDURE_FAIL');

86: p_Second_NOAC_Lookup_code = '002'
87: or
88: p_Second_NOAC_Lookup_code is null
89: ) then
90: hr_utility.set_message(8301, 'GHR_37201_ALL_PROCEDURE_FAIL');
91: hr_utility.raise_error;
92: end if;
93:
94:

Line 91: hr_utility.raise_error;

87: or
88: p_Second_NOAC_Lookup_code is null
89: ) then
90: hr_utility.set_message(8301, 'GHR_37201_ALL_PROCEDURE_FAIL');
91: hr_utility.raise_error;
92: end if;
93:
94:
95: if (p_First_NOAC_Lookup_Code <> '001'

Line 101: hr_utility.set_message(8301, 'GHR_37202_ALL_PROCEDURE_FAIL');

97: p_First_NOAC_Lookup_Code <> '002'
98: ) and
99: p_Second_NOAC_Lookup_code is not null
100: then
101: hr_utility.set_message(8301, 'GHR_37202_ALL_PROCEDURE_FAIL');
102: hr_utility.raise_error;
103: end if;
104:
105: -- 370.02.2

Line 102: hr_utility.raise_error;

98: ) and
99: p_Second_NOAC_Lookup_code is not null
100: then
101: hr_utility.set_message(8301, 'GHR_37202_ALL_PROCEDURE_FAIL');
102: hr_utility.raise_error;
103: end if;
104:
105: -- 370.02.2
106:

Line 120: hr_utility.set_message(8301, 'GHR_37272_ALL_PROCEDURE_FAIL');

116: ----------------------------------------------------------------------------------------------------------
117:
118: if p_First_NOAC_Lookup_Code not in ('001','817') and
119: p_Cur_Appt_Auth_1 is null then
120: hr_utility.set_message(8301, 'GHR_37272_ALL_PROCEDURE_FAIL');
121: hr_utility.raise_error;
122: end if;
123: if p_First_NOAC_Lookup_Code <>'001' and
124: p_Employee_Date_of_Birth is null then

Line 121: hr_utility.raise_error;

117:
118: if p_First_NOAC_Lookup_Code not in ('001','817') and
119: p_Cur_Appt_Auth_1 is null then
120: hr_utility.set_message(8301, 'GHR_37272_ALL_PROCEDURE_FAIL');
121: hr_utility.raise_error;
122: end if;
123: if p_First_NOAC_Lookup_Code <>'001' and
124: p_Employee_Date_of_Birth is null then
125: hr_utility.set_message(8301, 'GHR_37273_ALL_PROCEDURE_FAIL');

Line 125: hr_utility.set_message(8301, 'GHR_37273_ALL_PROCEDURE_FAIL');

121: hr_utility.raise_error;
122: end if;
123: if p_First_NOAC_Lookup_Code <>'001' and
124: p_Employee_Date_of_Birth is null then
125: hr_utility.set_message(8301, 'GHR_37273_ALL_PROCEDURE_FAIL');
126: hr_utility.raise_error;
127: end if;
128: if p_First_NOAC_Lookup_Code not in ('001','817') and
129: p_Duty_Station_Lookup_Code is null then

Line 126: hr_utility.raise_error;

122: end if;
123: if p_First_NOAC_Lookup_Code <>'001' and
124: p_Employee_Date_of_Birth is null then
125: hr_utility.set_message(8301, 'GHR_37273_ALL_PROCEDURE_FAIL');
126: hr_utility.raise_error;
127: end if;
128: if p_First_NOAC_Lookup_Code not in ('001','817') and
129: p_Duty_Station_Lookup_Code is null then
130: hr_utility.set_message(8301, 'GHR_37274_ALL_PROCEDURE_FAIL');

Line 130: hr_utility.set_message(8301, 'GHR_37274_ALL_PROCEDURE_FAIL');

126: hr_utility.raise_error;
127: end if;
128: if p_First_NOAC_Lookup_Code not in ('001','817') and
129: p_Duty_Station_Lookup_Code is null then
130: hr_utility.set_message(8301, 'GHR_37274_ALL_PROCEDURE_FAIL');
131: hr_utility.raise_error;
132: end if;
133: if p_First_NOAC_Lookup_Code <>'001' and
134: ( p_Employee_Last_Name is null ) then

Line 131: hr_utility.raise_error;

127: end if;
128: if p_First_NOAC_Lookup_Code not in ('001','817') and
129: p_Duty_Station_Lookup_Code is null then
130: hr_utility.set_message(8301, 'GHR_37274_ALL_PROCEDURE_FAIL');
131: hr_utility.raise_error;
132: end if;
133: if p_First_NOAC_Lookup_Code <>'001' and
134: ( p_Employee_Last_Name is null ) then
135: hr_utility.set_message(8301, 'GHR_37288_ALL_PROCEDURE_FAIL');

Line 135: hr_utility.set_message(8301, 'GHR_37288_ALL_PROCEDURE_FAIL');

131: hr_utility.raise_error;
132: end if;
133: if p_First_NOAC_Lookup_Code <>'001' and
134: ( p_Employee_Last_Name is null ) then
135: hr_utility.set_message(8301, 'GHR_37288_ALL_PROCEDURE_FAIL');
136: hr_utility.raise_error;
137: end if;
138: if p_First_NOAC_Lookup_Code not in ('001','817') and
139: p_Handicap is null then

Line 136: hr_utility.raise_error;

132: end if;
133: if p_First_NOAC_Lookup_Code <>'001' and
134: ( p_Employee_Last_Name is null ) then
135: hr_utility.set_message(8301, 'GHR_37288_ALL_PROCEDURE_FAIL');
136: hr_utility.raise_error;
137: end if;
138: if p_First_NOAC_Lookup_Code not in ('001','817') and
139: p_Handicap is null then
140: hr_utility.set_message(8301, 'GHR_37276_ALL_PROCEDURE_FAIL');

Line 140: hr_utility.set_message(8301, 'GHR_37276_ALL_PROCEDURE_FAIL');

136: hr_utility.raise_error;
137: end if;
138: if p_First_NOAC_Lookup_Code not in ('001','817') and
139: p_Handicap is null then
140: hr_utility.set_message(8301, 'GHR_37276_ALL_PROCEDURE_FAIL');
141: hr_utility.raise_error;
142: end if;
143: if p_First_NOAC_Lookup_Code not in ('001','817') and
144: p_Organ_Component is null then

Line 141: hr_utility.raise_error;

137: end if;
138: if p_First_NOAC_Lookup_Code not in ('001','817') and
139: p_Handicap is null then
140: hr_utility.set_message(8301, 'GHR_37276_ALL_PROCEDURE_FAIL');
141: hr_utility.raise_error;
142: end if;
143: if p_First_NOAC_Lookup_Code not in ('001','817') and
144: p_Organ_Component is null then
145: hr_utility.set_message(8301, 'GHR_37277_ALL_PROCEDURE_FAIL');

Line 145: hr_utility.set_message(8301, 'GHR_37277_ALL_PROCEDURE_FAIL');

141: hr_utility.raise_error;
142: end if;
143: if p_First_NOAC_Lookup_Code not in ('001','817') and
144: p_Organ_Component is null then
145: hr_utility.set_message(8301, 'GHR_37277_ALL_PROCEDURE_FAIL');
146: hr_utility.raise_error;
147: end if;
148: if p_First_NOAC_Lookup_Code not in ('001','817') and
149: p_Personal_Office_ID is null then

Line 146: hr_utility.raise_error;

142: end if;
143: if p_First_NOAC_Lookup_Code not in ('001','817') and
144: p_Organ_Component is null then
145: hr_utility.set_message(8301, 'GHR_37277_ALL_PROCEDURE_FAIL');
146: hr_utility.raise_error;
147: end if;
148: if p_First_NOAC_Lookup_Code not in ('001','817') and
149: p_Personal_Office_ID is null then
150: hr_utility.set_message(8301, 'GHR_37278_ALL_PROCEDURE_FAIL');

Line 150: hr_utility.set_message(8301, 'GHR_37278_ALL_PROCEDURE_FAIL');

146: hr_utility.raise_error;
147: end if;
148: if p_First_NOAC_Lookup_Code not in ('001','817') and
149: p_Personal_Office_ID is null then
150: hr_utility.set_message(8301, 'GHR_37278_ALL_PROCEDURE_FAIL');
151: hr_utility.raise_error;
152: end if;
153: if p_First_NOAC_Lookup_Code not in ('001','817') and
154: p_Position_Occ_Code is null then

Line 151: hr_utility.raise_error;

147: end if;
148: if p_First_NOAC_Lookup_Code not in ('001','817') and
149: p_Personal_Office_ID is null then
150: hr_utility.set_message(8301, 'GHR_37278_ALL_PROCEDURE_FAIL');
151: hr_utility.raise_error;
152: end if;
153: if p_First_NOAC_Lookup_Code not in ('001','817') and
154: p_Position_Occ_Code is null then
155: hr_utility.set_message(8301, 'GHR_37279_ALL_PROCEDURE_FAIL');

Line 155: hr_utility.set_message(8301, 'GHR_37279_ALL_PROCEDURE_FAIL');

151: hr_utility.raise_error;
152: end if;
153: if p_First_NOAC_Lookup_Code not in ('001','817') and
154: p_Position_Occ_Code is null then
155: hr_utility.set_message(8301, 'GHR_37279_ALL_PROCEDURE_FAIL');
156: hr_utility.raise_error;
157: end if;
158: -- Begin Bug# 4567571
159:

Line 156: hr_utility.raise_error;

152: end if;
153: if p_First_NOAC_Lookup_Code not in ('001','817') and
154: p_Position_Occ_Code is null then
155: hr_utility.set_message(8301, 'GHR_37279_ALL_PROCEDURE_FAIL');
156: hr_utility.raise_error;
157: end if;
158: -- Begin Bug# 4567571
159:
160: --IF p_effective_date < fnd_date.canonical_to_date('2005/10/01') then

Line 164: hr_utility.set_message(8301, 'GHR_37280_ALL_PROCEDURE_FAIL');

160: --IF p_effective_date < fnd_date.canonical_to_date('2005/10/01') then
161: IF p_effective_date < fnd_date.canonical_to_date('2006/01/01') then
162: IF p_First_NOAC_Lookup_Code NOT IN ('001','817') and
163: p_Race_National_Region IS NULL THEN
164: hr_utility.set_message(8301, 'GHR_37280_ALL_PROCEDURE_FAIL');
165: hr_utility.raise_error;
166: END IF;
167: --elsif p_effective_date >= fnd_date.canonical_to_date('2005/10/01') then
168: ELSIF p_effective_date >= fnd_date.canonical_to_date('2006/01/01') THEN

Line 165: hr_utility.raise_error;

161: IF p_effective_date < fnd_date.canonical_to_date('2006/01/01') then
162: IF p_First_NOAC_Lookup_Code NOT IN ('001','817') and
163: p_Race_National_Region IS NULL THEN
164: hr_utility.set_message(8301, 'GHR_37280_ALL_PROCEDURE_FAIL');
165: hr_utility.raise_error;
166: END IF;
167: --elsif p_effective_date >= fnd_date.canonical_to_date('2005/10/01') then
168: ELSIF p_effective_date >= fnd_date.canonical_to_date('2006/01/01') THEN
169: if p_First_NOAC_Lookup_Code not in ('001','817')

Line 172: hr_utility.set_message(8301, 'GHR_38990_ALL_PROCEDURE_FAIL');

168: ELSIF p_effective_date >= fnd_date.canonical_to_date('2006/01/01') THEN
169: if p_First_NOAC_Lookup_Code not in ('001','817')
170: and p_effective_date < to_date('2006/07/01','yyyy/mm/dd')then
171: IF (p_Race_National_Region is null and p_ethnic_race_info is null) then
172: hr_utility.set_message(8301, 'GHR_38990_ALL_PROCEDURE_FAIL');
173: hr_utility.raise_error;
174: END IF;
175: elsif p_First_NOAC_Lookup_Code not in ('100','001','817') then
176: IF (p_Race_National_Region is null and p_ethnic_race_info is null) then

Line 173: hr_utility.raise_error;

169: if p_First_NOAC_Lookup_Code not in ('001','817')
170: and p_effective_date < to_date('2006/07/01','yyyy/mm/dd')then
171: IF (p_Race_National_Region is null and p_ethnic_race_info is null) then
172: hr_utility.set_message(8301, 'GHR_38990_ALL_PROCEDURE_FAIL');
173: hr_utility.raise_error;
174: END IF;
175: elsif p_First_NOAC_Lookup_Code not in ('100','001','817') then
176: IF (p_Race_National_Region is null and p_ethnic_race_info is null) then
177: hr_utility.set_message(8301, 'GHR_38990_ALL_PROCEDURE_FAIL');

Line 177: hr_utility.set_message(8301, 'GHR_38990_ALL_PROCEDURE_FAIL');

173: hr_utility.raise_error;
174: END IF;
175: elsif p_First_NOAC_Lookup_Code not in ('100','001','817') then
176: IF (p_Race_National_Region is null and p_ethnic_race_info is null) then
177: hr_utility.set_message(8301, 'GHR_38990_ALL_PROCEDURE_FAIL');
178: hr_utility.raise_error;
179: END IF;
180: end if;
181: end if;

Line 178: hr_utility.raise_error;

174: END IF;
175: elsif p_First_NOAC_Lookup_Code not in ('100','001','817') then
176: IF (p_Race_National_Region is null and p_ethnic_race_info is null) then
177: hr_utility.set_message(8301, 'GHR_38990_ALL_PROCEDURE_FAIL');
178: hr_utility.raise_error;
179: END IF;
180: end if;
181: end if;
182: -- End Bug# 4567571

Line 185: hr_utility.set_message(8301, 'GHR_37281_ALL_PROCEDURE_FAIL');

181: end if;
182: -- End Bug# 4567571
183: if p_First_NOAC_Lookup_Code not in ('001','817') and
184: p_Retirement_Plan_Code is null then
185: hr_utility.set_message(8301, 'GHR_37281_ALL_PROCEDURE_FAIL');
186: hr_utility.raise_error;
187: end if;
188: if p_First_NOAC_Lookup_Code not in ('001','817') and
189: p_Service_Computation_Date is null then

Line 186: hr_utility.raise_error;

182: -- End Bug# 4567571
183: if p_First_NOAC_Lookup_Code not in ('001','817') and
184: p_Retirement_Plan_Code is null then
185: hr_utility.set_message(8301, 'GHR_37281_ALL_PROCEDURE_FAIL');
186: hr_utility.raise_error;
187: end if;
188: if p_First_NOAC_Lookup_Code not in ('001','817') and
189: p_Service_Computation_Date is null then
190: hr_utility.set_message(8301, 'GHR_37282_ALL_PROCEDURE_FAIL');

Line 190: hr_utility.set_message(8301, 'GHR_37282_ALL_PROCEDURE_FAIL');

186: hr_utility.raise_error;
187: end if;
188: if p_First_NOAC_Lookup_Code not in ('001','817') and
189: p_Service_Computation_Date is null then
190: hr_utility.set_message(8301, 'GHR_37282_ALL_PROCEDURE_FAIL');
191: hr_utility.raise_error;
192: end if;
193: if p_First_NOAC_Lookup_Code not in ('001','817') and
194: p_Supervisory_Status_Code is null then

Line 191: hr_utility.raise_error;

187: end if;
188: if p_First_NOAC_Lookup_Code not in ('001','817') and
189: p_Service_Computation_Date is null then
190: hr_utility.set_message(8301, 'GHR_37282_ALL_PROCEDURE_FAIL');
191: hr_utility.raise_error;
192: end if;
193: if p_First_NOAC_Lookup_Code not in ('001','817') and
194: p_Supervisory_Status_Code is null then
195: hr_utility.set_message(8301, 'GHR_37283_ALL_PROCEDURE_FAIL');

Line 195: hr_utility.set_message(8301, 'GHR_37283_ALL_PROCEDURE_FAIL');

191: hr_utility.raise_error;
192: end if;
193: if p_First_NOAC_Lookup_Code not in ('001','817') and
194: p_Supervisory_Status_Code is null then
195: hr_utility.set_message(8301, 'GHR_37283_ALL_PROCEDURE_FAIL');
196: hr_utility.raise_error;
197: end if;
198: if p_First_NOAC_Lookup_Code not in ('001','817') and
199: p_Tenure_Group_Code is null then

Line 196: hr_utility.raise_error;

192: end if;
193: if p_First_NOAC_Lookup_Code not in ('001','817') and
194: p_Supervisory_Status_Code is null then
195: hr_utility.set_message(8301, 'GHR_37283_ALL_PROCEDURE_FAIL');
196: hr_utility.raise_error;
197: end if;
198: if p_First_NOAC_Lookup_Code not in ('001','817') and
199: p_Tenure_Group_Code is null then
200: hr_utility.set_message(8301, 'GHR_37284_ALL_PROCEDURE_FAIL');

Line 200: hr_utility.set_message(8301, 'GHR_37284_ALL_PROCEDURE_FAIL');

196: hr_utility.raise_error;
197: end if;
198: if p_First_NOAC_Lookup_Code not in ('001','817') and
199: p_Tenure_Group_Code is null then
200: hr_utility.set_message(8301, 'GHR_37284_ALL_PROCEDURE_FAIL');
201: hr_utility.raise_error;
202: end if;
203: if p_First_NOAC_Lookup_Code not in ('001','817') and
204: p_Veterans_Pref_Code is null then

Line 201: hr_utility.raise_error;

197: end if;
198: if p_First_NOAC_Lookup_Code not in ('001','817') and
199: p_Tenure_Group_Code is null then
200: hr_utility.set_message(8301, 'GHR_37284_ALL_PROCEDURE_FAIL');
201: hr_utility.raise_error;
202: end if;
203: if p_First_NOAC_Lookup_Code not in ('001','817') and
204: p_Veterans_Pref_Code is null then
205: hr_utility.set_message(8301, 'GHR_37285_ALL_PROCEDURE_FAIL');

Line 205: hr_utility.set_message(8301, 'GHR_37285_ALL_PROCEDURE_FAIL');

201: hr_utility.raise_error;
202: end if;
203: if p_First_NOAC_Lookup_Code not in ('001','817') and
204: p_Veterans_Pref_Code is null then
205: hr_utility.set_message(8301, 'GHR_37285_ALL_PROCEDURE_FAIL');
206: hr_utility.raise_error;
207: end if;
208: if p_First_NOAC_Lookup_Code not in ('001','817') and
209: p_Veterans_Status_Code is null then

Line 206: hr_utility.raise_error;

202: end if;
203: if p_First_NOAC_Lookup_Code not in ('001','817') and
204: p_Veterans_Pref_Code is null then
205: hr_utility.set_message(8301, 'GHR_37285_ALL_PROCEDURE_FAIL');
206: hr_utility.raise_error;
207: end if;
208: if p_First_NOAC_Lookup_Code not in ('001','817') and
209: p_Veterans_Status_Code is null then
210: hr_utility.set_message(8301, 'GHR_37286_ALL_PROCEDURE_FAIL');

Line 210: hr_utility.set_message(8301, 'GHR_37286_ALL_PROCEDURE_FAIL');

206: hr_utility.raise_error;
207: end if;
208: if p_First_NOAC_Lookup_Code not in ('001','817') and
209: p_Veterans_Status_Code is null then
210: hr_utility.set_message(8301, 'GHR_37286_ALL_PROCEDURE_FAIL');
211: hr_utility.raise_error;
212: end if;
213: if p_First_NOAC_Lookup_Code not in ('001','817') and
214: p_sex is null then

Line 211: hr_utility.raise_error;

207: end if;
208: if p_First_NOAC_Lookup_Code not in ('001','817') and
209: p_Veterans_Status_Code is null then
210: hr_utility.set_message(8301, 'GHR_37286_ALL_PROCEDURE_FAIL');
211: hr_utility.raise_error;
212: end if;
213: if p_First_NOAC_Lookup_Code not in ('001','817') and
214: p_sex is null then
215: hr_utility.set_message(8301, 'GHR_37287_ALL_PROCEDURE_FAIL');

Line 215: hr_utility.set_message(8301, 'GHR_37287_ALL_PROCEDURE_FAIL');

211: hr_utility.raise_error;
212: end if;
213: if p_First_NOAC_Lookup_Code not in ('001','817') and
214: p_sex is null then
215: hr_utility.set_message(8301, 'GHR_37287_ALL_PROCEDURE_FAIL');
216: hr_utility.raise_error;
217: end if;
218: --Begin Bug 11726461
219: IF p_effective_date < fnd_date.canonical_to_date('2011/02/01') then

Line 216: hr_utility.raise_error;

212: end if;
213: if p_First_NOAC_Lookup_Code not in ('001','817') and
214: p_sex is null then
215: hr_utility.set_message(8301, 'GHR_37287_ALL_PROCEDURE_FAIL');
216: hr_utility.raise_error;
217: end if;
218: --Begin Bug 11726461
219: IF p_effective_date < fnd_date.canonical_to_date('2011/02/01') then
220: --Begin Bug 10189715

Line 224: hr_utility.set_message(8301, 'GHR_38151_ALL_PROCEDURE_FAIL');

220: --Begin Bug 10189715
221: if p_first_noac_lookup_code not in ('001','817') and
222: p_rating_of_record_pattern <> 'Z' and
223: p_rating_of_record_level is null then
224: hr_utility.set_message(8301, 'GHR_38151_ALL_PROCEDURE_FAIL');
225: hr_utility.raise_error;
226: end if;
227: --End Bug 10189715
228: END IF;

Line 225: hr_utility.raise_error;

221: if p_first_noac_lookup_code not in ('001','817') and
222: p_rating_of_record_pattern <> 'Z' and
223: p_rating_of_record_level is null then
224: hr_utility.set_message(8301, 'GHR_38151_ALL_PROCEDURE_FAIL');
225: hr_utility.raise_error;
226: end if;
227: --End Bug 10189715
228: END IF;
229: --End Bug 11726461

Line 236: hr_utility.set_location('passed noa_family_code is ' || p_noa_family_code,1);

232: -- Update Date By Effective Date Comment
233: -- 8 01/28/99 vravikan 01/10/98 Add nature of action 6__
234: -- 02/24/00 vravikan 1186310 Getting noa_family_code rather
235: -- than using passed family code
236: hr_utility.set_location('passed noa_family_code is ' || p_noa_family_code,1);
237: FOR c_noa_family_code_rec in c_noa_family_code LOOP
238: l_noa_family_code := c_noa_family_code_rec.noa_family_code;
239: hr_utility.set_location('actual noa_family_code is ' || l_noa_family_code,2);
240: exit;

Line 239: hr_utility.set_location('actual noa_family_code is ' || l_noa_family_code,2);

235: -- than using passed family code
236: hr_utility.set_location('passed noa_family_code is ' || p_noa_family_code,1);
237: FOR c_noa_family_code_rec in c_noa_family_code LOOP
238: l_noa_family_code := c_noa_family_code_rec.noa_family_code;
239: hr_utility.set_location('actual noa_family_code is ' || l_noa_family_code,2);
240: exit;
241: END LOOP;
242: if p_effective_date >= fnd_date.canonical_to_date('1998/10/01') then
243: if substr(p_First_NOAC_Lookup_Code,1,1) in ('1','2','5','6','7','8')

Line 256: hr_utility.set_message(8301, 'GHR_37203_ALL_PROCEDURE_FAIL');

252: p_To_Basic_Pay is null or
253: p_To_Step_Or_Rate is null or
254: p_Work_Sche_Code is null )
255: then
256: hr_utility.set_message(8301, 'GHR_37203_ALL_PROCEDURE_FAIL');
257: hr_utility.raise_error;
258: end if;
259: else
260: if substr(p_First_NOAC_Lookup_Code,1,1) in ('1','2','5','7','8')

Line 257: hr_utility.raise_error;

253: p_To_Step_Or_Rate is null or
254: p_Work_Sche_Code is null )
255: then
256: hr_utility.set_message(8301, 'GHR_37203_ALL_PROCEDURE_FAIL');
257: hr_utility.raise_error;
258: end if;
259: else
260: if substr(p_First_NOAC_Lookup_Code,1,1) in ('1','2','5','7','8')
261: and

Line 273: hr_utility.set_message(8301, 'GHR_37204_ALL_PROCEDURE_FAIL');

269: p_To_Basic_Pay is null or
270: p_To_Step_Or_Rate is null or
271: p_Work_Sche_Code is null )
272: then
273: hr_utility.set_message(8301, 'GHR_37204_ALL_PROCEDURE_FAIL');
274: hr_utility.raise_error;
275: end if;
276: end if;
277:

Line 274: hr_utility.raise_error;

270: p_To_Step_Or_Rate is null or
271: p_Work_Sche_Code is null )
272: then
273: hr_utility.set_message(8301, 'GHR_37204_ALL_PROCEDURE_FAIL');
274: hr_utility.raise_error;
275: end if;
276: end if;
277:
278:

Line 313: hr_utility.set_message(8301, 'GHR_37205_ALL_PROCEDURE_FAIL');

309: p_Prior_To_Step_Or_Rate is null or
310: p_Prior_Work_Sche_Code is null or
311: p_prior_Duty_Station is nulL
312: ) then
313: hr_utility.set_message(8301, 'GHR_37205_ALL_PROCEDURE_FAIL');
314: hr_utility.set_message_token('NOA_CODE','3--,4--,5--,6--, 7--, or 8--');
315: hr_utility.raise_error;
316: end if;
317: else -- p_effective_date < '2004/06/01'

Line 314: hr_utility.set_message_token('NOA_CODE','3--,4--,5--,6--, 7--, or 8--');

310: p_Prior_Work_Sche_Code is null or
311: p_prior_Duty_Station is nulL
312: ) then
313: hr_utility.set_message(8301, 'GHR_37205_ALL_PROCEDURE_FAIL');
314: hr_utility.set_message_token('NOA_CODE','3--,4--,5--,6--, 7--, or 8--');
315: hr_utility.raise_error;
316: end if;
317: else -- p_effective_date < '2004/06/01'
318: if substr(p_First_NOAC_Lookup_Code,1,1) in ('3','4','5','6','7','8') and

Line 315: hr_utility.raise_error;

311: p_prior_Duty_Station is nulL
312: ) then
313: hr_utility.set_message(8301, 'GHR_37205_ALL_PROCEDURE_FAIL');
314: hr_utility.set_message_token('NOA_CODE','3--,4--,5--,6--, 7--, or 8--');
315: hr_utility.raise_error;
316: end if;
317: else -- p_effective_date < '2004/06/01'
318: if substr(p_First_NOAC_Lookup_Code,1,1) in ('3','4','5','6','7','8') and
319: p_First_NOAC_Lookup_Code not in ('815','816','817','825','826','827','840','841','842',

Line 332: hr_utility.set_message(8301, 'GHR_37851_ALL_PROCEDURE_FAIL');

328: p_Prior_To_Step_Or_Rate is null or
329: p_Prior_Work_Sche_Code is null or
330: p_prior_Duty_Station is nulL
331: ) then
332: hr_utility.set_message(8301, 'GHR_37851_ALL_PROCEDURE_FAIL');
333: hr_utility.raise_error;
334: end if;
335: end if; -- p_effective_date < '2004/06/01'
336: end if; --l_session.noa_id_correct is null

Line 333: hr_utility.raise_error;

329: p_Prior_Work_Sche_Code is null or
330: p_prior_Duty_Station is nulL
331: ) then
332: hr_utility.set_message(8301, 'GHR_37851_ALL_PROCEDURE_FAIL');
333: hr_utility.raise_error;
334: end if;
335: end if; -- p_effective_date < '2004/06/01'
336: end if; --l_session.noa_id_correct is null
337: elsif p_effective_date < fnd_date.canonical_to_date('2007/01/01') then --p_effective_date < '2006/05/01'

Line 353: hr_utility.set_message(8301, 'GHR_37200_ALL_PROCEDURE_FAIL');

349: p_Prior_To_Step_Or_Rate is null or
350: p_Prior_Work_Sche_Code is null or
351: p_prior_Duty_Station is nulL
352: ) then
353: hr_utility.set_message(8301, 'GHR_37200_ALL_PROCEDURE_FAIL');
354: hr_utility.set_message_token('NOA_CODE','815, 816, 817, 825, 826, 827, 840 through 848, 878, 879');
355: hr_utility.raise_error;
356: end if;
357: end if;

Line 354: hr_utility.set_message_token('NOA_CODE','815, 816, 817, 825, 826, 827, 840 through 848, 878, 879');

350: p_Prior_Work_Sche_Code is null or
351: p_prior_Duty_Station is nulL
352: ) then
353: hr_utility.set_message(8301, 'GHR_37200_ALL_PROCEDURE_FAIL');
354: hr_utility.set_message_token('NOA_CODE','815, 816, 817, 825, 826, 827, 840 through 848, 878, 879');
355: hr_utility.raise_error;
356: end if;
357: end if;
358: else --p_effective_date < '2006/05/01'

Line 355: hr_utility.raise_error;

351: p_prior_Duty_Station is nulL
352: ) then
353: hr_utility.set_message(8301, 'GHR_37200_ALL_PROCEDURE_FAIL');
354: hr_utility.set_message_token('NOA_CODE','815, 816, 817, 825, 826, 827, 840 through 848, 878, 879');
355: hr_utility.raise_error;
356: end if;
357: end if;
358: else --p_effective_date < '2006/05/01'
359: if l_session.noa_id_correct is null then

Line 374: hr_utility.set_message(8301, 'GHR_37200_ALL_PROCEDURE_FAIL');

370: p_Prior_To_Step_Or_Rate is null or
371: p_Prior_Work_Sche_Code is null or
372: p_prior_Duty_Station is nulL
373: ) then
374: hr_utility.set_message(8301, 'GHR_37200_ALL_PROCEDURE_FAIL');
375: hr_utility.set_message_token('NOA_CODE','815, 816, 817, 825, 826, 827, 840 through 849, 878, 879, 885, 886, 887, 889');
376: hr_utility.raise_error;
377: end if;
378: end if;

Line 375: hr_utility.set_message_token('NOA_CODE','815, 816, 817, 825, 826, 827, 840 through 849, 878, 879, 885, 886, 887, 889');

371: p_Prior_Work_Sche_Code is null or
372: p_prior_Duty_Station is nulL
373: ) then
374: hr_utility.set_message(8301, 'GHR_37200_ALL_PROCEDURE_FAIL');
375: hr_utility.set_message_token('NOA_CODE','815, 816, 817, 825, 826, 827, 840 through 849, 878, 879, 885, 886, 887, 889');
376: hr_utility.raise_error;
377: end if;
378: end if;
379: end if; --p_effective_date < '2006/05/01'

Line 376: hr_utility.raise_error;

372: p_prior_Duty_Station is nulL
373: ) then
374: hr_utility.set_message(8301, 'GHR_37200_ALL_PROCEDURE_FAIL');
375: hr_utility.set_message_token('NOA_CODE','815, 816, 817, 825, 826, 827, 840 through 849, 878, 879, 885, 886, 887, 889');
376: hr_utility.raise_error;
377: end if;
378: end if;
379: end if; --p_effective_date < '2006/05/01'
380: else -- p_effective_date >=01/10/1998'

Line 396: hr_utility.set_message(8301, 'GHR_37205_ALL_PROCEDURE_FAIL');

392: p_Prior_To_Step_Or_Rate is null or
393: p_Prior_Work_Sche_Code is null or
394: p_prior_Duty_Station is nulL
395: ) then
396: hr_utility.set_message(8301, 'GHR_37205_ALL_PROCEDURE_FAIL');
397: hr_utility.set_message_token('NOA_CODE','3--,4--,5--, 7--, or 8--');
398: hr_utility.raise_error;
399: end if;
400: end if;

Line 397: hr_utility.set_message_token('NOA_CODE','3--,4--,5--, 7--, or 8--');

393: p_Prior_Work_Sche_Code is null or
394: p_prior_Duty_Station is nulL
395: ) then
396: hr_utility.set_message(8301, 'GHR_37205_ALL_PROCEDURE_FAIL');
397: hr_utility.set_message_token('NOA_CODE','3--,4--,5--, 7--, or 8--');
398: hr_utility.raise_error;
399: end if;
400: end if;
401: end if;

Line 398: hr_utility.raise_error;

394: p_prior_Duty_Station is nulL
395: ) then
396: hr_utility.set_message(8301, 'GHR_37205_ALL_PROCEDURE_FAIL');
397: hr_utility.set_message_token('NOA_CODE','3--,4--,5--, 7--, or 8--');
398: hr_utility.raise_error;
399: end if;
400: end if;
401: end if;
402:

Line 413: hr_utility.set_message(8301, 'GHR_37275_ALL_PROCEDURE_FAIL');

409: p_First_Action_NOA_Code2 is null and
410: (p_Retention_Allowance is null and
411: p_Supervisory_Diff is null
412: ) then
413: hr_utility.set_message(8301, 'GHR_37275_ALL_PROCEDURE_FAIL');
414: hr_utility.raise_error;
415: end if;
416: end if;
417:

Line 414: hr_utility.raise_error;

410: (p_Retention_Allowance is null and
411: p_Supervisory_Diff is null
412: ) then
413: hr_utility.set_message(8301, 'GHR_37275_ALL_PROCEDURE_FAIL');
414: hr_utility.raise_error;
415: end if;
416: end if;
417:
418:

Line 435: hr_utility.set_message(8301, 'GHR_37206_ALL_PROCEDURE_FAIL');

431: p_pay_rate_determinant_code is not null or
432: p_To_Step_Or_Rate is not null
433: ) then
434:
435: hr_utility.set_message(8301, 'GHR_37206_ALL_PROCEDURE_FAIL');
436: hr_utility.raise_error;
437: end if;
438: END IF;
439:

Line 436: hr_utility.raise_error;

432: p_To_Step_Or_Rate is not null
433: ) then
434:
435: hr_utility.set_message(8301, 'GHR_37206_ALL_PROCEDURE_FAIL');
436: hr_utility.raise_error;
437: end if;
438: END IF;
439:
440:

Line 453: hr_utility.set_message(8301, 'GHR_37207_ALL_PROCEDURE_FAIL');

449: p_Prior_Pay_Rate_Det_Code is not null or
450: p_Prior_To_Step_Or_Rate is not null
451: ) then
452:
453: hr_utility.set_message(8301, 'GHR_37207_ALL_PROCEDURE_FAIL');
454: hr_utility.raise_error;
455: end if;
456: --370.35.2
457: -- 12/08/00 vravikan 01-oct-2000 New Edit

Line 454: hr_utility.raise_error;

450: p_Prior_To_Step_Or_Rate is not null
451: ) then
452:
453: hr_utility.set_message(8301, 'GHR_37207_ALL_PROCEDURE_FAIL');
454: hr_utility.raise_error;
455: end if;
456: --370.35.2
457: -- 12/08/00 vravikan 01-oct-2000 New Edit
458: -- If nature of action is 600 through 610,

Line 464: hr_utility.set_message(8301, 'GHR_37664_ALL_PROCEDURE_FAIL');

460:
461: IF p_effective_date >= fnd_date.canonical_to_date('2000/10/01') then
462: IF p_First_NOAC_Lookup_Code between '600' and '610' and
463: p_agency_subelement <> 'TD03' then
464: hr_utility.set_message(8301, 'GHR_37664_ALL_PROCEDURE_FAIL');
465: hr_utility.raise_error;
466: END IF;
467: END IF;
468: --370.36.2

Line 465: hr_utility.raise_error;

461: IF p_effective_date >= fnd_date.canonical_to_date('2000/10/01') then
462: IF p_First_NOAC_Lookup_Code between '600' and '610' and
463: p_agency_subelement <> 'TD03' then
464: hr_utility.set_message(8301, 'GHR_37664_ALL_PROCEDURE_FAIL');
465: hr_utility.raise_error;
466: END IF;
467: END IF;
468: --370.36.2
469: -- 12/08/00 vravikan 01-oct-2000 New Edit

Line 476: hr_utility.set_message(8301, 'GHR_37665_ALL_PROCEDURE_FAIL');

472:
473: IF p_effective_date >= fnd_date.canonical_to_date('2000/10/01') then
474: IF p_First_NOAC_Lookup_Code = '871' and
475: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') then
476: hr_utility.set_message(8301, 'GHR_37665_ALL_PROCEDURE_FAIL');
477: hr_utility.raise_error;
478: END IF;
479: END IF;
480:

Line 477: hr_utility.raise_error;

473: IF p_effective_date >= fnd_date.canonical_to_date('2000/10/01') then
474: IF p_First_NOAC_Lookup_Code = '871' and
475: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') then
476: hr_utility.set_message(8301, 'GHR_37665_ALL_PROCEDURE_FAIL');
477: hr_utility.raise_error;
478: END IF;
479: END IF;
480:
481: -- 370.37.2

Line 486: hr_utility.set_message(8301, 'GHR_37164_ALL_PROCEDURE_FAIL');

482: -- Upd 47 23-Jun-06 Raju From 01-Apr-06 New Edit
483: IF p_effective_date >= fnd_date.canonical_to_date('2006/04/01') THEN
484: IF p_First_NOAC_Lookup_Code IN ('611','612','613') AND
485: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') THEN
486: hr_utility.set_message(8301, 'GHR_37164_ALL_PROCEDURE_FAIL');
487: hr_utility.raise_error;
488: end if;
489: END IF;
490:

Line 487: hr_utility.raise_error;

483: IF p_effective_date >= fnd_date.canonical_to_date('2006/04/01') THEN
484: IF p_First_NOAC_Lookup_Code IN ('611','612','613') AND
485: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') THEN
486: hr_utility.set_message(8301, 'GHR_37164_ALL_PROCEDURE_FAIL');
487: hr_utility.raise_error;
488: end if;
489: END IF;
490:
491:

Line 500: hr_utility.set_message(8301, 'GHR_38886_ALL_PROCEDURE_FAIL');

496: -- Madhuri 19-MAY-2004 Adding new edit
497: --
498:
499: IF ( p_First_NOAC_Lookup_Code = '817' and p_Occupation is null ) THEN
500: hr_utility.set_message(8301, 'GHR_38886_ALL_PROCEDURE_FAIL');
501: hr_utility.raise_error;
502: END IF;
503:
504: end chk_Nature_of_Action;

Line 501: hr_utility.raise_error;

497: --
498:
499: IF ( p_First_NOAC_Lookup_Code = '817' and p_Occupation is null ) THEN
500: hr_utility.set_message(8301, 'GHR_38886_ALL_PROCEDURE_FAIL');
501: hr_utility.raise_error;
502: END IF;
503:
504: end chk_Nature_of_Action;
505:

Line 527: hr_utility.set_message(8301, 'GHR_37208_ALL_PROCEDURE_FAIL');

523: if ( substr(p_to_pay_plan,1,1) = 'G' or p_to_pay_plan = 'LG' or
524: p_to_pay_plan = 'ST' ) and
525: to_number(p_occ_code) >= 2500 and
526: p_occ_code is not null then
527: hr_utility.set_message(8301, 'GHR_37208_ALL_PROCEDURE_FAIL');
528: hr_utility.set_message_token('PAY_PLAN','LG, or ST');
529:
530: hr_utility.raise_error;
531: end if;

Line 528: hr_utility.set_message_token('PAY_PLAN','LG, or ST');

524: p_to_pay_plan = 'ST' ) and
525: to_number(p_occ_code) >= 2500 and
526: p_occ_code is not null then
527: hr_utility.set_message(8301, 'GHR_37208_ALL_PROCEDURE_FAIL');
528: hr_utility.set_message_token('PAY_PLAN','LG, or ST');
529:
530: hr_utility.raise_error;
531: end if;
532: ELSE

Line 530: hr_utility.raise_error;

526: p_occ_code is not null then
527: hr_utility.set_message(8301, 'GHR_37208_ALL_PROCEDURE_FAIL');
528: hr_utility.set_message_token('PAY_PLAN','LG, or ST');
529:
530: hr_utility.raise_error;
531: end if;
532: ELSE
533: if ( substr(p_to_pay_plan,1,1) = 'G' or
534: p_to_pay_plan = 'ST' ) and

Line 537: hr_utility.set_message(8301, 'GHR_37208_ALL_PROCEDURE_FAIL');

533: if ( substr(p_to_pay_plan,1,1) = 'G' or
534: p_to_pay_plan = 'ST' ) and
535: to_number(p_occ_code) >= 2500 and
536: p_occ_code is not null then
537: hr_utility.set_message(8301, 'GHR_37208_ALL_PROCEDURE_FAIL');
538: hr_utility.set_message_token('PAY_PLAN','or ST');
539: hr_utility.raise_error;
540: end if;
541: END IF;

Line 538: hr_utility.set_message_token('PAY_PLAN','or ST');

534: p_to_pay_plan = 'ST' ) and
535: to_number(p_occ_code) >= 2500 and
536: p_occ_code is not null then
537: hr_utility.set_message(8301, 'GHR_37208_ALL_PROCEDURE_FAIL');
538: hr_utility.set_message_token('PAY_PLAN','or ST');
539: hr_utility.raise_error;
540: end if;
541: END IF;
542:

Line 539: hr_utility.raise_error;

535: to_number(p_occ_code) >= 2500 and
536: p_occ_code is not null then
537: hr_utility.set_message(8301, 'GHR_37208_ALL_PROCEDURE_FAIL');
538: hr_utility.set_message_token('PAY_PLAN','or ST');
539: hr_utility.raise_error;
540: end if;
541: END IF;
542:
543: -- 390.16.1

Line 548: hr_utility.set_message(8301, 'GHR_37209_ALL_PROCEDURE_FAIL');

544: -- U58 Raju 01-jan-2010 Bug 9503972
545: IF p_effective_date < fnd_date.canonical_to_date('2010/01/01') THEN
546: if substr(p_to_pay_plan,1,1) in ('W','X', 'K') and
547: (to_number(p_occ_code) < 2499) then
548: hr_utility.set_message(8301, 'GHR_37209_ALL_PROCEDURE_FAIL');
549: hr_utility.set_message_token('PAY_PLAN','W-, X-, or K-');
550: hr_utility.raise_error;
551: end if;
552: ELSE

Line 549: hr_utility.set_message_token('PAY_PLAN','W-, X-, or K-');

545: IF p_effective_date < fnd_date.canonical_to_date('2010/01/01') THEN
546: if substr(p_to_pay_plan,1,1) in ('W','X', 'K') and
547: (to_number(p_occ_code) < 2499) then
548: hr_utility.set_message(8301, 'GHR_37209_ALL_PROCEDURE_FAIL');
549: hr_utility.set_message_token('PAY_PLAN','W-, X-, or K-');
550: hr_utility.raise_error;
551: end if;
552: ELSE
553: if substr(p_to_pay_plan,1,1) in ('W') and

Line 550: hr_utility.raise_error;

546: if substr(p_to_pay_plan,1,1) in ('W','X', 'K') and
547: (to_number(p_occ_code) < 2499) then
548: hr_utility.set_message(8301, 'GHR_37209_ALL_PROCEDURE_FAIL');
549: hr_utility.set_message_token('PAY_PLAN','W-, X-, or K-');
550: hr_utility.raise_error;
551: end if;
552: ELSE
553: if substr(p_to_pay_plan,1,1) in ('W') and
554: (to_number(p_occ_code) < 2499) then

Line 555: hr_utility.set_message(8301, 'GHR_37209_ALL_PROCEDURE_FAIL');

551: end if;
552: ELSE
553: if substr(p_to_pay_plan,1,1) in ('W') and
554: (to_number(p_occ_code) < 2499) then
555: hr_utility.set_message(8301, 'GHR_37209_ALL_PROCEDURE_FAIL');
556: hr_utility.set_message_token('PAY_PLAN','W-');
557: hr_utility.raise_error;
558: end if;
559: END IF;

Line 556: hr_utility.set_message_token('PAY_PLAN','W-');

552: ELSE
553: if substr(p_to_pay_plan,1,1) in ('W') and
554: (to_number(p_occ_code) < 2499) then
555: hr_utility.set_message(8301, 'GHR_37209_ALL_PROCEDURE_FAIL');
556: hr_utility.set_message_token('PAY_PLAN','W-');
557: hr_utility.raise_error;
558: end if;
559: END IF;
560:

Line 557: hr_utility.raise_error;

553: if substr(p_to_pay_plan,1,1) in ('W') and
554: (to_number(p_occ_code) < 2499) then
555: hr_utility.set_message(8301, 'GHR_37209_ALL_PROCEDURE_FAIL');
556: hr_utility.set_message_token('PAY_PLAN','W-');
557: hr_utility.raise_error;
558: end if;
559: END IF;
560:
561: -- 390.31.1

Line 563: hr_utility.set_message(8301, 'GHR_37210_ALL_PROCEDURE_FAIL');

559: END IF;
560:
561: -- 390.31.1
562: if (p_occ_code = '0605' and substr(p_agency_sub,1,2) <>'VA') then
563: hr_utility.set_message(8301, 'GHR_37210_ALL_PROCEDURE_FAIL');
564: hr_utility.raise_error;
565: end if;
566:
567: -- 390.43.1

Line 564: hr_utility.raise_error;

560:
561: -- 390.31.1
562: if (p_occ_code = '0605' and substr(p_agency_sub,1,2) <>'VA') then
563: hr_utility.set_message(8301, 'GHR_37210_ALL_PROCEDURE_FAIL');
564: hr_utility.raise_error;
565: end if;
566:
567: -- 390.43.1
568: --

Line 578: hr_utility.set_message(8301, 'GHR_37211_ALL_PROCEDURE_FAIL');

574: and (
575: substr(p_agency_sub,1,2) <> 'DN'
576: )
577: then
578: hr_utility.set_message(8301, 'GHR_37211_ALL_PROCEDURE_FAIL');
579: hr_utility.raise_error;
580: end if;*/
581:
582: /* Commented as per December 2000 cpdf changes -- vravikan

Line 579: hr_utility.raise_error;

575: substr(p_agency_sub,1,2) <> 'DN'
576: )
577: then
578: hr_utility.set_message(8301, 'GHR_37211_ALL_PROCEDURE_FAIL');
579: hr_utility.raise_error;
580: end if;*/
581:
582: /* Commented as per December 2000 cpdf changes -- vravikan
583: -- 390.44.1

Line 592: hr_utility.set_message(8301, 'GHR_37881_ALL_PROCEDURE_FAIL');

588: and (
589: substr(p_agency_sub,1,2) not in ('DN', 'IN07')
590: )
591: then
592: hr_utility.set_message(8301, 'GHR_37881_ALL_PROCEDURE_FAIL');
593: hr_utility.raise_error;
594: end if;
595:
596: */

Line 593: hr_utility.raise_error;

589: substr(p_agency_sub,1,2) not in ('DN', 'IN07')
590: )
591: then
592: hr_utility.set_message(8301, 'GHR_37881_ALL_PROCEDURE_FAIL');
593: hr_utility.raise_error;
594: end if;
595:
596: */
597: -- 390.45.1

Line 608: hr_utility.set_message(8301, 'GHR_37678_ALL_PROCEDURE_FAIL');

604: and (
605: substr(p_agency_sub,1,2) not in ('LP')
606: )
607: then
608: hr_utility.set_message(8301, 'GHR_37678_ALL_PROCEDURE_FAIL');
609: hr_utility.raise_error;
610: end if;
611: end if;
612: end if;

Line 609: hr_utility.raise_error;

605: substr(p_agency_sub,1,2) not in ('LP')
606: )
607: then
608: hr_utility.set_message(8301, 'GHR_37678_ALL_PROCEDURE_FAIL');
609: hr_utility.raise_error;
610: end if;
611: end if;
612: end if;
613:

Line 625: hr_utility.set_message(8301, 'GHR_37679_ALL_PROCEDURE_FAIL');

621: and (
622: p_agency_sub not in ('CM57')
623: )
624: then
625: hr_utility.set_message(8301, 'GHR_37679_ALL_PROCEDURE_FAIL');
626: hr_utility.raise_error;
627: end if;
628: end if;
629: end if;

Line 626: hr_utility.raise_error;

622: p_agency_sub not in ('CM57')
623: )
624: then
625: hr_utility.set_message(8301, 'GHR_37679_ALL_PROCEDURE_FAIL');
626: hr_utility.raise_error;
627: end if;
628: end if;
629: end if;
630: -- 390.07.2

Line 638: hr_utility.set_message(8301, 'GHR_37212_ALL_PROCEDURE_FAIL');

634: if ( p_to_pay_plan = 'ST' or p_to_pay_plan ='LG' or
635: substr(p_to_pay_plan,1,1) = 'G') and
636: to_number(p_occ_code) >= 2500 and
637: p_occ_code is not null then
638: hr_utility.set_message(8301, 'GHR_37212_ALL_PROCEDURE_FAIL');
639: hr_utility.set_message_token('PAY_PLAN','ST, or LG');
640: hr_utility.raise_error;
641: end if;
642: ELSE

Line 639: hr_utility.set_message_token('PAY_PLAN','ST, or LG');

635: substr(p_to_pay_plan,1,1) = 'G') and
636: to_number(p_occ_code) >= 2500 and
637: p_occ_code is not null then
638: hr_utility.set_message(8301, 'GHR_37212_ALL_PROCEDURE_FAIL');
639: hr_utility.set_message_token('PAY_PLAN','ST, or LG');
640: hr_utility.raise_error;
641: end if;
642: ELSE
643: if ( p_to_pay_plan = 'ST' or

Line 640: hr_utility.raise_error;

636: to_number(p_occ_code) >= 2500 and
637: p_occ_code is not null then
638: hr_utility.set_message(8301, 'GHR_37212_ALL_PROCEDURE_FAIL');
639: hr_utility.set_message_token('PAY_PLAN','ST, or LG');
640: hr_utility.raise_error;
641: end if;
642: ELSE
643: if ( p_to_pay_plan = 'ST' or
644: substr(p_to_pay_plan,1,1) = 'G') and

Line 647: hr_utility.set_message(8301, 'GHR_37212_ALL_PROCEDURE_FAIL');

643: if ( p_to_pay_plan = 'ST' or
644: substr(p_to_pay_plan,1,1) = 'G') and
645: to_number(p_occ_code) >= 2500 and
646: p_occ_code is not null then
647: hr_utility.set_message(8301, 'GHR_37212_ALL_PROCEDURE_FAIL');
648: hr_utility.set_message_token('PAY_PLAN','or ST');
649: hr_utility.raise_error;
650: end if;
651: END IF;

Line 648: hr_utility.set_message_token('PAY_PLAN','or ST');

644: substr(p_to_pay_plan,1,1) = 'G') and
645: to_number(p_occ_code) >= 2500 and
646: p_occ_code is not null then
647: hr_utility.set_message(8301, 'GHR_37212_ALL_PROCEDURE_FAIL');
648: hr_utility.set_message_token('PAY_PLAN','or ST');
649: hr_utility.raise_error;
650: end if;
651: END IF;
652:

Line 649: hr_utility.raise_error;

645: to_number(p_occ_code) >= 2500 and
646: p_occ_code is not null then
647: hr_utility.set_message(8301, 'GHR_37212_ALL_PROCEDURE_FAIL');
648: hr_utility.set_message_token('PAY_PLAN','or ST');
649: hr_utility.raise_error;
650: end if;
651: END IF;
652:
653: -- 390.13.2

Line 659: hr_utility.set_message(8301, 'GHR_37213_ALL_PROCEDURE_FAIL');

655: IF p_effective_date < fnd_date.canonical_to_date('2010/01/01') THEN
656: if substr(p_to_pay_plan,1,1) in ('W', 'X', 'K') and
657: to_number(p_occ_code) <= 2499 and
658: p_occ_code is not null then
659: hr_utility.set_message(8301, 'GHR_37213_ALL_PROCEDURE_FAIL');
660: hr_utility.set_message_token('PAY_PLAN','W-, X-, or K-');
661: hr_utility.raise_error;
662: end if;
663: ELSE

Line 660: hr_utility.set_message_token('PAY_PLAN','W-, X-, or K-');

656: if substr(p_to_pay_plan,1,1) in ('W', 'X', 'K') and
657: to_number(p_occ_code) <= 2499 and
658: p_occ_code is not null then
659: hr_utility.set_message(8301, 'GHR_37213_ALL_PROCEDURE_FAIL');
660: hr_utility.set_message_token('PAY_PLAN','W-, X-, or K-');
661: hr_utility.raise_error;
662: end if;
663: ELSE
664: if substr(p_to_pay_plan,1,1) in ('W') and

Line 661: hr_utility.raise_error;

657: to_number(p_occ_code) <= 2499 and
658: p_occ_code is not null then
659: hr_utility.set_message(8301, 'GHR_37213_ALL_PROCEDURE_FAIL');
660: hr_utility.set_message_token('PAY_PLAN','W-, X-, or K-');
661: hr_utility.raise_error;
662: end if;
663: ELSE
664: if substr(p_to_pay_plan,1,1) in ('W') and
665: to_number(p_occ_code) <= 2499 and

Line 667: hr_utility.set_message(8301, 'GHR_37213_ALL_PROCEDURE_FAIL');

663: ELSE
664: if substr(p_to_pay_plan,1,1) in ('W') and
665: to_number(p_occ_code) <= 2499 and
666: p_occ_code is not null then
667: hr_utility.set_message(8301, 'GHR_37213_ALL_PROCEDURE_FAIL');
668: hr_utility.set_message_token('PAY_PLAN','W-');
669: hr_utility.raise_error;
670: end if;
671: END IF;

Line 668: hr_utility.set_message_token('PAY_PLAN','W-');

664: if substr(p_to_pay_plan,1,1) in ('W') and
665: to_number(p_occ_code) <= 2499 and
666: p_occ_code is not null then
667: hr_utility.set_message(8301, 'GHR_37213_ALL_PROCEDURE_FAIL');
668: hr_utility.set_message_token('PAY_PLAN','W-');
669: hr_utility.raise_error;
670: end if;
671: END IF;
672:

Line 669: hr_utility.raise_error;

665: to_number(p_occ_code) <= 2499 and
666: p_occ_code is not null then
667: hr_utility.set_message(8301, 'GHR_37213_ALL_PROCEDURE_FAIL');
668: hr_utility.set_message_token('PAY_PLAN','W-');
669: hr_utility.raise_error;
670: end if;
671: END IF;
672:
673: -- 390.28.2

Line 677: hr_utility.set_message(8301, 'GHR_37214_ALL_PROCEDURE_FAIL');

673: -- 390.28.2
674: if p_occ_code = '0605' and
675: substr(p_agency_sub, 1, 2) <> 'VA'
676: then
677: hr_utility.set_message(8301, 'GHR_37214_ALL_PROCEDURE_FAIL');
678: hr_utility.raise_error;
679: end if;
680:
681: /* Commented as per December 2000 cpdf changes -- vravikan

Line 678: hr_utility.raise_error;

674: if p_occ_code = '0605' and
675: substr(p_agency_sub, 1, 2) <> 'VA'
676: then
677: hr_utility.set_message(8301, 'GHR_37214_ALL_PROCEDURE_FAIL');
678: hr_utility.raise_error;
679: end if;
680:
681: /* Commented as per December 2000 cpdf changes -- vravikan
682: -- 390.34.2

Line 692: hr_utility.set_message(8301, 'GHR_37215_ALL_PROCEDURE_FAIL');

688: )
689: and
690: p_duty_station_lookup_code is not null
691: then
692: hr_utility.set_message(8301, 'GHR_37215_ALL_PROCEDURE_FAIL');
693: hr_utility.raise_error;
694: end if;
695:
696: */

Line 693: hr_utility.raise_error;

689: and
690: p_duty_station_lookup_code is not null
691: then
692: hr_utility.set_message(8301, 'GHR_37215_ALL_PROCEDURE_FAIL');
693: hr_utility.raise_error;
694: end if;
695:
696: */
697: -- 390.40.2

Line 708: hr_utility.set_message(8301, 'GHR_37216_ALL_PROCEDURE_FAIL');

704: if p_occ_code in ('2619','2806','2808','2843')
705: and
706: substr(p_agency_sub, 1, 2) <> 'DN'
707: then
708: hr_utility.set_message(8301, 'GHR_37216_ALL_PROCEDURE_FAIL');
709: hr_utility.raise_error;
710: end if;
711: end if;
712:

Line 709: hr_utility.raise_error;

705: and
706: substr(p_agency_sub, 1, 2) <> 'DN'
707: then
708: hr_utility.set_message(8301, 'GHR_37216_ALL_PROCEDURE_FAIL');
709: hr_utility.raise_error;
710: end if;
711: end if;
712:
713: /* Commented as per December 2000 cpdf changes -- vravikan

Line 722: hr_utility.set_message(8301, 'GHR_37880_ALL_PROCEDURE_FAIL');

718: if p_occ_code in ('2806', '2808')
719: and
720: substr(p_agency_sub, 1, 2) not in ('DN', 'IN07')
721: then
722: hr_utility.set_message(8301, 'GHR_37880_ALL_PROCEDURE_FAIL');
723: hr_utility.raise_error;
724: end if;
725:
726: */

Line 723: hr_utility.raise_error;

719: and
720: substr(p_agency_sub, 1, 2) not in ('DN', 'IN07')
721: then
722: hr_utility.set_message(8301, 'GHR_37880_ALL_PROCEDURE_FAIL');
723: hr_utility.raise_error;
724: end if;
725:
726: */
727:

Line 776: hr_utility.set_message(8301, 'GHR_37909_ALL_PROCEDURE_FAIL');

772: (p_to_pay_plan = 'SL' and p_pay_basis <>'PA' and p_pay_basis is not null ) or
773: (substr(p_to_pay_plan,1,1) = 'X' and p_pay_basis <> 'PH' and p_pay_basis is not null ) or
774: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
775: then
776: hr_utility.set_message(8301, 'GHR_37909_ALL_PROCEDURE_FAIL');
777: hr_utility.set_message_token('PRD_LIST','A, B, E, F, U, or V');
778: hr_utility.raise_error;
779: end if;
780: end if;

Line 777: hr_utility.set_message_token('PRD_LIST','A, B, E, F, U, or V');

773: (substr(p_to_pay_plan,1,1) = 'X' and p_pay_basis <> 'PH' and p_pay_basis is not null ) or
774: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
775: then
776: hr_utility.set_message(8301, 'GHR_37909_ALL_PROCEDURE_FAIL');
777: hr_utility.set_message_token('PRD_LIST','A, B, E, F, U, or V');
778: hr_utility.raise_error;
779: end if;
780: end if;
781: elsif p_effective_date >= to_date('2001/07/01','yyyy/mm/dd') then

Line 778: hr_utility.raise_error;

774: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
775: then
776: hr_utility.set_message(8301, 'GHR_37909_ALL_PROCEDURE_FAIL');
777: hr_utility.set_message_token('PRD_LIST','A, B, E, F, U, or V');
778: hr_utility.raise_error;
779: end if;
780: end if;
781: elsif p_effective_date >= to_date('2001/07/01','yyyy/mm/dd') then
782: if p_pay_rate_determinant_code not in ('A','B','E','F','M','U','V') then

Line 796: hr_utility.set_message(8301, 'GHR_37909_ALL_PROCEDURE_FAIL');

792: (p_to_pay_plan = 'SL' and p_pay_basis <>'PA' and p_pay_basis is not null ) or
793: (substr(p_to_pay_plan,1,1) = 'X' and p_pay_basis <> 'PH' and p_pay_basis is not null ) or
794: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
795: then
796: hr_utility.set_message(8301, 'GHR_37909_ALL_PROCEDURE_FAIL');
797: hr_utility.set_message_token('PRD_LIST','A, B, E, F, M, U, or V');
798: hr_utility.raise_error;
799: end if;
800: end if;

Line 797: hr_utility.set_message_token('PRD_LIST','A, B, E, F, M, U, or V');

793: (substr(p_to_pay_plan,1,1) = 'X' and p_pay_basis <> 'PH' and p_pay_basis is not null ) or
794: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
795: then
796: hr_utility.set_message(8301, 'GHR_37909_ALL_PROCEDURE_FAIL');
797: hr_utility.set_message_token('PRD_LIST','A, B, E, F, M, U, or V');
798: hr_utility.raise_error;
799: end if;
800: end if;
801: else

Line 798: hr_utility.raise_error;

794: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
795: then
796: hr_utility.set_message(8301, 'GHR_37909_ALL_PROCEDURE_FAIL');
797: hr_utility.set_message_token('PRD_LIST','A, B, E, F, M, U, or V');
798: hr_utility.raise_error;
799: end if;
800: end if;
801: else
802: if p_pay_rate_determinant_code not in ('A','B','E','F','M','U','V') then

Line 817: hr_utility.set_message(8301, 'GHR_37217_ALL_PROCEDURE_FAIL');

813: (p_to_pay_plan = 'TP' and p_pay_basis not in ('FB','PD','SY') and p_pay_basis is not null ) or
814: (substr(p_to_pay_plan,1,1) = 'X' and p_pay_basis <> 'PH' and p_pay_basis is not null ) or
815: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
816: then
817: hr_utility.set_message(8301, 'GHR_37217_ALL_PROCEDURE_FAIL');
818: hr_utility.raise_error;
819: end if;
820: end if;
821: end if;

Line 818: hr_utility.raise_error;

814: (substr(p_to_pay_plan,1,1) = 'X' and p_pay_basis <> 'PH' and p_pay_basis is not null ) or
815: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
816: then
817: hr_utility.set_message(8301, 'GHR_37217_ALL_PROCEDURE_FAIL');
818: hr_utility.raise_error;
819: end if;
820: end if;
821: end if;
822:

Line 841: hr_utility.set_message(8301, 'GHR_37219_ALL_PROCEDURE_FAIL');

837: p_agency_subelement in ('TRAJ','TR35')
838: ) and
839: to_number(p_basic_pay) >max_per_diem
840: then
841: hr_utility.set_message(8301, 'GHR_37219_ALL_PROCEDURE_FAIL');
842: hr_utility.raise_error;
843: end if;*/
844:
845: /*410.07.3 If pay basis is PA, PH, PM, BW, or WC,

Line 842: hr_utility.raise_error;

838: ) and
839: to_number(p_basic_pay) >max_per_diem
840: then
841: hr_utility.set_message(8301, 'GHR_37219_ALL_PROCEDURE_FAIL');
842: hr_utility.raise_error;
843: end if;*/
844:
845: /*410.07.3 If pay basis is PA, PH, PM, BW, or WC,
846: Then basic pay must not be greater than the maximum

Line 897: hr_utility.set_message(8301, 'GHR_37218_ALL_PROCEDURE_FAIL');

893: close c_fw_pay_plans;
894:
895: if l_basic_pay > max_basic_pay
896: then
897: hr_utility.set_message(8301, 'GHR_37218_ALL_PROCEDURE_FAIL');
898: hr_utility.raise_error;
899: end if;
900: end if;
901: end if;

Line 898: hr_utility.raise_error;

894:
895: if l_basic_pay > max_basic_pay
896: then
897: hr_utility.set_message(8301, 'GHR_37218_ALL_PROCEDURE_FAIL');
898: hr_utility.raise_error;
899: end if;
900: end if;
901: end if;
902:

Line 947: hr_utility.set_message(8301, 'GHR_38917_ALL_PROCEDURE_FAIL');

943: close c_fw_pay_plans;
944: -- Bug 4089960
945:
946: if ( l_basic_pay NOT BETWEEN min_basic_pay and max_basic_pay ) then
947: hr_utility.set_message(8301, 'GHR_38917_ALL_PROCEDURE_FAIL');
948: hr_utility.raise_error;
949: end if;
950: end if;
951: end if;

Line 948: hr_utility.raise_error;

944: -- Bug 4089960
945:
946: if ( l_basic_pay NOT BETWEEN min_basic_pay and max_basic_pay ) then
947: hr_utility.set_message(8301, 'GHR_38917_ALL_PROCEDURE_FAIL');
948: hr_utility.raise_error;
949: end if;
950: end if;
951: end if;
952: End if; -- Check for Pay Plan AD

Line 976: hr_utility.set_message(8301, 'GHR_38554_ALL_PROCEDURE_FAIL');

972: l_basic_pay := to_number(p_basic_pay);
973: end if;
974: close c_fw_pay_plans;
975: if ( l_basic_pay NOT BETWEEN min_basic_pay and max_basic_pay ) then
976: hr_utility.set_message(8301, 'GHR_38554_ALL_PROCEDURE_FAIL');
977: hr_utility.set_message_token('PAY_BASIS','BW, PA, PD, PH, or WC');
978: hr_utility.raise_error;
979: end if;
980: end if;

Line 977: hr_utility.set_message_token('PAY_BASIS','BW, PA, PD, PH, or WC');

973: end if;
974: close c_fw_pay_plans;
975: if ( l_basic_pay NOT BETWEEN min_basic_pay and max_basic_pay ) then
976: hr_utility.set_message(8301, 'GHR_38554_ALL_PROCEDURE_FAIL');
977: hr_utility.set_message_token('PAY_BASIS','BW, PA, PD, PH, or WC');
978: hr_utility.raise_error;
979: end if;
980: end if;
981: end if;

Line 978: hr_utility.raise_error;

974: close c_fw_pay_plans;
975: if ( l_basic_pay NOT BETWEEN min_basic_pay and max_basic_pay ) then
976: hr_utility.set_message(8301, 'GHR_38554_ALL_PROCEDURE_FAIL');
977: hr_utility.set_message_token('PAY_BASIS','BW, PA, PD, PH, or WC');
978: hr_utility.raise_error;
979: end if;
980: end if;
981: end if;
982: End if; -- Check for Pay Plan AD

Line 1006: hr_utility.set_message(8301, 'GHR_38554_ALL_PROCEDURE_FAIL');

1002: l_basic_pay := to_number(p_basic_pay);
1003: end if;
1004: close c_fw_pay_plans;
1005: if ( l_basic_pay NOT BETWEEN min_basic_pay and max_basic_pay ) then
1006: hr_utility.set_message(8301, 'GHR_38554_ALL_PROCEDURE_FAIL');
1007: hr_utility.set_message_token('PAY_BASIS','BW, PA, PD, PH, PM, or WC');
1008: hr_utility.raise_error;
1009: end if;
1010: end if;

Line 1007: hr_utility.set_message_token('PAY_BASIS','BW, PA, PD, PH, PM, or WC');

1003: end if;
1004: close c_fw_pay_plans;
1005: if ( l_basic_pay NOT BETWEEN min_basic_pay and max_basic_pay ) then
1006: hr_utility.set_message(8301, 'GHR_38554_ALL_PROCEDURE_FAIL');
1007: hr_utility.set_message_token('PAY_BASIS','BW, PA, PD, PH, PM, or WC');
1008: hr_utility.raise_error;
1009: end if;
1010: end if;
1011: end if;

Line 1008: hr_utility.raise_error;

1004: close c_fw_pay_plans;
1005: if ( l_basic_pay NOT BETWEEN min_basic_pay and max_basic_pay ) then
1006: hr_utility.set_message(8301, 'GHR_38554_ALL_PROCEDURE_FAIL');
1007: hr_utility.set_message_token('PAY_BASIS','BW, PA, PD, PH, PM, or WC');
1008: hr_utility.raise_error;
1009: end if;
1010: end if;
1011: end if;
1012: End if; -- Check for Pay Plan AD

Line 1055: hr_utility.set_message(8301, 'GHR_37220_ALL_PROCEDURE_FAIL');

1051: end if;
1052: close c_fw_pay_plans;
1053:
1054: if l_basic_pay > max_basic_pay then
1055: hr_utility.set_message(8301, 'GHR_37220_ALL_PROCEDURE_FAIL');
1056: hr_utility.raise_error;
1057: end if;
1058: end if;
1059: end if; */

Line 1056: hr_utility.raise_error;

1052: close c_fw_pay_plans;
1053:
1054: if l_basic_pay > max_basic_pay then
1055: hr_utility.set_message(8301, 'GHR_37220_ALL_PROCEDURE_FAIL');
1056: hr_utility.raise_error;
1057: end if;
1058: end if;
1059: end if; */
1060:

Line 1090: hr_utility.set_message(8301, 'GHR_37221_ALL_PROCEDURE_FAIL');

1086: and p_to_grade_or_level not in
1087: ('01', '02', '03', '04', '05', '06', '07', '08',
1088: '09', '10', '11', '12', '13', '14', '15')
1089: and p_to_grade_or_level is not null then
1090: hr_utility.set_message(8301, 'GHR_37221_ALL_PROCEDURE_FAIL');
1091: hr_utility.set_message_token('PAY_PLAN','CG,MG,WL, or XG');
1092: hr_utility.raise_error;
1093: end if;
1094: ELSIF p_effective_date < fnd_date.canonical_to_date('2010/01/01') THEN

Line 1091: hr_utility.set_message_token('PAY_PLAN','CG,MG,WL, or XG');

1087: ('01', '02', '03', '04', '05', '06', '07', '08',
1088: '09', '10', '11', '12', '13', '14', '15')
1089: and p_to_grade_or_level is not null then
1090: hr_utility.set_message(8301, 'GHR_37221_ALL_PROCEDURE_FAIL');
1091: hr_utility.set_message_token('PAY_PLAN','CG,MG,WL, or XG');
1092: hr_utility.raise_error;
1093: end if;
1094: ELSIF p_effective_date < fnd_date.canonical_to_date('2010/01/01') THEN
1095: if p_to_pay_plan in ( 'CG','WL','XG' )

Line 1092: hr_utility.raise_error;

1088: '09', '10', '11', '12', '13', '14', '15')
1089: and p_to_grade_or_level is not null then
1090: hr_utility.set_message(8301, 'GHR_37221_ALL_PROCEDURE_FAIL');
1091: hr_utility.set_message_token('PAY_PLAN','CG,MG,WL, or XG');
1092: hr_utility.raise_error;
1093: end if;
1094: ELSIF p_effective_date < fnd_date.canonical_to_date('2010/01/01') THEN
1095: if p_to_pay_plan in ( 'CG','WL','XG' )
1096: and p_to_grade_or_level not in

Line 1100: hr_utility.set_message(8301, 'GHR_37221_ALL_PROCEDURE_FAIL');

1096: and p_to_grade_or_level not in
1097: ('01', '02', '03', '04', '05', '06', '07', '08',
1098: '09', '10', '11', '12', '13', '14', '15')
1099: and p_to_grade_or_level is not null then
1100: hr_utility.set_message(8301, 'GHR_37221_ALL_PROCEDURE_FAIL');
1101: hr_utility.set_message_token('PAY_PLAN','CG,WL, or XG');
1102: hr_utility.raise_error;
1103: end if;
1104: else

Line 1101: hr_utility.set_message_token('PAY_PLAN','CG,WL, or XG');

1097: ('01', '02', '03', '04', '05', '06', '07', '08',
1098: '09', '10', '11', '12', '13', '14', '15')
1099: and p_to_grade_or_level is not null then
1100: hr_utility.set_message(8301, 'GHR_37221_ALL_PROCEDURE_FAIL');
1101: hr_utility.set_message_token('PAY_PLAN','CG,WL, or XG');
1102: hr_utility.raise_error;
1103: end if;
1104: else
1105: if p_to_pay_plan in ( 'WL' )

Line 1102: hr_utility.raise_error;

1098: '09', '10', '11', '12', '13', '14', '15')
1099: and p_to_grade_or_level is not null then
1100: hr_utility.set_message(8301, 'GHR_37221_ALL_PROCEDURE_FAIL');
1101: hr_utility.set_message_token('PAY_PLAN','CG,WL, or XG');
1102: hr_utility.raise_error;
1103: end if;
1104: else
1105: if p_to_pay_plan in ( 'WL' )
1106: and p_to_grade_or_level not in

Line 1110: hr_utility.set_message(8301, 'GHR_37221_ALL_PROCEDURE_FAIL');

1106: and p_to_grade_or_level not in
1107: ('01', '02', '03', '04', '05', '06', '07', '08',
1108: '09', '10', '11', '12', '13', '14', '15')
1109: and p_to_grade_or_level is not null then
1110: hr_utility.set_message(8301, 'GHR_37221_ALL_PROCEDURE_FAIL');
1111: hr_utility.set_message_token('PAY_PLAN','WL');
1112: hr_utility.raise_error;
1113: end if;
1114: end if;

Line 1111: hr_utility.set_message_token('PAY_PLAN','WL');

1107: ('01', '02', '03', '04', '05', '06', '07', '08',
1108: '09', '10', '11', '12', '13', '14', '15')
1109: and p_to_grade_or_level is not null then
1110: hr_utility.set_message(8301, 'GHR_37221_ALL_PROCEDURE_FAIL');
1111: hr_utility.set_message_token('PAY_PLAN','WL');
1112: hr_utility.raise_error;
1113: end if;
1114: end if;
1115:

Line 1112: hr_utility.raise_error;

1108: '09', '10', '11', '12', '13', '14', '15')
1109: and p_to_grade_or_level is not null then
1110: hr_utility.set_message(8301, 'GHR_37221_ALL_PROCEDURE_FAIL');
1111: hr_utility.set_message_token('PAY_PLAN','WL');
1112: hr_utility.raise_error;
1113: end if;
1114: end if;
1115:
1116: -- 420.04.3

Line 1124: hr_utility.set_message(8301, 'GHR_37222_ALL_PROCEDURE_FAIL');

1120: p_to_grade_or_level not in
1121: ('01', '02', '03', '04', '05', '06', '07', '08', '09', '10',
1122: '11', '12', '13', '14', '15', '16', '17', '18', '19') and
1123: p_to_grade_or_level is not null then
1124: hr_utility.set_message(8301, 'GHR_37222_ALL_PROCEDURE_FAIL');
1125: hr_utility.set_message_token('PAY_PLAN','WS, or XH');
1126: hr_utility.raise_error;
1127: end if;
1128: ELSE

Line 1125: hr_utility.set_message_token('PAY_PLAN','WS, or XH');

1121: ('01', '02', '03', '04', '05', '06', '07', '08', '09', '10',
1122: '11', '12', '13', '14', '15', '16', '17', '18', '19') and
1123: p_to_grade_or_level is not null then
1124: hr_utility.set_message(8301, 'GHR_37222_ALL_PROCEDURE_FAIL');
1125: hr_utility.set_message_token('PAY_PLAN','WS, or XH');
1126: hr_utility.raise_error;
1127: end if;
1128: ELSE
1129: if (p_to_pay_plan = 'WS') and

Line 1126: hr_utility.raise_error;

1122: '11', '12', '13', '14', '15', '16', '17', '18', '19') and
1123: p_to_grade_or_level is not null then
1124: hr_utility.set_message(8301, 'GHR_37222_ALL_PROCEDURE_FAIL');
1125: hr_utility.set_message_token('PAY_PLAN','WS, or XH');
1126: hr_utility.raise_error;
1127: end if;
1128: ELSE
1129: if (p_to_pay_plan = 'WS') and
1130: p_to_grade_or_level not in

Line 1134: hr_utility.set_message(8301, 'GHR_37222_ALL_PROCEDURE_FAIL');

1130: p_to_grade_or_level not in
1131: ('01', '02', '03', '04', '05', '06', '07', '08', '09', '10',
1132: '11', '12', '13', '14', '15', '16', '17', '18', '19') and
1133: p_to_grade_or_level is not null then
1134: hr_utility.set_message(8301, 'GHR_37222_ALL_PROCEDURE_FAIL');
1135: hr_utility.set_message_token('PAY_PLAN','WS');
1136: hr_utility.raise_error;
1137: end if;
1138: END IF;

Line 1135: hr_utility.set_message_token('PAY_PLAN','WS');

1131: ('01', '02', '03', '04', '05', '06', '07', '08', '09', '10',
1132: '11', '12', '13', '14', '15', '16', '17', '18', '19') and
1133: p_to_grade_or_level is not null then
1134: hr_utility.set_message(8301, 'GHR_37222_ALL_PROCEDURE_FAIL');
1135: hr_utility.set_message_token('PAY_PLAN','WS');
1136: hr_utility.raise_error;
1137: end if;
1138: END IF;
1139:

Line 1136: hr_utility.raise_error;

1132: '11', '12', '13', '14', '15', '16', '17', '18', '19') and
1133: p_to_grade_or_level is not null then
1134: hr_utility.set_message(8301, 'GHR_37222_ALL_PROCEDURE_FAIL');
1135: hr_utility.set_message_token('PAY_PLAN','WS');
1136: hr_utility.raise_error;
1137: end if;
1138: END IF;
1139:
1140: -- 420.07.3

Line 1150: hr_utility.set_message(8301, 'GHR_37223_ALL_PROCEDURE_FAIL');

1146: '01', '02', '03', '04', '13', '14')
1147: and
1148: p_to_grade_or_level is not null
1149: then
1150: hr_utility.set_message(8301, 'GHR_37223_ALL_PROCEDURE_FAIL');
1151: hr_utility.raise_error;
1152: end if;
1153: end if;
1154: -- 420.10.3

Line 1151: hr_utility.raise_error;

1147: and
1148: p_to_grade_or_level is not null
1149: then
1150: hr_utility.set_message(8301, 'GHR_37223_ALL_PROCEDURE_FAIL');
1151: hr_utility.raise_error;
1152: end if;
1153: end if;
1154: -- 420.10.3
1155: -- removed pay plan 'CY'

Line 1164: hr_utility.set_message(8301, 'GHR_37224_ALL_PROCEDURE_FAIL');

1160: '11', '12', '13', '14', '15', '16', '17')
1161: and
1162: p_to_grade_or_level is not null
1163: then
1164: hr_utility.set_message(8301, 'GHR_37224_ALL_PROCEDURE_FAIL');
1165: hr_utility.raise_error;
1166: end if;
1167: end if;
1168: -- 420.11.3

Line 1165: hr_utility.raise_error;

1161: and
1162: p_to_grade_or_level is not null
1163: then
1164: hr_utility.set_message(8301, 'GHR_37224_ALL_PROCEDURE_FAIL');
1165: hr_utility.raise_error;
1166: end if;
1167: end if;
1168: -- 420.11.3
1169: -- added for the april release as per update 6 manual

Line 1178: hr_utility.set_message(8301, 'GHR_37882_ALL_PROCEDURE_FAIL');

1174: '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24')
1175: and
1176: p_to_grade_or_level is not null
1177: then
1178: hr_utility.set_message(8301, 'GHR_37882_ALL_PROCEDURE_FAIL');
1179: hr_utility.raise_error;
1180: end if;
1181: end if;
1182:

Line 1179: hr_utility.raise_error;

1175: and
1176: p_to_grade_or_level is not null
1177: then
1178: hr_utility.set_message(8301, 'GHR_37882_ALL_PROCEDURE_FAIL');
1179: hr_utility.raise_error;
1180: end if;
1181: end if;
1182:
1183: -- 420.13.3

Line 1189: hr_utility.set_message(8301, 'GHR_37225_ALL_PROCEDURE_FAIL');

1185: p_to_grade_or_level not in ( '13', '14', '15')
1186: and
1187: p_to_grade_or_level is not null
1188: then
1189: hr_utility.set_message(8301, 'GHR_37225_ALL_PROCEDURE_FAIL');
1190: hr_utility.raise_error;
1191: end if;
1192:
1193: -- 420.16.3

Line 1190: hr_utility.raise_error;

1186: and
1187: p_to_grade_or_level is not null
1188: then
1189: hr_utility.set_message(8301, 'GHR_37225_ALL_PROCEDURE_FAIL');
1190: hr_utility.raise_error;
1191: end if;
1192:
1193: -- 420.16.3
1194: if p_to_pay_plan = 'GS' and

Line 1200: hr_utility.set_message(8301, 'GHR_37226_ALL_PROCEDURE_FAIL');

1196: '09', '10', '11', '12', '13', '14', '15')
1197: and
1198: p_to_grade_or_level is not null
1199: then
1200: hr_utility.set_message(8301, 'GHR_37226_ALL_PROCEDURE_FAIL');
1201: hr_utility.raise_error;
1202: end if;
1203:
1204: -- 420.17.3

Line 1201: hr_utility.raise_error;

1197: and
1198: p_to_grade_or_level is not null
1199: then
1200: hr_utility.set_message(8301, 'GHR_37226_ALL_PROCEDURE_FAIL');
1201: hr_utility.raise_error;
1202: end if;
1203:
1204: -- 420.17.3
1205: --

Line 1214: hr_utility.set_message(8301, 'GHR_37877_ALL_PROCEDURE_FAIL');

1210: if p_effective_date >= fnd_date.canonical_to_date('1998/03/01') then
1211: if p_to_pay_plan in ('NH', 'NJ') and
1212: p_to_grade_or_level not in ('01', '02', '03', '04') and
1213: p_to_grade_or_level is not null then
1214: hr_utility.set_message(8301, 'GHR_37877_ALL_PROCEDURE_FAIL');
1215: hr_utility.raise_error;
1216: end if;
1217: end if;
1218: end if;

Line 1215: hr_utility.raise_error;

1211: if p_to_pay_plan in ('NH', 'NJ') and
1212: p_to_grade_or_level not in ('01', '02', '03', '04') and
1213: p_to_grade_or_level is not null then
1214: hr_utility.set_message(8301, 'GHR_37877_ALL_PROCEDURE_FAIL');
1215: hr_utility.raise_error;
1216: end if;
1217: end if;
1218: end if;
1219:

Line 1230: hr_utility.set_message(8301, 'GHR_37878_ALL_PROCEDURE_FAIL');

1226: if p_effective_date >= fnd_date.canonical_to_date('1998/03/01') then
1227: if p_to_pay_plan = 'NK' and
1228: p_to_grade_or_level not in ('01', '02', '03') and
1229: p_to_grade_or_level is not null then
1230: hr_utility.set_message(8301, 'GHR_37878_ALL_PROCEDURE_FAIL');
1231: hr_utility.raise_error;
1232: end if;
1233: end if;
1234: end if;

Line 1231: hr_utility.raise_error;

1227: if p_to_pay_plan = 'NK' and
1228: p_to_grade_or_level not in ('01', '02', '03') and
1229: p_to_grade_or_level is not null then
1230: hr_utility.set_message(8301, 'GHR_37878_ALL_PROCEDURE_FAIL');
1231: hr_utility.raise_error;
1232: end if;
1233: end if;
1234: end if;
1235:

Line 1250: hr_utility.set_message(8301, 'GHR_37030_ALL_PROCEDURE_FAIL');

1246: if p_to_pay_plan = 'FV' and
1247: p_to_grade_or_level not in ('AA','BB','CC','DD','EE','FF','GG','HH','II',
1248: 'JJ','KK','LL','MM') and
1249: p_to_grade_or_level is not null then
1250: hr_utility.set_message(8301, 'GHR_37030_ALL_PROCEDURE_FAIL');
1251: hr_utility.raise_error;
1252: end if;
1253: end if;
1254: end if;

Line 1251: hr_utility.raise_error;

1247: p_to_grade_or_level not in ('AA','BB','CC','DD','EE','FF','GG','HH','II',
1248: 'JJ','KK','LL','MM') and
1249: p_to_grade_or_level is not null then
1250: hr_utility.set_message(8301, 'GHR_37030_ALL_PROCEDURE_FAIL');
1251: hr_utility.raise_error;
1252: end if;
1253: end if;
1254: end if;
1255: -- 420.21.1

Line 1267: hr_utility.set_message(8301, 'GHR_37056_ALL_PROCEDURE_FAIL');

1263: if p_effective_date >= fnd_date.canonical_to_date('1998/10/01') then
1264: if p_to_pay_plan = 'JA' and
1265: p_to_grade_or_level not in ('01', '02', '03','04') and
1266: p_to_grade_or_level is not null then
1267: hr_utility.set_message(8301, 'GHR_37056_ALL_PROCEDURE_FAIL');
1268: hr_utility.raise_error;
1269: end if;
1270: end if;
1271: end if;

Line 1268: hr_utility.raise_error;

1264: if p_to_pay_plan = 'JA' and
1265: p_to_grade_or_level not in ('01', '02', '03','04') and
1266: p_to_grade_or_level is not null then
1267: hr_utility.set_message(8301, 'GHR_37056_ALL_PROCEDURE_FAIL');
1268: hr_utility.raise_error;
1269: end if;
1270: end if;
1271: end if;
1272:

Line 1285: hr_utility.set_message(8301, 'GHR_37032_ALL_PROCEDURE_FAIL');

1281: if p_effective_date >= fnd_date.canonical_to_date('1998/10/01') then
1282: if p_to_pay_plan = 'EV' and
1283: p_to_grade_or_level not in ('01', '02', '03') and
1284: p_to_grade_or_level is not null then
1285: hr_utility.set_message(8301, 'GHR_37032_ALL_PROCEDURE_FAIL');
1286: hr_utility.raise_error;
1287: end if;
1288: end if;
1289: end if;

Line 1286: hr_utility.raise_error;

1282: if p_to_pay_plan = 'EV' and
1283: p_to_grade_or_level not in ('01', '02', '03') and
1284: p_to_grade_or_level is not null then
1285: hr_utility.set_message(8301, 'GHR_37032_ALL_PROCEDURE_FAIL');
1286: hr_utility.raise_error;
1287: end if;
1288: end if;
1289: end if;
1290:

Line 1298: hr_utility.set_message(8301, 'GHR_37227_ALL_PROCEDURE_FAIL');

1294: IF p_effective_date < fnd_date.canonical_to_date('2003/01/01') then --Bug# 5073313
1295: if p_to_pay_plan = 'VM' and
1296: p_to_grade_or_level not in ('11', '12', '13', '14', '15', '96', '97') and
1297: p_to_grade_or_level is not null then
1298: hr_utility.set_message(8301, 'GHR_37227_ALL_PROCEDURE_FAIL');
1299: hr_utility.raise_error;
1300: end if;
1301: END IF;
1302: -- 420.23.3

Line 1299: hr_utility.raise_error;

1295: if p_to_pay_plan = 'VM' and
1296: p_to_grade_or_level not in ('11', '12', '13', '14', '15', '96', '97') and
1297: p_to_grade_or_level is not null then
1298: hr_utility.set_message(8301, 'GHR_37227_ALL_PROCEDURE_FAIL');
1299: hr_utility.raise_error;
1300: end if;
1301: END IF;
1302: -- 420.23.3
1303: -- Update/Change Date By Effective Date Comment

Line 1315: hr_utility.set_message(8301, 'GHR_37059_ALL_PROCEDURE_FAIL');

1311: p_to_grade_or_level not in ('01','02','03','04','05','06','07','08')
1312: and
1313: p_to_grade_or_level is not null
1314: then
1315: hr_utility.set_message(8301, 'GHR_37059_ALL_PROCEDURE_FAIL');
1316: hr_utility.raise_error;
1317: end if;
1318: end if;
1319: end if;

Line 1316: hr_utility.raise_error;

1312: and
1313: p_to_grade_or_level is not null
1314: then
1315: hr_utility.set_message(8301, 'GHR_37059_ALL_PROCEDURE_FAIL');
1316: hr_utility.raise_error;
1317: end if;
1318: end if;
1319: end if;
1320:

Line 1330: hr_utility.set_message(8301, 'GHR_37228_ALL_PROCEDURE_FAIL');

1326: '09', '11', '12', '13', '14', '15')
1327: and
1328: p_to_grade_or_level is not null
1329: then
1330: hr_utility.set_message(8301, 'GHR_37228_ALL_PROCEDURE_FAIL');
1331: hr_utility.raise_error;
1332: end if;
1333: end if;
1334: -- 420.28.3

Line 1331: hr_utility.raise_error;

1327: and
1328: p_to_grade_or_level is not null
1329: then
1330: hr_utility.set_message(8301, 'GHR_37228_ALL_PROCEDURE_FAIL');
1331: hr_utility.raise_error;
1332: end if;
1333: end if;
1334: -- 420.28.3
1335: if p_to_pay_plan = 'VP' and

Line 1340: hr_utility.set_message(8301, 'GHR_37229_ALL_PROCEDURE_FAIL');

1336: p_to_grade_or_level not in ('11', '12', '13', '14', '15')
1337: and
1338: p_to_grade_or_level is not null
1339: then
1340: hr_utility.set_message(8301, 'GHR_37229_ALL_PROCEDURE_FAIL');
1341: hr_utility.raise_error;
1342: end if;
1343:
1344: -- 420.31.3

Line 1341: hr_utility.raise_error;

1337: and
1338: p_to_grade_or_level is not null
1339: then
1340: hr_utility.set_message(8301, 'GHR_37229_ALL_PROCEDURE_FAIL');
1341: hr_utility.raise_error;
1342: end if;
1343:
1344: -- 420.31.3
1345: -- U58 Raju 01-jan-2010 Bug 9503972

Line 1352: hr_utility.set_message(8301, 'GHR_37230_ALL_PROCEDURE_FAIL');

1348: p_to_grade_or_level not in
1349: ('01', '02', '03', '04', '05', '06', '07', '08',
1350: '09', '10', '11', '12', '13', '14', '15') and
1351: p_to_grade_or_level is not null then
1352: hr_utility.set_message(8301, 'GHR_37230_ALL_PROCEDURE_FAIL');
1353: hr_utility.set_message_token('PAY_PLAN','WG or XF');
1354: hr_utility.raise_error;
1355: end if;
1356: ELSE

Line 1353: hr_utility.set_message_token('PAY_PLAN','WG or XF');

1349: ('01', '02', '03', '04', '05', '06', '07', '08',
1350: '09', '10', '11', '12', '13', '14', '15') and
1351: p_to_grade_or_level is not null then
1352: hr_utility.set_message(8301, 'GHR_37230_ALL_PROCEDURE_FAIL');
1353: hr_utility.set_message_token('PAY_PLAN','WG or XF');
1354: hr_utility.raise_error;
1355: end if;
1356: ELSE
1357: if (p_to_pay_plan = 'WG') and

Line 1354: hr_utility.raise_error;

1350: '09', '10', '11', '12', '13', '14', '15') and
1351: p_to_grade_or_level is not null then
1352: hr_utility.set_message(8301, 'GHR_37230_ALL_PROCEDURE_FAIL');
1353: hr_utility.set_message_token('PAY_PLAN','WG or XF');
1354: hr_utility.raise_error;
1355: end if;
1356: ELSE
1357: if (p_to_pay_plan = 'WG') and
1358: p_to_grade_or_level not in

Line 1362: hr_utility.set_message(8301, 'GHR_37230_ALL_PROCEDURE_FAIL');

1358: p_to_grade_or_level not in
1359: ('01', '02', '03', '04', '05', '06', '07', '08',
1360: '09', '10', '11', '12', '13', '14', '15') and
1361: p_to_grade_or_level is not null then
1362: hr_utility.set_message(8301, 'GHR_37230_ALL_PROCEDURE_FAIL');
1363: hr_utility.set_message_token('PAY_PLAN','WG');
1364: hr_utility.raise_error;
1365: end if;
1366: END IF;

Line 1363: hr_utility.set_message_token('PAY_PLAN','WG');

1359: ('01', '02', '03', '04', '05', '06', '07', '08',
1360: '09', '10', '11', '12', '13', '14', '15') and
1361: p_to_grade_or_level is not null then
1362: hr_utility.set_message(8301, 'GHR_37230_ALL_PROCEDURE_FAIL');
1363: hr_utility.set_message_token('PAY_PLAN','WG');
1364: hr_utility.raise_error;
1365: end if;
1366: END IF;
1367:

Line 1364: hr_utility.raise_error;

1360: '09', '10', '11', '12', '13', '14', '15') and
1361: p_to_grade_or_level is not null then
1362: hr_utility.set_message(8301, 'GHR_37230_ALL_PROCEDURE_FAIL');
1363: hr_utility.set_message_token('PAY_PLAN','WG');
1364: hr_utility.raise_error;
1365: end if;
1366: END IF;
1367:
1368: -- 420.34.3

Line 1374: hr_utility.set_message(8301, 'GHR_37231_ALL_PROCEDURE_FAIL');

1370: p_to_grade_or_level not in ('01', '02', '03', '04', '05')
1371: and
1372: p_to_grade_or_level is not null
1373: then
1374: hr_utility.set_message(8301, 'GHR_37231_ALL_PROCEDURE_FAIL');
1375: hr_utility.raise_error;
1376: end if;
1377:
1378: /* Commenting the edit as per Sept.2000 patch -- refer to doc cpdf_edits_00_sep.doc

Line 1375: hr_utility.raise_error;

1371: and
1372: p_to_grade_or_level is not null
1373: then
1374: hr_utility.set_message(8301, 'GHR_37231_ALL_PROCEDURE_FAIL');
1375: hr_utility.raise_error;
1376: end if;
1377:
1378: /* Commenting the edit as per Sept.2000 patch -- refer to doc cpdf_edits_00_sep.doc
1379: -- 420.37.3

Line 1389: hr_utility.set_message(8301, 'GHR_37232_ALL_PROCEDURE_FAIL');

1385: '22', '23', '24', '25')
1386: and
1387: p_to_grade_or_level is not null
1388: then
1389: hr_utility.set_message(8301, 'GHR_37232_ALL_PROCEDURE_FAIL');
1390: hr_utility.raise_error;
1391: end if;
1392: */
1393:

Line 1390: hr_utility.raise_error;

1386: and
1387: p_to_grade_or_level is not null
1388: then
1389: hr_utility.set_message(8301, 'GHR_37232_ALL_PROCEDURE_FAIL');
1390: hr_utility.raise_error;
1391: end if;
1392: */
1393:
1394: -- 420.40.3

Line 1401: hr_utility.set_message(8301, 'GHR_37271_ALL_PROCEDURE_FAIL');

1397: if p_to_pay_plan = 'DR' and
1398: p_to_grade_or_level not in ('01', '02', '03', '04') and
1399: p_to_grade_or_level is not null
1400: then
1401: hr_utility.set_message(8301, 'GHR_37271_ALL_PROCEDURE_FAIL');
1402: hr_utility.raise_error;
1403: end if;
1404: end if;
1405:

Line 1402: hr_utility.raise_error;

1398: p_to_grade_or_level not in ('01', '02', '03', '04') and
1399: p_to_grade_or_level is not null
1400: then
1401: hr_utility.set_message(8301, 'GHR_37271_ALL_PROCEDURE_FAIL');
1402: hr_utility.raise_error;
1403: end if;
1404: end if;
1405:
1406: -- 420.41.3

Line 1416: hr_utility.set_message(8301, 'GHR_37269_ALL_PROCEDURE_FAIL');

1412: '05', '06')
1413: and
1414: p_to_grade_or_level is not null
1415: then
1416: hr_utility.set_message(8301, 'GHR_37269_ALL_PROCEDURE_FAIL');
1417: hr_utility.raise_error;
1418: end if;
1419: end if;
1420: -- 420.42.3

Line 1417: hr_utility.raise_error;

1413: and
1414: p_to_grade_or_level is not null
1415: then
1416: hr_utility.set_message(8301, 'GHR_37269_ALL_PROCEDURE_FAIL');
1417: hr_utility.raise_error;
1418: end if;
1419: end if;
1420: -- 420.42.3
1421: -- UPD 56 (Bug# 8309414) Terminating the edit eff date 13-Aug-2007

Line 1430: hr_utility.set_message(8301, 'GHR_37270_ALL_PROCEDURE_FAIL');

1426: '05')
1427: and
1428: p_to_grade_or_level is not null
1429: then
1430: hr_utility.set_message(8301, 'GHR_37270_ALL_PROCEDURE_FAIL');
1431: hr_utility.raise_error;
1432: end if;
1433: end if;
1434:

Line 1431: hr_utility.raise_error;

1427: and
1428: p_to_grade_or_level is not null
1429: then
1430: hr_utility.set_message(8301, 'GHR_37270_ALL_PROCEDURE_FAIL');
1431: hr_utility.raise_error;
1432: end if;
1433: end if;
1434:
1435: -- 420.44.3

Line 1442: hr_utility.set_message(8301, 'GHR_37233_ALL_PROCEDURE_FAIL');

1438: '05', '06', '07', '08')
1439: and
1440: p_to_grade_or_level is not null
1441: then
1442: hr_utility.set_message(8301, 'GHR_37233_ALL_PROCEDURE_FAIL');
1443: hr_utility.raise_error;
1444: end if;
1445:
1446: -- 420.45.3

Line 1443: hr_utility.raise_error;

1439: and
1440: p_to_grade_or_level is not null
1441: then
1442: hr_utility.set_message(8301, 'GHR_37233_ALL_PROCEDURE_FAIL');
1443: hr_utility.raise_error;
1444: end if;
1445:
1446: -- 420.45.3
1447: -- U58 Raju 01-jan-2010 Bug 9503972

Line 1454: hr_utility.set_message(8301, 'GHR_37234_ALL_PROCEDURE_FAIL');

1450: p_to_grade_or_level not in ('01', '02', '03', '04', '05',
1451: '06', '07', '08', '09', 'AA',
1452: 'BB', 'CC', 'DD', 'EE') and
1453: p_to_grade_or_level is not null then
1454: hr_utility.set_message(8301, 'GHR_37234_ALL_PROCEDURE_FAIL');
1455: hr_utility.set_message_token('PAY_PLAN',', AA through EE');
1456: hr_utility.raise_error;
1457: end if;
1458: ELSE

Line 1455: hr_utility.set_message_token('PAY_PLAN',', AA through EE');

1451: '06', '07', '08', '09', 'AA',
1452: 'BB', 'CC', 'DD', 'EE') and
1453: p_to_grade_or_level is not null then
1454: hr_utility.set_message(8301, 'GHR_37234_ALL_PROCEDURE_FAIL');
1455: hr_utility.set_message_token('PAY_PLAN',', AA through EE');
1456: hr_utility.raise_error;
1457: end if;
1458: ELSE
1459: if p_to_pay_plan = 'FP' and

Line 1456: hr_utility.raise_error;

1452: 'BB', 'CC', 'DD', 'EE') and
1453: p_to_grade_or_level is not null then
1454: hr_utility.set_message(8301, 'GHR_37234_ALL_PROCEDURE_FAIL');
1455: hr_utility.set_message_token('PAY_PLAN',', AA through EE');
1456: hr_utility.raise_error;
1457: end if;
1458: ELSE
1459: if p_to_pay_plan = 'FP' and
1460: p_to_grade_or_level not in ('01', '02', '03', '04', '05',

Line 1463: hr_utility.set_message(8301, 'GHR_37234_ALL_PROCEDURE_FAIL');

1459: if p_to_pay_plan = 'FP' and
1460: p_to_grade_or_level not in ('01', '02', '03', '04', '05',
1461: '06', '07', '08', '09') and
1462: p_to_grade_or_level is not null then
1463: hr_utility.set_message(8301, 'GHR_37234_ALL_PROCEDURE_FAIL');
1464: hr_utility.set_message_token('PAY_PLAN','');
1465: hr_utility.raise_error;
1466: end if;
1467: END IF;

Line 1464: hr_utility.set_message_token('PAY_PLAN','');

1460: p_to_grade_or_level not in ('01', '02', '03', '04', '05',
1461: '06', '07', '08', '09') and
1462: p_to_grade_or_level is not null then
1463: hr_utility.set_message(8301, 'GHR_37234_ALL_PROCEDURE_FAIL');
1464: hr_utility.set_message_token('PAY_PLAN','');
1465: hr_utility.raise_error;
1466: end if;
1467: END IF;
1468:

Line 1465: hr_utility.raise_error;

1461: '06', '07', '08', '09') and
1462: p_to_grade_or_level is not null then
1463: hr_utility.set_message(8301, 'GHR_37234_ALL_PROCEDURE_FAIL');
1464: hr_utility.set_message_token('PAY_PLAN','');
1465: hr_utility.raise_error;
1466: end if;
1467: END IF;
1468:
1469: -- 420.47.3

Line 1476: hr_utility.set_message(8301, 'GHR_37235_ALL_PROCEDURE_FAIL');

1472: '01', '02', '03')
1473: and
1474: p_to_grade_or_level is not null
1475: then
1476: hr_utility.set_message(8301, 'GHR_37235_ALL_PROCEDURE_FAIL');
1477: hr_utility.raise_error;
1478: end if;
1479:
1480: -- 420.50.3

Line 1477: hr_utility.raise_error;

1473: and
1474: p_to_grade_or_level is not null
1475: then
1476: hr_utility.set_message(8301, 'GHR_37235_ALL_PROCEDURE_FAIL');
1477: hr_utility.raise_error;
1478: end if;
1479:
1480: -- 420.50.3
1481: -- U58 Raju 31-Dec-2009 Bug 9503972 Terminate the Edit

Line 1486: hr_utility.set_message(8301, 'GHR_37236_ALL_PROCEDURE_FAIL');

1482: if p_effective_date < fnd_date.canonical_to_date('2009/12/31') then
1483: if p_to_pay_plan = 'AF' and
1484: p_to_grade_or_level not in ('AA', 'BB', 'CC', 'DD', 'EE') and
1485: p_to_grade_or_level is not null then
1486: hr_utility.set_message(8301, 'GHR_37236_ALL_PROCEDURE_FAIL');
1487: hr_utility.raise_error;
1488: end if;
1489: end if;
1490:

Line 1487: hr_utility.raise_error;

1483: if p_to_pay_plan = 'AF' and
1484: p_to_grade_or_level not in ('AA', 'BB', 'CC', 'DD', 'EE') and
1485: p_to_grade_or_level is not null then
1486: hr_utility.set_message(8301, 'GHR_37236_ALL_PROCEDURE_FAIL');
1487: hr_utility.raise_error;
1488: end if;
1489: end if;
1490:
1491: -- 420.51.3

Line 1499: hr_utility.set_message(8301, 'GHR_37237_ALL_PROCEDURE_FAIL');

1495: p_to_grade_or_level not in ('13', '14','15')
1496: and
1497: p_to_grade_or_level is not null
1498: then
1499: hr_utility.set_message(8301, 'GHR_37237_ALL_PROCEDURE_FAIL');
1500: hr_utility.raise_error;
1501: end if;
1502: end if;
1503:

Line 1500: hr_utility.raise_error;

1496: and
1497: p_to_grade_or_level is not null
1498: then
1499: hr_utility.set_message(8301, 'GHR_37237_ALL_PROCEDURE_FAIL');
1500: hr_utility.raise_error;
1501: end if;
1502: end if;
1503:
1504: -- 420.52.3

Line 1513: hr_utility.set_message(8301, 'GHR_37238_ALL_PROCEDURE_FAIL');

1509: '07', '08', '09', '10','11', '12', '13', '14', '15')
1510: and
1511: p_to_grade_or_level is not null
1512: then
1513: hr_utility.set_message(8301, 'GHR_37238_ALL_PROCEDURE_FAIL');
1514: hr_utility.raise_error;
1515: end if;
1516: end if;
1517:

Line 1514: hr_utility.raise_error;

1510: and
1511: p_to_grade_or_level is not null
1512: then
1513: hr_utility.set_message(8301, 'GHR_37238_ALL_PROCEDURE_FAIL');
1514: hr_utility.raise_error;
1515: end if;
1516: end if;
1517:
1518: -- 420.53.3

Line 1527: hr_utility.set_message(8301, 'GHR_37239_ALL_PROCEDURE_FAIL');

1523: '09', '10', '11', '12', '13', '14')
1524: and
1525: p_to_grade_or_level is not null
1526: then
1527: hr_utility.set_message(8301, 'GHR_37239_ALL_PROCEDURE_FAIL');
1528: hr_utility.raise_error;
1529: end if;
1530: end if;
1531:

Line 1528: hr_utility.raise_error;

1524: and
1525: p_to_grade_or_level is not null
1526: then
1527: hr_utility.set_message(8301, 'GHR_37239_ALL_PROCEDURE_FAIL');
1528: hr_utility.raise_error;
1529: end if;
1530: end if;
1531:
1532: -- 420.55.3

Line 1538: hr_utility.set_message(8301, 'GHR_37240_ALL_PROCEDURE_FAIL');

1534: p_to_grade_or_level not in ('01', '02', '03')
1535: and
1536: p_to_grade_or_level is not null
1537: then
1538: hr_utility.set_message(8301, 'GHR_37240_ALL_PROCEDURE_FAIL');
1539: hr_utility.raise_error;
1540: end if;
1541:
1542: -- 420.59.2

Line 1539: hr_utility.raise_error;

1535: and
1536: p_to_grade_or_level is not null
1537: then
1538: hr_utility.set_message(8301, 'GHR_37240_ALL_PROCEDURE_FAIL');
1539: hr_utility.raise_error;
1540: end if;
1541:
1542: -- 420.59.2
1543: if (

Line 1556: hr_utility.set_message(8301, 'GHR_37241_ALL_PROCEDURE_FAIL');

1552: '08', '09', '10', '11')
1553: and
1554: p_to_grade_or_level is not null
1555: then
1556: hr_utility.set_message(8301, 'GHR_37241_ALL_PROCEDURE_FAIL');
1557: hr_utility.raise_error;
1558: end if;
1559:
1560: -- 420.60.3

Line 1557: hr_utility.raise_error;

1553: and
1554: p_to_grade_or_level is not null
1555: then
1556: hr_utility.set_message(8301, 'GHR_37241_ALL_PROCEDURE_FAIL');
1557: hr_utility.raise_error;
1558: end if;
1559:
1560: -- 420.60.3
1561: -- UPD 56 (Bug# 8309414) Terminating the edit eff date 13-Aug-2007

Line 1568: hr_utility.set_message(8301, 'GHR_37242_ALL_PROCEDURE_FAIL');

1564: p_to_grade_or_level <>'00'
1565: and
1566: p_to_grade_or_level is not null
1567: then
1568: hr_utility.set_message(8301, 'GHR_37242_ALL_PROCEDURE_FAIL');
1569: hr_utility.raise_error;
1570: end if;
1571: end if;
1572:

Line 1569: hr_utility.raise_error;

1565: and
1566: p_to_grade_or_level is not null
1567: then
1568: hr_utility.set_message(8301, 'GHR_37242_ALL_PROCEDURE_FAIL');
1569: hr_utility.raise_error;
1570: end if;
1571: end if;
1572:
1573: -- 420.65.3

Line 1580: hr_utility.set_message(8301, 'GHR_37243_ALL_PROCEDURE_FAIL');

1576: ('01', '02', '03', '04', '05', '06', '07', '08',
1577: '09', '10', '11', '12', '13', '14', '15', 'SL') or
1578: p_to_grade_or_level is null)
1579: then
1580: hr_utility.set_message(8301, 'GHR_37243_ALL_PROCEDURE_FAIL');
1581: hr_utility.raise_error;
1582: end if;
1583:
1584: -- 420.70.3

Line 1581: hr_utility.raise_error;

1577: '09', '10', '11', '12', '13', '14', '15', 'SL') or
1578: p_to_grade_or_level is null)
1579: then
1580: hr_utility.set_message(8301, 'GHR_37243_ALL_PROCEDURE_FAIL');
1581: hr_utility.raise_error;
1582: end if;
1583:
1584: -- 420.70.3
1585: if p_to_pay_plan = 'GH' and

Line 1589: hr_utility.set_message(8301, 'GHR_37244_ALL_PROCEDURE_FAIL');

1585: if p_to_pay_plan = 'GH' and
1586: not (p_to_grade_or_level in ('13', '14', '15') or
1587: p_to_grade_or_level is null)
1588: then
1589: hr_utility.set_message(8301, 'GHR_37244_ALL_PROCEDURE_FAIL');
1590: hr_utility.raise_error;
1591: end if;
1592:
1593: -- 420.73.3

Line 1590: hr_utility.raise_error;

1586: not (p_to_grade_or_level in ('13', '14', '15') or
1587: p_to_grade_or_level is null)
1588: then
1589: hr_utility.set_message(8301, 'GHR_37244_ALL_PROCEDURE_FAIL');
1590: hr_utility.raise_error;
1591: end if;
1592:
1593: -- 420.73.3
1594: -- UPD 56 (Bug# 8309414) Terminating the edit eff date 13-Aug-2007

Line 1601: hr_utility.set_message(8301, 'GHR_37245_ALL_PROCEDURE_FAIL');

1597: p_to_grade_or_level not in ('01', '02', '03', '04')
1598: and
1599: p_to_grade_or_level is not null
1600: then
1601: hr_utility.set_message(8301, 'GHR_37245_ALL_PROCEDURE_FAIL');
1602: hr_utility.raise_error;
1603: end if;
1604: end if;
1605:

Line 1602: hr_utility.raise_error;

1598: and
1599: p_to_grade_or_level is not null
1600: then
1601: hr_utility.set_message(8301, 'GHR_37245_ALL_PROCEDURE_FAIL');
1602: hr_utility.raise_error;
1603: end if;
1604: end if;
1605:
1606: --420.74.3

Line 1619: hr_utility.set_message(8301, 'GHR_37067_ALL_PROCEDURE_FAIL');

1615: p_to_grade_or_level not in ('01', '02', '03')
1616: and
1617: p_to_grade_or_level is not null
1618: then
1619: hr_utility.set_message(8301, 'GHR_37067_ALL_PROCEDURE_FAIL');
1620: hr_utility.raise_error;
1621: end if;
1622: end if;
1623: end if;

Line 1620: hr_utility.raise_error;

1616: and
1617: p_to_grade_or_level is not null
1618: then
1619: hr_utility.set_message(8301, 'GHR_37067_ALL_PROCEDURE_FAIL');
1620: hr_utility.raise_error;
1621: end if;
1622: end if;
1623: end if;
1624:

Line 1639: hr_utility.set_message(8301, 'GHR_37068_ALL_PROCEDURE_FAIL');

1635: p_to_grade_or_level not in ('01', '02', '03','04','05')
1636: and
1637: p_to_grade_or_level is not null
1638: then
1639: hr_utility.set_message(8301, 'GHR_37068_ALL_PROCEDURE_FAIL');
1640: hr_utility.raise_error;
1641: end if;
1642: end if;
1643: end if;

Line 1640: hr_utility.raise_error;

1636: and
1637: p_to_grade_or_level is not null
1638: then
1639: hr_utility.set_message(8301, 'GHR_37068_ALL_PROCEDURE_FAIL');
1640: hr_utility.raise_error;
1641: end if;
1642: end if;
1643: end if;
1644:

Line 1657: hr_utility.set_message(8301, 'GHR_37069_ALL_PROCEDURE_FAIL');

1653: p_to_grade_or_level not in ('01', '02', '03','04','05')
1654: and
1655: p_to_grade_or_level is not null
1656: then
1657: hr_utility.set_message(8301, 'GHR_37069_ALL_PROCEDURE_FAIL');
1658: hr_utility.raise_error;
1659: end if;
1660: end if;
1661: end if;

Line 1658: hr_utility.raise_error;

1654: and
1655: p_to_grade_or_level is not null
1656: then
1657: hr_utility.set_message(8301, 'GHR_37069_ALL_PROCEDURE_FAIL');
1658: hr_utility.raise_error;
1659: end if;
1660: end if;
1661: end if;
1662:

Line 1675: hr_utility.set_message(8301, 'GHR_37416_ALL_PROCEDURE_FAIL');

1671: p_to_grade_or_level not in ('01', '02')
1672: and
1673: p_to_grade_or_level is not null
1674: then
1675: hr_utility.set_message(8301, 'GHR_37416_ALL_PROCEDURE_FAIL');
1676: hr_utility.raise_error;
1677: end if;
1678: end if;
1679:

Line 1676: hr_utility.raise_error;

1672: and
1673: p_to_grade_or_level is not null
1674: then
1675: hr_utility.set_message(8301, 'GHR_37416_ALL_PROCEDURE_FAIL');
1676: hr_utility.raise_error;
1677: end if;
1678: end if;
1679:
1680: --420.78.3

Line 1692: hr_utility.set_message(8301, 'GHR_37417_ALL_PROCEDURE_FAIL');

1688: p_to_grade_or_level not in ('01', '02','03','04','05','06','07','08','09')
1689: and
1690: p_to_grade_or_level is not null
1691: then
1692: hr_utility.set_message(8301, 'GHR_37417_ALL_PROCEDURE_FAIL');
1693: hr_utility.raise_error;
1694: end if;
1695: end if;
1696: end if;

Line 1693: hr_utility.raise_error;

1689: and
1690: p_to_grade_or_level is not null
1691: then
1692: hr_utility.set_message(8301, 'GHR_37417_ALL_PROCEDURE_FAIL');
1693: hr_utility.raise_error;
1694: end if;
1695: end if;
1696: end if;
1697: -- Begin Bug# 5073313

Line 1706: hr_utility.set_message(8301, 'GHR_37426_ALL_PROCEDURE_FAIL');

1702: if p_to_pay_plan in ('GL') and
1703: p_to_grade_or_level not in ('03','04','05','06','07','08','09','10') and
1704: p_to_grade_or_level is not null
1705: then
1706: hr_utility.set_message(8301, 'GHR_37426_ALL_PROCEDURE_FAIL');
1707: hr_utility.raise_error;
1708: end if;
1709: end if;
1710: -- End Bug# 5073313

Line 1707: hr_utility.raise_error;

1703: p_to_grade_or_level not in ('03','04','05','06','07','08','09','10') and
1704: p_to_grade_or_level is not null
1705: then
1706: hr_utility.set_message(8301, 'GHR_37426_ALL_PROCEDURE_FAIL');
1707: hr_utility.raise_error;
1708: end if;
1709: end if;
1710: -- End Bug# 5073313
1711: --Begin Bug# 5745356

Line 1717: hr_utility.set_message(8301, 'GHR_37584_ALL_PROCEDURE_FAIL');

1713: If p_effective_date >= to_date('2006/10/01', 'yyyy/mm/dd') then
1714: if p_to_pay_plan in ('GL') and
1715: p_to_grade_or_level > '10' and
1716: p_to_grade_or_level is not null then
1717: hr_utility.set_message(8301, 'GHR_37584_ALL_PROCEDURE_FAIL');
1718: hr_utility.raise_error;
1719: end if;
1720: end if;
1721: --End Bug# 5745356

Line 1718: hr_utility.raise_error;

1714: if p_to_pay_plan in ('GL') and
1715: p_to_grade_or_level > '10' and
1716: p_to_grade_or_level is not null then
1717: hr_utility.set_message(8301, 'GHR_37584_ALL_PROCEDURE_FAIL');
1718: hr_utility.raise_error;
1719: end if;
1720: end if;
1721: --End Bug# 5745356
1722:

Line 1895: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1891: -- UPD 56 8309414 Raju From 1-apr-08 Remove MG
1892: -- UPD 59 10189715 Raju From 01-Sep-10 Remove Hx except HU
1893: ----------------------------------------------------------------------------------------------------------------
1894: if (p_to_pay_plan = 'AJ' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1895: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1896: hr_utility.set_message_token('PAY_PLAN','AJ');
1897: hr_utility.set_message_token('AGENCY_CODE','NU');
1898: hr_utility.raise_error;
1899: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then

Line 1896: hr_utility.set_message_token('PAY_PLAN','AJ');

1892: -- UPD 59 10189715 Raju From 01-Sep-10 Remove Hx except HU
1893: ----------------------------------------------------------------------------------------------------------------
1894: if (p_to_pay_plan = 'AJ' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1895: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1896: hr_utility.set_message_token('PAY_PLAN','AJ');
1897: hr_utility.set_message_token('AGENCY_CODE','NU');
1898: hr_utility.raise_error;
1899: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then
1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1897: hr_utility.set_message_token('AGENCY_CODE','NU');

1893: ----------------------------------------------------------------------------------------------------------------
1894: if (p_to_pay_plan = 'AJ' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1895: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1896: hr_utility.set_message_token('PAY_PLAN','AJ');
1897: hr_utility.set_message_token('AGENCY_CODE','NU');
1898: hr_utility.raise_error;
1899: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then
1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1901: hr_utility.set_message_token('PAY_PLAN','CE');

Line 1898: hr_utility.raise_error;

1894: if (p_to_pay_plan = 'AJ' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1895: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1896: hr_utility.set_message_token('PAY_PLAN','AJ');
1897: hr_utility.set_message_token('AGENCY_CODE','NU');
1898: hr_utility.raise_error;
1899: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then
1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1901: hr_utility.set_message_token('PAY_PLAN','CE');
1902: hr_utility.set_message_token('AGENCY_CODE','IN06');

Line 1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1896: hr_utility.set_message_token('PAY_PLAN','AJ');
1897: hr_utility.set_message_token('AGENCY_CODE','NU');
1898: hr_utility.raise_error;
1899: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then
1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1901: hr_utility.set_message_token('PAY_PLAN','CE');
1902: hr_utility.set_message_token('AGENCY_CODE','IN06');
1903: hr_utility.raise_error;
1904: elsif ( p_to_pay_plan in ('VE') and

Line 1901: hr_utility.set_message_token('PAY_PLAN','CE');

1897: hr_utility.set_message_token('AGENCY_CODE','NU');
1898: hr_utility.raise_error;
1899: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then
1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1901: hr_utility.set_message_token('PAY_PLAN','CE');
1902: hr_utility.set_message_token('AGENCY_CODE','IN06');
1903: hr_utility.raise_error;
1904: elsif ( p_to_pay_plan in ('VE') and
1905: substr(p_agency_subelement,1,2) <> 'VA' ) then

Line 1902: hr_utility.set_message_token('AGENCY_CODE','IN06');

1898: hr_utility.raise_error;
1899: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then
1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1901: hr_utility.set_message_token('PAY_PLAN','CE');
1902: hr_utility.set_message_token('AGENCY_CODE','IN06');
1903: hr_utility.raise_error;
1904: elsif ( p_to_pay_plan in ('VE') and
1905: substr(p_agency_subelement,1,2) <> 'VA' ) then
1906: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1903: hr_utility.raise_error;

1899: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then
1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1901: hr_utility.set_message_token('PAY_PLAN','CE');
1902: hr_utility.set_message_token('AGENCY_CODE','IN06');
1903: hr_utility.raise_error;
1904: elsif ( p_to_pay_plan in ('VE') and
1905: substr(p_agency_subelement,1,2) <> 'VA' ) then
1906: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1907: hr_utility.set_message_token('PAY_PLAN','in VE');

Line 1906: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1902: hr_utility.set_message_token('AGENCY_CODE','IN06');
1903: hr_utility.raise_error;
1904: elsif ( p_to_pay_plan in ('VE') and
1905: substr(p_agency_subelement,1,2) <> 'VA' ) then
1906: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1907: hr_utility.set_message_token('PAY_PLAN','in VE');
1908: hr_utility.set_message_token('AGENCY_CODE','VA');
1909: hr_utility.raise_error;
1910: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then

Line 1907: hr_utility.set_message_token('PAY_PLAN','in VE');

1903: hr_utility.raise_error;
1904: elsif ( p_to_pay_plan in ('VE') and
1905: substr(p_agency_subelement,1,2) <> 'VA' ) then
1906: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1907: hr_utility.set_message_token('PAY_PLAN','in VE');
1908: hr_utility.set_message_token('AGENCY_CODE','VA');
1909: hr_utility.raise_error;
1910: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then
1911: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1908: hr_utility.set_message_token('AGENCY_CODE','VA');

1904: elsif ( p_to_pay_plan in ('VE') and
1905: substr(p_agency_subelement,1,2) <> 'VA' ) then
1906: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1907: hr_utility.set_message_token('PAY_PLAN','in VE');
1908: hr_utility.set_message_token('AGENCY_CODE','VA');
1909: hr_utility.raise_error;
1910: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then
1911: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1912: hr_utility.set_message_token('PAY_PLAN','NB');

Line 1909: hr_utility.raise_error;

1905: substr(p_agency_subelement,1,2) <> 'VA' ) then
1906: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1907: hr_utility.set_message_token('PAY_PLAN','in VE');
1908: hr_utility.set_message_token('AGENCY_CODE','VA');
1909: hr_utility.raise_error;
1910: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then
1911: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1912: hr_utility.set_message_token('PAY_PLAN','NB');
1913: hr_utility.set_message_token('AGENCY_CODE','TRAJ');

Line 1911: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1907: hr_utility.set_message_token('PAY_PLAN','in VE');
1908: hr_utility.set_message_token('AGENCY_CODE','VA');
1909: hr_utility.raise_error;
1910: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then
1911: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1912: hr_utility.set_message_token('PAY_PLAN','NB');
1913: hr_utility.set_message_token('AGENCY_CODE','TRAJ');
1914: hr_utility.raise_error;
1915: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then

Line 1912: hr_utility.set_message_token('PAY_PLAN','NB');

1908: hr_utility.set_message_token('AGENCY_CODE','VA');
1909: hr_utility.raise_error;
1910: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then
1911: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1912: hr_utility.set_message_token('PAY_PLAN','NB');
1913: hr_utility.set_message_token('AGENCY_CODE','TRAJ');
1914: hr_utility.raise_error;
1915: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then
1916: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1913: hr_utility.set_message_token('AGENCY_CODE','TRAJ');

1909: hr_utility.raise_error;
1910: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then
1911: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1912: hr_utility.set_message_token('PAY_PLAN','NB');
1913: hr_utility.set_message_token('AGENCY_CODE','TRAJ');
1914: hr_utility.raise_error;
1915: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then
1916: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1917: hr_utility.set_message_token('PAY_PLAN','IR');

Line 1914: hr_utility.raise_error;

1910: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then
1911: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1912: hr_utility.set_message_token('PAY_PLAN','NB');
1913: hr_utility.set_message_token('AGENCY_CODE','TRAJ');
1914: hr_utility.raise_error;
1915: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then
1916: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1917: hr_utility.set_message_token('PAY_PLAN','IR');
1918: hr_utility.set_message_token('AGENCY_CODE','TR93');

Line 1916: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1912: hr_utility.set_message_token('PAY_PLAN','NB');
1913: hr_utility.set_message_token('AGENCY_CODE','TRAJ');
1914: hr_utility.raise_error;
1915: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then
1916: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1917: hr_utility.set_message_token('PAY_PLAN','IR');
1918: hr_utility.set_message_token('AGENCY_CODE','TR93');
1919: hr_utility.raise_error;
1920: elsif ( p_to_pay_plan in ('CB','CF','CH','CI','CJ','CL','CM') and

Line 1917: hr_utility.set_message_token('PAY_PLAN','IR');

1913: hr_utility.set_message_token('AGENCY_CODE','TRAJ');
1914: hr_utility.raise_error;
1915: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then
1916: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1917: hr_utility.set_message_token('PAY_PLAN','IR');
1918: hr_utility.set_message_token('AGENCY_CODE','TR93');
1919: hr_utility.raise_error;
1920: elsif ( p_to_pay_plan in ('CB','CF','CH','CI','CJ','CL','CM') and
1921: substr(p_agency_subelement,1,2) <> 'FD' ) then

Line 1918: hr_utility.set_message_token('AGENCY_CODE','TR93');

1914: hr_utility.raise_error;
1915: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then
1916: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1917: hr_utility.set_message_token('PAY_PLAN','IR');
1918: hr_utility.set_message_token('AGENCY_CODE','TR93');
1919: hr_utility.raise_error;
1920: elsif ( p_to_pay_plan in ('CB','CF','CH','CI','CJ','CL','CM') and
1921: substr(p_agency_subelement,1,2) <> 'FD' ) then
1922: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1919: hr_utility.raise_error;

1915: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then
1916: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1917: hr_utility.set_message_token('PAY_PLAN','IR');
1918: hr_utility.set_message_token('AGENCY_CODE','TR93');
1919: hr_utility.raise_error;
1920: elsif ( p_to_pay_plan in ('CB','CF','CH','CI','CJ','CL','CM') and
1921: substr(p_agency_subelement,1,2) <> 'FD' ) then
1922: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1923: hr_utility.set_message_token('PAY_PLAN','in CB,CF,CH,CI,CJ,CL or CM');

Line 1922: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1918: hr_utility.set_message_token('AGENCY_CODE','TR93');
1919: hr_utility.raise_error;
1920: elsif ( p_to_pay_plan in ('CB','CF','CH','CI','CJ','CL','CM') and
1921: substr(p_agency_subelement,1,2) <> 'FD' ) then
1922: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1923: hr_utility.set_message_token('PAY_PLAN','in CB,CF,CH,CI,CJ,CL or CM');
1924: hr_utility.set_message_token('AGENCY_CODE','FD');
1925: hr_utility.raise_error;
1926: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then

Line 1923: hr_utility.set_message_token('PAY_PLAN','in CB,CF,CH,CI,CJ,CL or CM');

1919: hr_utility.raise_error;
1920: elsif ( p_to_pay_plan in ('CB','CF','CH','CI','CJ','CL','CM') and
1921: substr(p_agency_subelement,1,2) <> 'FD' ) then
1922: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1923: hr_utility.set_message_token('PAY_PLAN','in CB,CF,CH,CI,CJ,CL or CM');
1924: hr_utility.set_message_token('AGENCY_CODE','FD');
1925: hr_utility.raise_error;
1926: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then
1927: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1924: hr_utility.set_message_token('AGENCY_CODE','FD');

1920: elsif ( p_to_pay_plan in ('CB','CF','CH','CI','CJ','CL','CM') and
1921: substr(p_agency_subelement,1,2) <> 'FD' ) then
1922: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1923: hr_utility.set_message_token('PAY_PLAN','in CB,CF,CH,CI,CJ,CL or CM');
1924: hr_utility.set_message_token('AGENCY_CODE','FD');
1925: hr_utility.raise_error;
1926: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then
1927: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1928: hr_utility.set_message_token('PAY_PLAN','CY');

Line 1925: hr_utility.raise_error;

1921: substr(p_agency_subelement,1,2) <> 'FD' ) then
1922: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1923: hr_utility.set_message_token('PAY_PLAN','in CB,CF,CH,CI,CJ,CL or CM');
1924: hr_utility.set_message_token('AGENCY_CODE','FD');
1925: hr_utility.raise_error;
1926: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then
1927: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1928: hr_utility.set_message_token('PAY_PLAN','CY');
1929: hr_utility.set_message_token('AGENCY_CODE','IN06');

Line 1927: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1923: hr_utility.set_message_token('PAY_PLAN','in CB,CF,CH,CI,CJ,CL or CM');
1924: hr_utility.set_message_token('AGENCY_CODE','FD');
1925: hr_utility.raise_error;
1926: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then
1927: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1928: hr_utility.set_message_token('PAY_PLAN','CY');
1929: hr_utility.set_message_token('AGENCY_CODE','IN06');
1930: hr_utility.raise_error;
1931: elsif ( p_to_pay_plan in('DB','DE','DJ','DK','DQ') and

Line 1928: hr_utility.set_message_token('PAY_PLAN','CY');

1924: hr_utility.set_message_token('AGENCY_CODE','FD');
1925: hr_utility.raise_error;
1926: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then
1927: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1928: hr_utility.set_message_token('PAY_PLAN','CY');
1929: hr_utility.set_message_token('AGENCY_CODE','IN06');
1930: hr_utility.raise_error;
1931: elsif ( p_to_pay_plan in('DB','DE','DJ','DK','DQ') and
1932: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then

Line 1929: hr_utility.set_message_token('AGENCY_CODE','IN06');

1925: hr_utility.raise_error;
1926: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then
1927: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1928: hr_utility.set_message_token('PAY_PLAN','CY');
1929: hr_utility.set_message_token('AGENCY_CODE','IN06');
1930: hr_utility.raise_error;
1931: elsif ( p_to_pay_plan in('DB','DE','DJ','DK','DQ') and
1932: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1933: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1930: hr_utility.raise_error;

1926: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then
1927: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1928: hr_utility.set_message_token('PAY_PLAN','CY');
1929: hr_utility.set_message_token('AGENCY_CODE','IN06');
1930: hr_utility.raise_error;
1931: elsif ( p_to_pay_plan in('DB','DE','DJ','DK','DQ') and
1932: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1933: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1934: hr_utility.set_message_token('PAY_PLAN','in DB,DE,DJ,DK or DQ');

Line 1933: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1929: hr_utility.set_message_token('AGENCY_CODE','IN06');
1930: hr_utility.raise_error;
1931: elsif ( p_to_pay_plan in('DB','DE','DJ','DK','DQ') and
1932: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1933: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1934: hr_utility.set_message_token('PAY_PLAN','in DB,DE,DJ,DK or DQ');
1935: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,NV or DD');
1936: hr_utility.raise_error;
1937: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then

Line 1934: hr_utility.set_message_token('PAY_PLAN','in DB,DE,DJ,DK or DQ');

1930: hr_utility.raise_error;
1931: elsif ( p_to_pay_plan in('DB','DE','DJ','DK','DQ') and
1932: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1933: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1934: hr_utility.set_message_token('PAY_PLAN','in DB,DE,DJ,DK or DQ');
1935: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,NV or DD');
1936: hr_utility.raise_error;
1937: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then
1938: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1935: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,NV or DD');

1931: elsif ( p_to_pay_plan in('DB','DE','DJ','DK','DQ') and
1932: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1933: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1934: hr_utility.set_message_token('PAY_PLAN','in DB,DE,DJ,DK or DQ');
1935: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,NV or DD');
1936: hr_utility.raise_error;
1937: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then
1938: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1939: hr_utility.set_message_token('PAY_PLAN','DR');

Line 1936: hr_utility.raise_error;

1932: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1933: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1934: hr_utility.set_message_token('PAY_PLAN','in DB,DE,DJ,DK or DQ');
1935: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,NV or DD');
1936: hr_utility.raise_error;
1937: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then
1938: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1939: hr_utility.set_message_token('PAY_PLAN','DR');
1940: hr_utility.set_message_token('AGENCY_CODE','AF');

Line 1938: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1934: hr_utility.set_message_token('PAY_PLAN','in DB,DE,DJ,DK or DQ');
1935: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,NV or DD');
1936: hr_utility.raise_error;
1937: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then
1938: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1939: hr_utility.set_message_token('PAY_PLAN','DR');
1940: hr_utility.set_message_token('AGENCY_CODE','AF');
1941: hr_utility.raise_error;
1942: elsif ( p_to_pay_plan in('DV','DZ') and

Line 1939: hr_utility.set_message_token('PAY_PLAN','DR');

1935: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,NV or DD');
1936: hr_utility.raise_error;
1937: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then
1938: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1939: hr_utility.set_message_token('PAY_PLAN','DR');
1940: hr_utility.set_message_token('AGENCY_CODE','AF');
1941: hr_utility.raise_error;
1942: elsif ( p_to_pay_plan in('DV','DZ') and
1943: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then

Line 1940: hr_utility.set_message_token('AGENCY_CODE','AF');

1936: hr_utility.raise_error;
1937: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then
1938: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1939: hr_utility.set_message_token('PAY_PLAN','DR');
1940: hr_utility.set_message_token('AGENCY_CODE','AF');
1941: hr_utility.raise_error;
1942: elsif ( p_to_pay_plan in('DV','DZ') and
1943: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1944: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1941: hr_utility.raise_error;

1937: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then
1938: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1939: hr_utility.set_message_token('PAY_PLAN','DR');
1940: hr_utility.set_message_token('AGENCY_CODE','AF');
1941: hr_utility.raise_error;
1942: elsif ( p_to_pay_plan in('DV','DZ') and
1943: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1944: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1945: hr_utility.set_message_token('PAY_PLAN','DV,DZ');

Line 1944: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1940: hr_utility.set_message_token('AGENCY_CODE','AF');
1941: hr_utility.raise_error;
1942: elsif ( p_to_pay_plan in('DV','DZ') and
1943: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1944: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1945: hr_utility.set_message_token('PAY_PLAN','DV,DZ');
1946: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1947: hr_utility.raise_error;
1948: elsif ( p_to_pay_plan in ('EJ') and substr(p_agency_subelement,1,2) NOT IN('HS','DN') )

Line 1945: hr_utility.set_message_token('PAY_PLAN','DV,DZ');

1941: hr_utility.raise_error;
1942: elsif ( p_to_pay_plan in('DV','DZ') and
1943: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1944: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1945: hr_utility.set_message_token('PAY_PLAN','DV,DZ');
1946: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1947: hr_utility.raise_error;
1948: elsif ( p_to_pay_plan in ('EJ') and substr(p_agency_subelement,1,2) NOT IN('HS','DN') )
1949: then

Line 1946: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');

1942: elsif ( p_to_pay_plan in('DV','DZ') and
1943: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1944: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1945: hr_utility.set_message_token('PAY_PLAN','DV,DZ');
1946: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1947: hr_utility.raise_error;
1948: elsif ( p_to_pay_plan in ('EJ') and substr(p_agency_subelement,1,2) NOT IN('HS','DN') )
1949: then
1950: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1947: hr_utility.raise_error;

1943: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1944: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1945: hr_utility.set_message_token('PAY_PLAN','DV,DZ');
1946: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1947: hr_utility.raise_error;
1948: elsif ( p_to_pay_plan in ('EJ') and substr(p_agency_subelement,1,2) NOT IN('HS','DN') )
1949: then
1950: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1951: hr_utility.set_message_token('PAY_PLAN','EJ');

Line 1950: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1946: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1947: hr_utility.raise_error;
1948: elsif ( p_to_pay_plan in ('EJ') and substr(p_agency_subelement,1,2) NOT IN('HS','DN') )
1949: then
1950: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1951: hr_utility.set_message_token('PAY_PLAN','EJ');
1952: hr_utility.set_message_token('AGENCY_CODE','DN or HS');
1953: hr_utility.raise_error;
1954: elsif ( p_to_pay_plan in('EK') and

Line 1951: hr_utility.set_message_token('PAY_PLAN','EJ');

1947: hr_utility.raise_error;
1948: elsif ( p_to_pay_plan in ('EJ') and substr(p_agency_subelement,1,2) NOT IN('HS','DN') )
1949: then
1950: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1951: hr_utility.set_message_token('PAY_PLAN','EJ');
1952: hr_utility.set_message_token('AGENCY_CODE','DN or HS');
1953: hr_utility.raise_error;
1954: elsif ( p_to_pay_plan in('EK') and
1955: substr(p_agency_subelement,1,2) <> 'DN' ) then

Line 1952: hr_utility.set_message_token('AGENCY_CODE','DN or HS');

1948: elsif ( p_to_pay_plan in ('EJ') and substr(p_agency_subelement,1,2) NOT IN('HS','DN') )
1949: then
1950: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1951: hr_utility.set_message_token('PAY_PLAN','EJ');
1952: hr_utility.set_message_token('AGENCY_CODE','DN or HS');
1953: hr_utility.raise_error;
1954: elsif ( p_to_pay_plan in('EK') and
1955: substr(p_agency_subelement,1,2) <> 'DN' ) then
1956: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1953: hr_utility.raise_error;

1949: then
1950: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1951: hr_utility.set_message_token('PAY_PLAN','EJ');
1952: hr_utility.set_message_token('AGENCY_CODE','DN or HS');
1953: hr_utility.raise_error;
1954: elsif ( p_to_pay_plan in('EK') and
1955: substr(p_agency_subelement,1,2) <> 'DN' ) then
1956: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1957: hr_utility.set_message_token('PAY_PLAN','EK');

Line 1956: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1952: hr_utility.set_message_token('AGENCY_CODE','DN or HS');
1953: hr_utility.raise_error;
1954: elsif ( p_to_pay_plan in('EK') and
1955: substr(p_agency_subelement,1,2) <> 'DN' ) then
1956: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1957: hr_utility.set_message_token('PAY_PLAN','EK');
1958: hr_utility.set_message_token('AGENCY_CODE','DN');
1959: hr_utility.raise_error;
1960: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and

Line 1957: hr_utility.set_message_token('PAY_PLAN','EK');

1953: hr_utility.raise_error;
1954: elsif ( p_to_pay_plan in('EK') and
1955: substr(p_agency_subelement,1,2) <> 'DN' ) then
1956: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1957: hr_utility.set_message_token('PAY_PLAN','EK');
1958: hr_utility.set_message_token('AGENCY_CODE','DN');
1959: hr_utility.raise_error;
1960: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
1961: ( p_to_pay_plan = 'FA' and

Line 1958: hr_utility.set_message_token('AGENCY_CODE','DN');

1954: elsif ( p_to_pay_plan in('EK') and
1955: substr(p_agency_subelement,1,2) <> 'DN' ) then
1956: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1957: hr_utility.set_message_token('PAY_PLAN','EK');
1958: hr_utility.set_message_token('AGENCY_CODE','DN');
1959: hr_utility.raise_error;
1960: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
1961: ( p_to_pay_plan = 'FA' and
1962: substr(p_agency_subelement,1,2) not in ('AM','ST') ) then

Line 1959: hr_utility.raise_error;

1955: substr(p_agency_subelement,1,2) <> 'DN' ) then
1956: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1957: hr_utility.set_message_token('PAY_PLAN','EK');
1958: hr_utility.set_message_token('AGENCY_CODE','DN');
1959: hr_utility.raise_error;
1960: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
1961: ( p_to_pay_plan = 'FA' and
1962: substr(p_agency_subelement,1,2) not in ('AM','ST') ) then
1963: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1963: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1959: hr_utility.raise_error;
1960: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
1961: ( p_to_pay_plan = 'FA' and
1962: substr(p_agency_subelement,1,2) not in ('AM','ST') ) then
1963: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1964: hr_utility.set_message_token('PAY_PLAN','FA');
1965: hr_utility.set_message_token('AGENCY_CODE','AM,ST');
1966: hr_utility.raise_error;
1967: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and

Line 1964: hr_utility.set_message_token('PAY_PLAN','FA');

1960: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
1961: ( p_to_pay_plan = 'FA' and
1962: substr(p_agency_subelement,1,2) not in ('AM','ST') ) then
1963: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1964: hr_utility.set_message_token('PAY_PLAN','FA');
1965: hr_utility.set_message_token('AGENCY_CODE','AM,ST');
1966: hr_utility.raise_error;
1967: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
1968: ( p_to_pay_plan = 'FA' and

Line 1965: hr_utility.set_message_token('AGENCY_CODE','AM,ST');

1961: ( p_to_pay_plan = 'FA' and
1962: substr(p_agency_subelement,1,2) not in ('AM','ST') ) then
1963: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1964: hr_utility.set_message_token('PAY_PLAN','FA');
1965: hr_utility.set_message_token('AGENCY_CODE','AM,ST');
1966: hr_utility.raise_error;
1967: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
1968: ( p_to_pay_plan = 'FA' and
1969: substr(p_agency_subelement,1,2) not in ('AM') ) then

Line 1966: hr_utility.raise_error;

1962: substr(p_agency_subelement,1,2) not in ('AM','ST') ) then
1963: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1964: hr_utility.set_message_token('PAY_PLAN','FA');
1965: hr_utility.set_message_token('AGENCY_CODE','AM,ST');
1966: hr_utility.raise_error;
1967: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
1968: ( p_to_pay_plan = 'FA' and
1969: substr(p_agency_subelement,1,2) not in ('AM') ) then
1970: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1970: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1966: hr_utility.raise_error;
1967: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
1968: ( p_to_pay_plan = 'FA' and
1969: substr(p_agency_subelement,1,2) not in ('AM') ) then
1970: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1971: hr_utility.set_message_token('PAY_PLAN','FA');
1972: hr_utility.set_message_token('AGENCY_CODE','AM');
1973: hr_utility.raise_error;
1974: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then

Line 1971: hr_utility.set_message_token('PAY_PLAN','FA');

1967: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
1968: ( p_to_pay_plan = 'FA' and
1969: substr(p_agency_subelement,1,2) not in ('AM') ) then
1970: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1971: hr_utility.set_message_token('PAY_PLAN','FA');
1972: hr_utility.set_message_token('AGENCY_CODE','AM');
1973: hr_utility.raise_error;
1974: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then
1975: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1972: hr_utility.set_message_token('AGENCY_CODE','AM');

1968: ( p_to_pay_plan = 'FA' and
1969: substr(p_agency_subelement,1,2) not in ('AM') ) then
1970: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1971: hr_utility.set_message_token('PAY_PLAN','FA');
1972: hr_utility.set_message_token('AGENCY_CODE','AM');
1973: hr_utility.raise_error;
1974: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then
1975: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1976: hr_utility.set_message_token('PAY_PLAN','FB');

Line 1973: hr_utility.raise_error;

1969: substr(p_agency_subelement,1,2) not in ('AM') ) then
1970: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1971: hr_utility.set_message_token('PAY_PLAN','FA');
1972: hr_utility.set_message_token('AGENCY_CODE','AM');
1973: hr_utility.raise_error;
1974: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then
1975: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1976: hr_utility.set_message_token('PAY_PLAN','FB');
1977: hr_utility.set_message_token('AGENCY_CODE','TD03');

Line 1975: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1971: hr_utility.set_message_token('PAY_PLAN','FA');
1972: hr_utility.set_message_token('AGENCY_CODE','AM');
1973: hr_utility.raise_error;
1974: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then
1975: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1976: hr_utility.set_message_token('PAY_PLAN','FB');
1977: hr_utility.set_message_token('AGENCY_CODE','TD03');
1978: hr_utility.raise_error;
1979: elsif ( p_to_pay_plan = 'FD' and

Line 1976: hr_utility.set_message_token('PAY_PLAN','FB');

1972: hr_utility.set_message_token('AGENCY_CODE','AM');
1973: hr_utility.raise_error;
1974: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then
1975: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1976: hr_utility.set_message_token('PAY_PLAN','FB');
1977: hr_utility.set_message_token('AGENCY_CODE','TD03');
1978: hr_utility.raise_error;
1979: elsif ( p_to_pay_plan = 'FD' and
1980: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then

Line 1977: hr_utility.set_message_token('AGENCY_CODE','TD03');

1973: hr_utility.raise_error;
1974: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then
1975: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1976: hr_utility.set_message_token('PAY_PLAN','FB');
1977: hr_utility.set_message_token('AGENCY_CODE','TD03');
1978: hr_utility.raise_error;
1979: elsif ( p_to_pay_plan = 'FD' and
1980: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1981: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1978: hr_utility.raise_error;

1974: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then
1975: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1976: hr_utility.set_message_token('PAY_PLAN','FB');
1977: hr_utility.set_message_token('AGENCY_CODE','TD03');
1978: hr_utility.raise_error;
1979: elsif ( p_to_pay_plan = 'FD' and
1980: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1981: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1982: hr_utility.set_message_token('PAY_PLAN','FD');

Line 1981: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1977: hr_utility.set_message_token('AGENCY_CODE','TD03');
1978: hr_utility.raise_error;
1979: elsif ( p_to_pay_plan = 'FD' and
1980: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1981: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1982: hr_utility.set_message_token('PAY_PLAN','FD');
1983: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1984: hr_utility.raise_error;
1985: elsif ( p_to_pay_plan in('FF','FG','FJ','FL','FM') and

Line 1982: hr_utility.set_message_token('PAY_PLAN','FD');

1978: hr_utility.raise_error;
1979: elsif ( p_to_pay_plan = 'FD' and
1980: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1981: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1982: hr_utility.set_message_token('PAY_PLAN','FD');
1983: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1984: hr_utility.raise_error;
1985: elsif ( p_to_pay_plan in('FF','FG','FJ','FL','FM') and
1986: p_agency_subelement <> 'TD03' ) then

Line 1983: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');

1979: elsif ( p_to_pay_plan = 'FD' and
1980: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1981: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1982: hr_utility.set_message_token('PAY_PLAN','FD');
1983: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1984: hr_utility.raise_error;
1985: elsif ( p_to_pay_plan in('FF','FG','FJ','FL','FM') and
1986: p_agency_subelement <> 'TD03' ) then
1987: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1984: hr_utility.raise_error;

1980: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1981: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1982: hr_utility.set_message_token('PAY_PLAN','FD');
1983: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1984: hr_utility.raise_error;
1985: elsif ( p_to_pay_plan in('FF','FG','FJ','FL','FM') and
1986: p_agency_subelement <> 'TD03' ) then
1987: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1988: hr_utility.set_message_token('PAY_PLAN','FF,FG,FJ,FL or FM');

Line 1987: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1983: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1984: hr_utility.raise_error;
1985: elsif ( p_to_pay_plan in('FF','FG','FJ','FL','FM') and
1986: p_agency_subelement <> 'TD03' ) then
1987: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1988: hr_utility.set_message_token('PAY_PLAN','FF,FG,FJ,FL or FM');
1989: hr_utility.set_message_token('AGENCY_CODE','TD03');
1990: hr_utility.raise_error;
1991: elsif ( p_to_pay_plan in('FN','FS','FT','FW','FX')

Line 1988: hr_utility.set_message_token('PAY_PLAN','FF,FG,FJ,FL or FM');

1984: hr_utility.raise_error;
1985: elsif ( p_to_pay_plan in('FF','FG','FJ','FL','FM') and
1986: p_agency_subelement <> 'TD03' ) then
1987: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1988: hr_utility.set_message_token('PAY_PLAN','FF,FG,FJ,FL or FM');
1989: hr_utility.set_message_token('AGENCY_CODE','TD03');
1990: hr_utility.raise_error;
1991: elsif ( p_to_pay_plan in('FN','FS','FT','FW','FX')
1992: and p_agency_subelement <> 'TD03' ) then

Line 1989: hr_utility.set_message_token('AGENCY_CODE','TD03');

1985: elsif ( p_to_pay_plan in('FF','FG','FJ','FL','FM') and
1986: p_agency_subelement <> 'TD03' ) then
1987: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1988: hr_utility.set_message_token('PAY_PLAN','FF,FG,FJ,FL or FM');
1989: hr_utility.set_message_token('AGENCY_CODE','TD03');
1990: hr_utility.raise_error;
1991: elsif ( p_to_pay_plan in('FN','FS','FT','FW','FX')
1992: and p_agency_subelement <> 'TD03' ) then
1993: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1990: hr_utility.raise_error;

1986: p_agency_subelement <> 'TD03' ) then
1987: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1988: hr_utility.set_message_token('PAY_PLAN','FF,FG,FJ,FL or FM');
1989: hr_utility.set_message_token('AGENCY_CODE','TD03');
1990: hr_utility.raise_error;
1991: elsif ( p_to_pay_plan in('FN','FS','FT','FW','FX')
1992: and p_agency_subelement <> 'TD03' ) then
1993: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1994: hr_utility.set_message_token('PAY_PLAN','FN,FS,FT,FW or FX');

Line 1993: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1989: hr_utility.set_message_token('AGENCY_CODE','TD03');
1990: hr_utility.raise_error;
1991: elsif ( p_to_pay_plan in('FN','FS','FT','FW','FX')
1992: and p_agency_subelement <> 'TD03' ) then
1993: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1994: hr_utility.set_message_token('PAY_PLAN','FN,FS,FT,FW or FX');
1995: hr_utility.set_message_token('AGENCY_CODE','TD03');
1996: hr_utility.raise_error;
1997: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then

Line 1994: hr_utility.set_message_token('PAY_PLAN','FN,FS,FT,FW or FX');

1990: hr_utility.raise_error;
1991: elsif ( p_to_pay_plan in('FN','FS','FT','FW','FX')
1992: and p_agency_subelement <> 'TD03' ) then
1993: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1994: hr_utility.set_message_token('PAY_PLAN','FN,FS,FT,FW or FX');
1995: hr_utility.set_message_token('AGENCY_CODE','TD03');
1996: hr_utility.raise_error;
1997: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then
1998: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1995: hr_utility.set_message_token('AGENCY_CODE','TD03');

1991: elsif ( p_to_pay_plan in('FN','FS','FT','FW','FX')
1992: and p_agency_subelement <> 'TD03' ) then
1993: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1994: hr_utility.set_message_token('PAY_PLAN','FN,FS,FT,FW or FX');
1995: hr_utility.set_message_token('AGENCY_CODE','TD03');
1996: hr_utility.raise_error;
1997: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then
1998: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1999: hr_utility.set_message_token('PAY_PLAN','GN');

Line 1996: hr_utility.raise_error;

1992: and p_agency_subelement <> 'TD03' ) then
1993: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1994: hr_utility.set_message_token('PAY_PLAN','FN,FS,FT,FW or FX');
1995: hr_utility.set_message_token('AGENCY_CODE','TD03');
1996: hr_utility.raise_error;
1997: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then
1998: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1999: hr_utility.set_message_token('PAY_PLAN','GN');
2000: hr_utility.set_message_token('AGENCY_CODE','HE38');

Line 1998: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1994: hr_utility.set_message_token('PAY_PLAN','FN,FS,FT,FW or FX');
1995: hr_utility.set_message_token('AGENCY_CODE','TD03');
1996: hr_utility.raise_error;
1997: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then
1998: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1999: hr_utility.set_message_token('PAY_PLAN','GN');
2000: hr_utility.set_message_token('AGENCY_CODE','HE38');
2001: hr_utility.raise_error;
2002: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then

Line 1999: hr_utility.set_message_token('PAY_PLAN','GN');

1995: hr_utility.set_message_token('AGENCY_CODE','TD03');
1996: hr_utility.raise_error;
1997: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then
1998: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1999: hr_utility.set_message_token('PAY_PLAN','GN');
2000: hr_utility.set_message_token('AGENCY_CODE','HE38');
2001: hr_utility.raise_error;
2002: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then
2003: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2000: hr_utility.set_message_token('AGENCY_CODE','HE38');

1996: hr_utility.raise_error;
1997: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then
1998: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1999: hr_utility.set_message_token('PAY_PLAN','GN');
2000: hr_utility.set_message_token('AGENCY_CODE','HE38');
2001: hr_utility.raise_error;
2002: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then
2003: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2004: hr_utility.set_message_token('PAY_PLAN','IJ');

Line 2001: hr_utility.raise_error;

1997: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then
1998: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1999: hr_utility.set_message_token('PAY_PLAN','GN');
2000: hr_utility.set_message_token('AGENCY_CODE','HE38');
2001: hr_utility.raise_error;
2002: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then
2003: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2004: hr_utility.set_message_token('PAY_PLAN','IJ');
2005: hr_utility.set_message_token('AGENCY_CODE','DJ');

Line 2003: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

1999: hr_utility.set_message_token('PAY_PLAN','GN');
2000: hr_utility.set_message_token('AGENCY_CODE','HE38');
2001: hr_utility.raise_error;
2002: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then
2003: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2004: hr_utility.set_message_token('PAY_PLAN','IJ');
2005: hr_utility.set_message_token('AGENCY_CODE','DJ');
2006: hr_utility.raise_error;
2007: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then

Line 2004: hr_utility.set_message_token('PAY_PLAN','IJ');

2000: hr_utility.set_message_token('AGENCY_CODE','HE38');
2001: hr_utility.raise_error;
2002: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then
2003: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2004: hr_utility.set_message_token('PAY_PLAN','IJ');
2005: hr_utility.set_message_token('AGENCY_CODE','DJ');
2006: hr_utility.raise_error;
2007: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then
2008: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2005: hr_utility.set_message_token('AGENCY_CODE','DJ');

2001: hr_utility.raise_error;
2002: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then
2003: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2004: hr_utility.set_message_token('PAY_PLAN','IJ');
2005: hr_utility.set_message_token('AGENCY_CODE','DJ');
2006: hr_utility.raise_error;
2007: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then
2008: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2009: hr_utility.set_message_token('PAY_PLAN','KA');

Line 2006: hr_utility.raise_error;

2002: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then
2003: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2004: hr_utility.set_message_token('PAY_PLAN','IJ');
2005: hr_utility.set_message_token('AGENCY_CODE','DJ');
2006: hr_utility.raise_error;
2007: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then
2008: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2009: hr_utility.set_message_token('PAY_PLAN','KA');
2010: hr_utility.set_message_token('AGENCY_CODE','LP');

Line 2008: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2004: hr_utility.set_message_token('PAY_PLAN','IJ');
2005: hr_utility.set_message_token('AGENCY_CODE','DJ');
2006: hr_utility.raise_error;
2007: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then
2008: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2009: hr_utility.set_message_token('PAY_PLAN','KA');
2010: hr_utility.set_message_token('AGENCY_CODE','LP');
2011: hr_utility.raise_error;
2012: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then

Line 2009: hr_utility.set_message_token('PAY_PLAN','KA');

2005: hr_utility.set_message_token('AGENCY_CODE','DJ');
2006: hr_utility.raise_error;
2007: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then
2008: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2009: hr_utility.set_message_token('PAY_PLAN','KA');
2010: hr_utility.set_message_token('AGENCY_CODE','LP');
2011: hr_utility.raise_error;
2012: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then
2013: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2010: hr_utility.set_message_token('AGENCY_CODE','LP');

2006: hr_utility.raise_error;
2007: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then
2008: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2009: hr_utility.set_message_token('PAY_PLAN','KA');
2010: hr_utility.set_message_token('AGENCY_CODE','LP');
2011: hr_utility.raise_error;
2012: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then
2013: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2014: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');

Line 2011: hr_utility.raise_error;

2007: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then
2008: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2009: hr_utility.set_message_token('PAY_PLAN','KA');
2010: hr_utility.set_message_token('AGENCY_CODE','LP');
2011: hr_utility.raise_error;
2012: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then
2013: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2014: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');
2015: hr_utility.set_message_token('AGENCY_CODE','TRAI');

Line 2013: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2009: hr_utility.set_message_token('PAY_PLAN','KA');
2010: hr_utility.set_message_token('AGENCY_CODE','LP');
2011: hr_utility.raise_error;
2012: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then
2013: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2014: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');
2015: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2016: hr_utility.raise_error;
2017: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then

Line 2014: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');

2010: hr_utility.set_message_token('AGENCY_CODE','LP');
2011: hr_utility.raise_error;
2012: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then
2013: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2014: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');
2015: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2016: hr_utility.raise_error;
2017: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then
2018: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2015: hr_utility.set_message_token('AGENCY_CODE','TRAI');

2011: hr_utility.raise_error;
2012: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then
2013: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2014: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');
2015: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2016: hr_utility.raise_error;
2017: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then
2018: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2019: hr_utility.set_message_token('PAY_PLAN','LE');

Line 2016: hr_utility.raise_error;

2012: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then
2013: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2014: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');
2015: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2016: hr_utility.raise_error;
2017: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then
2018: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2019: hr_utility.set_message_token('PAY_PLAN','LE');
2020: hr_utility.set_message_token('AGENCY_CODE','HSAD');

Line 2018: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2014: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');
2015: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2016: hr_utility.raise_error;
2017: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then
2018: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2019: hr_utility.set_message_token('PAY_PLAN','LE');
2020: hr_utility.set_message_token('AGENCY_CODE','HSAD');
2021: hr_utility.raise_error;
2022: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then

Line 2019: hr_utility.set_message_token('PAY_PLAN','LE');

2015: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2016: hr_utility.raise_error;
2017: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then
2018: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2019: hr_utility.set_message_token('PAY_PLAN','LE');
2020: hr_utility.set_message_token('AGENCY_CODE','HSAD');
2021: hr_utility.raise_error;
2022: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then
2023: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2020: hr_utility.set_message_token('AGENCY_CODE','HSAD');

2016: hr_utility.raise_error;
2017: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then
2018: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2019: hr_utility.set_message_token('PAY_PLAN','LE');
2020: hr_utility.set_message_token('AGENCY_CODE','HSAD');
2021: hr_utility.raise_error;
2022: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then
2023: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2024: hr_utility.set_message_token('PAY_PLAN','LG');

Line 2021: hr_utility.raise_error;

2017: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then
2018: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2019: hr_utility.set_message_token('PAY_PLAN','LE');
2020: hr_utility.set_message_token('AGENCY_CODE','HSAD');
2021: hr_utility.raise_error;
2022: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then
2023: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2024: hr_utility.set_message_token('PAY_PLAN','LG');
2025: hr_utility.set_message_token('AGENCY_CODE','FD');

Line 2023: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2019: hr_utility.set_message_token('PAY_PLAN','LE');
2020: hr_utility.set_message_token('AGENCY_CODE','HSAD');
2021: hr_utility.raise_error;
2022: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then
2023: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2024: hr_utility.set_message_token('PAY_PLAN','LG');
2025: hr_utility.set_message_token('AGENCY_CODE','FD');
2026: hr_utility.raise_error;
2027: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then

Line 2024: hr_utility.set_message_token('PAY_PLAN','LG');

2020: hr_utility.set_message_token('AGENCY_CODE','HSAD');
2021: hr_utility.raise_error;
2022: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then
2023: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2024: hr_utility.set_message_token('PAY_PLAN','LG');
2025: hr_utility.set_message_token('AGENCY_CODE','FD');
2026: hr_utility.raise_error;
2027: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2028: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2025: hr_utility.set_message_token('AGENCY_CODE','FD');

2021: hr_utility.raise_error;
2022: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then
2023: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2024: hr_utility.set_message_token('PAY_PLAN','LG');
2025: hr_utility.set_message_token('AGENCY_CODE','FD');
2026: hr_utility.raise_error;
2027: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2028: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2029: hr_utility.set_message_token('PAY_PLAN','MA');

Line 2026: hr_utility.raise_error;

2022: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then
2023: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2024: hr_utility.set_message_token('PAY_PLAN','LG');
2025: hr_utility.set_message_token('AGENCY_CODE','FD');
2026: hr_utility.raise_error;
2027: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2028: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2029: hr_utility.set_message_token('PAY_PLAN','MA');
2030: hr_utility.set_message_token('AGENCY_CODE','AG');

Line 2028: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2024: hr_utility.set_message_token('PAY_PLAN','LG');
2025: hr_utility.set_message_token('AGENCY_CODE','FD');
2026: hr_utility.raise_error;
2027: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2028: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2029: hr_utility.set_message_token('PAY_PLAN','MA');
2030: hr_utility.set_message_token('AGENCY_CODE','AG');
2031: hr_utility.raise_error;
2032: elsif ( p_to_pay_plan in ('ND','NG','NT') and

Line 2029: hr_utility.set_message_token('PAY_PLAN','MA');

2025: hr_utility.set_message_token('AGENCY_CODE','FD');
2026: hr_utility.raise_error;
2027: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2028: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2029: hr_utility.set_message_token('PAY_PLAN','MA');
2030: hr_utility.set_message_token('AGENCY_CODE','AG');
2031: hr_utility.raise_error;
2032: elsif ( p_to_pay_plan in ('ND','NG','NT') and
2033: substr(p_agency_subelement,1,2) <> 'NV' ) then

Line 2030: hr_utility.set_message_token('AGENCY_CODE','AG');

2026: hr_utility.raise_error;
2027: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2028: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2029: hr_utility.set_message_token('PAY_PLAN','MA');
2030: hr_utility.set_message_token('AGENCY_CODE','AG');
2031: hr_utility.raise_error;
2032: elsif ( p_to_pay_plan in ('ND','NG','NT') and
2033: substr(p_agency_subelement,1,2) <> 'NV' ) then
2034: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2031: hr_utility.raise_error;

2027: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2028: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2029: hr_utility.set_message_token('PAY_PLAN','MA');
2030: hr_utility.set_message_token('AGENCY_CODE','AG');
2031: hr_utility.raise_error;
2032: elsif ( p_to_pay_plan in ('ND','NG','NT') and
2033: substr(p_agency_subelement,1,2) <> 'NV' ) then
2034: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2035: hr_utility.set_message_token('PAY_PLAN','in ND,NG or NT');

Line 2034: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2030: hr_utility.set_message_token('AGENCY_CODE','AG');
2031: hr_utility.raise_error;
2032: elsif ( p_to_pay_plan in ('ND','NG','NT') and
2033: substr(p_agency_subelement,1,2) <> 'NV' ) then
2034: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2035: hr_utility.set_message_token('PAY_PLAN','in ND,NG or NT');
2036: hr_utility.set_message_token('AGENCY_CODE','NV');
2037: hr_utility.raise_error;
2038: elsif ( p_to_pay_plan in('NX','NY') and

Line 2035: hr_utility.set_message_token('PAY_PLAN','in ND,NG or NT');

2031: hr_utility.raise_error;
2032: elsif ( p_to_pay_plan in ('ND','NG','NT') and
2033: substr(p_agency_subelement,1,2) <> 'NV' ) then
2034: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2035: hr_utility.set_message_token('PAY_PLAN','in ND,NG or NT');
2036: hr_utility.set_message_token('AGENCY_CODE','NV');
2037: hr_utility.raise_error;
2038: elsif ( p_to_pay_plan in('NX','NY') and
2039: substr(p_agency_subelement,1,2) <> 'KS' ) then

Line 2036: hr_utility.set_message_token('AGENCY_CODE','NV');

2032: elsif ( p_to_pay_plan in ('ND','NG','NT') and
2033: substr(p_agency_subelement,1,2) <> 'NV' ) then
2034: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2035: hr_utility.set_message_token('PAY_PLAN','in ND,NG or NT');
2036: hr_utility.set_message_token('AGENCY_CODE','NV');
2037: hr_utility.raise_error;
2038: elsif ( p_to_pay_plan in('NX','NY') and
2039: substr(p_agency_subelement,1,2) <> 'KS' ) then
2040: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2037: hr_utility.raise_error;

2033: substr(p_agency_subelement,1,2) <> 'NV' ) then
2034: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2035: hr_utility.set_message_token('PAY_PLAN','in ND,NG or NT');
2036: hr_utility.set_message_token('AGENCY_CODE','NV');
2037: hr_utility.raise_error;
2038: elsif ( p_to_pay_plan in('NX','NY') and
2039: substr(p_agency_subelement,1,2) <> 'KS' ) then
2040: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2041: hr_utility.set_message_token('PAY_PLAN','NX,NY');

Line 2040: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2036: hr_utility.set_message_token('AGENCY_CODE','NV');
2037: hr_utility.raise_error;
2038: elsif ( p_to_pay_plan in('NX','NY') and
2039: substr(p_agency_subelement,1,2) <> 'KS' ) then
2040: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2041: hr_utility.set_message_token('PAY_PLAN','NX,NY');
2042: hr_utility.set_message_token('AGENCY_CODE','KS');
2043: hr_utility.raise_error;
2044: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then

Line 2041: hr_utility.set_message_token('PAY_PLAN','NX,NY');

2037: hr_utility.raise_error;
2038: elsif ( p_to_pay_plan in('NX','NY') and
2039: substr(p_agency_subelement,1,2) <> 'KS' ) then
2040: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2041: hr_utility.set_message_token('PAY_PLAN','NX,NY');
2042: hr_utility.set_message_token('AGENCY_CODE','KS');
2043: hr_utility.raise_error;
2044: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then
2045: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2042: hr_utility.set_message_token('AGENCY_CODE','KS');

2038: elsif ( p_to_pay_plan in('NX','NY') and
2039: substr(p_agency_subelement,1,2) <> 'KS' ) then
2040: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2041: hr_utility.set_message_token('PAY_PLAN','NX,NY');
2042: hr_utility.set_message_token('AGENCY_CODE','KS');
2043: hr_utility.raise_error;
2044: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then
2045: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2046: hr_utility.set_message_token('PAY_PLAN','SN');

Line 2043: hr_utility.raise_error;

2039: substr(p_agency_subelement,1,2) <> 'KS' ) then
2040: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2041: hr_utility.set_message_token('PAY_PLAN','NX,NY');
2042: hr_utility.set_message_token('AGENCY_CODE','KS');
2043: hr_utility.raise_error;
2044: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then
2045: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2046: hr_utility.set_message_token('PAY_PLAN','SN');
2047: hr_utility.set_message_token('AGENCY_CODE','NU');

Line 2045: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2041: hr_utility.set_message_token('PAY_PLAN','NX,NY');
2042: hr_utility.set_message_token('AGENCY_CODE','KS');
2043: hr_utility.raise_error;
2044: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then
2045: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2046: hr_utility.set_message_token('PAY_PLAN','SN');
2047: hr_utility.set_message_token('AGENCY_CODE','NU');
2048: hr_utility.raise_error;
2049: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then

Line 2046: hr_utility.set_message_token('PAY_PLAN','SN');

2042: hr_utility.set_message_token('AGENCY_CODE','KS');
2043: hr_utility.raise_error;
2044: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then
2045: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2046: hr_utility.set_message_token('PAY_PLAN','SN');
2047: hr_utility.set_message_token('AGENCY_CODE','NU');
2048: hr_utility.raise_error;
2049: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then
2050: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2047: hr_utility.set_message_token('AGENCY_CODE','NU');

2043: hr_utility.raise_error;
2044: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then
2045: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2046: hr_utility.set_message_token('PAY_PLAN','SN');
2047: hr_utility.set_message_token('AGENCY_CODE','NU');
2048: hr_utility.raise_error;
2049: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then
2050: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2051: hr_utility.set_message_token('PAY_PLAN','SP');

Line 2048: hr_utility.raise_error;

2044: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then
2045: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2046: hr_utility.set_message_token('PAY_PLAN','SN');
2047: hr_utility.set_message_token('AGENCY_CODE','NU');
2048: hr_utility.raise_error;
2049: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then
2050: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2051: hr_utility.set_message_token('PAY_PLAN','SP');
2052: hr_utility.set_message_token('AGENCY_CODE','IN');

Line 2050: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2046: hr_utility.set_message_token('PAY_PLAN','SN');
2047: hr_utility.set_message_token('AGENCY_CODE','NU');
2048: hr_utility.raise_error;
2049: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then
2050: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2051: hr_utility.set_message_token('PAY_PLAN','SP');
2052: hr_utility.set_message_token('AGENCY_CODE','IN');
2053: hr_utility.raise_error;
2054: --Begin Bug 9503972

Line 2051: hr_utility.set_message_token('PAY_PLAN','SP');

2047: hr_utility.set_message_token('AGENCY_CODE','NU');
2048: hr_utility.raise_error;
2049: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then
2050: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2051: hr_utility.set_message_token('PAY_PLAN','SP');
2052: hr_utility.set_message_token('AGENCY_CODE','IN');
2053: hr_utility.raise_error;
2054: --Begin Bug 9503972
2055: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND

Line 2052: hr_utility.set_message_token('AGENCY_CODE','IN');

2048: hr_utility.raise_error;
2049: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then
2050: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2051: hr_utility.set_message_token('PAY_PLAN','SP');
2052: hr_utility.set_message_token('AGENCY_CODE','IN');
2053: hr_utility.raise_error;
2054: --Begin Bug 9503972
2055: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2056: ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) NOT IN( 'FY','HF')) then

Line 2053: hr_utility.raise_error;

2049: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then
2050: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2051: hr_utility.set_message_token('PAY_PLAN','SP');
2052: hr_utility.set_message_token('AGENCY_CODE','IN');
2053: hr_utility.raise_error;
2054: --Begin Bug 9503972
2055: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2056: ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) NOT IN( 'FY','HF')) then
2057: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2057: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2053: hr_utility.raise_error;
2054: --Begin Bug 9503972
2055: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2056: ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) NOT IN( 'FY','HF')) then
2057: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2058: hr_utility.set_message_token('PAY_PLAN','TF');
2059: hr_utility.set_message_token('AGENCY_CODE','FY, HF');
2060: hr_utility.raise_error;
2061: --End Bug 9503972

Line 2058: hr_utility.set_message_token('PAY_PLAN','TF');

2054: --Begin Bug 9503972
2055: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2056: ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) NOT IN( 'FY','HF')) then
2057: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2058: hr_utility.set_message_token('PAY_PLAN','TF');
2059: hr_utility.set_message_token('AGENCY_CODE','FY, HF');
2060: hr_utility.raise_error;
2061: --End Bug 9503972
2062: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then

Line 2059: hr_utility.set_message_token('AGENCY_CODE','FY, HF');

2055: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2056: ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) NOT IN( 'FY','HF')) then
2057: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2058: hr_utility.set_message_token('PAY_PLAN','TF');
2059: hr_utility.set_message_token('AGENCY_CODE','FY, HF');
2060: hr_utility.raise_error;
2061: --End Bug 9503972
2062: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then
2063: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2060: hr_utility.raise_error;

2056: ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) NOT IN( 'FY','HF')) then
2057: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2058: hr_utility.set_message_token('PAY_PLAN','TF');
2059: hr_utility.set_message_token('AGENCY_CODE','FY, HF');
2060: hr_utility.raise_error;
2061: --End Bug 9503972
2062: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then
2063: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2064: hr_utility.set_message_token('PAY_PLAN','TF');

Line 2063: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2059: hr_utility.set_message_token('AGENCY_CODE','FY, HF');
2060: hr_utility.raise_error;
2061: --End Bug 9503972
2062: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then
2063: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2064: hr_utility.set_message_token('PAY_PLAN','TF');
2065: hr_utility.set_message_token('AGENCY_CODE','FY');
2066: hr_utility.raise_error;
2067: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then

Line 2064: hr_utility.set_message_token('PAY_PLAN','TF');

2060: hr_utility.raise_error;
2061: --End Bug 9503972
2062: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then
2063: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2064: hr_utility.set_message_token('PAY_PLAN','TF');
2065: hr_utility.set_message_token('AGENCY_CODE','FY');
2066: hr_utility.raise_error;
2067: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then
2068: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2065: hr_utility.set_message_token('AGENCY_CODE','FY');

2061: --End Bug 9503972
2062: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then
2063: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2064: hr_utility.set_message_token('PAY_PLAN','TF');
2065: hr_utility.set_message_token('AGENCY_CODE','FY');
2066: hr_utility.raise_error;
2067: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then
2068: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2069: hr_utility.set_message_token('PAY_PLAN','TP');

Line 2066: hr_utility.raise_error;

2062: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then
2063: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2064: hr_utility.set_message_token('PAY_PLAN','TF');
2065: hr_utility.set_message_token('AGENCY_CODE','FY');
2066: hr_utility.raise_error;
2067: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then
2068: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2069: hr_utility.set_message_token('PAY_PLAN','TP');
2070: hr_utility.set_message_token('AGENCY_CODE','DD16');

Line 2068: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2064: hr_utility.set_message_token('PAY_PLAN','TF');
2065: hr_utility.set_message_token('AGENCY_CODE','FY');
2066: hr_utility.raise_error;
2067: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then
2068: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2069: hr_utility.set_message_token('PAY_PLAN','TP');
2070: hr_utility.set_message_token('AGENCY_CODE','DD16');
2071: hr_utility.raise_error;
2072: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then

Line 2069: hr_utility.set_message_token('PAY_PLAN','TP');

2065: hr_utility.set_message_token('AGENCY_CODE','FY');
2066: hr_utility.raise_error;
2067: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then
2068: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2069: hr_utility.set_message_token('PAY_PLAN','TP');
2070: hr_utility.set_message_token('AGENCY_CODE','DD16');
2071: hr_utility.raise_error;
2072: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then
2073: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2070: hr_utility.set_message_token('AGENCY_CODE','DD16');

2066: hr_utility.raise_error;
2067: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then
2068: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2069: hr_utility.set_message_token('PAY_PLAN','TP');
2070: hr_utility.set_message_token('AGENCY_CODE','DD16');
2071: hr_utility.raise_error;
2072: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then
2073: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2074: hr_utility.set_message_token('PAY_PLAN','TR');

Line 2071: hr_utility.raise_error;

2067: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then
2068: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2069: hr_utility.set_message_token('PAY_PLAN','TP');
2070: hr_utility.set_message_token('AGENCY_CODE','DD16');
2071: hr_utility.raise_error;
2072: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then
2073: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2074: hr_utility.set_message_token('PAY_PLAN','TR');
2075: hr_utility.set_message_token('AGENCY_CODE','TRAI,TRAD');

Line 2073: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2069: hr_utility.set_message_token('PAY_PLAN','TP');
2070: hr_utility.set_message_token('AGENCY_CODE','DD16');
2071: hr_utility.raise_error;
2072: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then
2073: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2074: hr_utility.set_message_token('PAY_PLAN','TR');
2075: hr_utility.set_message_token('AGENCY_CODE','TRAI,TRAD');
2076: hr_utility.raise_error;
2077: --Begin Bug 9503972

Line 2074: hr_utility.set_message_token('PAY_PLAN','TR');

2070: hr_utility.set_message_token('AGENCY_CODE','DD16');
2071: hr_utility.raise_error;
2072: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then
2073: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2074: hr_utility.set_message_token('PAY_PLAN','TR');
2075: hr_utility.set_message_token('AGENCY_CODE','TRAI,TRAD');
2076: hr_utility.raise_error;
2077: --Begin Bug 9503972
2078: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND

Line 2075: hr_utility.set_message_token('AGENCY_CODE','TRAI,TRAD');

2071: hr_utility.raise_error;
2072: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then
2073: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2074: hr_utility.set_message_token('PAY_PLAN','TR');
2075: hr_utility.set_message_token('AGENCY_CODE','TRAI,TRAD');
2076: hr_utility.raise_error;
2077: --Begin Bug 9503972
2078: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2079: (p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) NOT IN ('FY','HF')) then

Line 2076: hr_utility.raise_error;

2072: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then
2073: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2074: hr_utility.set_message_token('PAY_PLAN','TR');
2075: hr_utility.set_message_token('AGENCY_CODE','TRAI,TRAD');
2076: hr_utility.raise_error;
2077: --Begin Bug 9503972
2078: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2079: (p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) NOT IN ('FY','HF')) then
2080: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2080: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2076: hr_utility.raise_error;
2077: --Begin Bug 9503972
2078: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2079: (p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) NOT IN ('FY','HF')) then
2080: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2081: hr_utility.set_message_token('PAY_PLAN','TS');
2082: hr_utility.set_message_token('AGENCY_CODE','FY, HF');
2083: hr_utility.raise_error;
2084: --End Bug 9503972

Line 2081: hr_utility.set_message_token('PAY_PLAN','TS');

2077: --Begin Bug 9503972
2078: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2079: (p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) NOT IN ('FY','HF')) then
2080: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2081: hr_utility.set_message_token('PAY_PLAN','TS');
2082: hr_utility.set_message_token('AGENCY_CODE','FY, HF');
2083: hr_utility.raise_error;
2084: --End Bug 9503972
2085: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then

Line 2082: hr_utility.set_message_token('AGENCY_CODE','FY, HF');

2078: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2079: (p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) NOT IN ('FY','HF')) then
2080: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2081: hr_utility.set_message_token('PAY_PLAN','TS');
2082: hr_utility.set_message_token('AGENCY_CODE','FY, HF');
2083: hr_utility.raise_error;
2084: --End Bug 9503972
2085: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then
2086: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2083: hr_utility.raise_error;

2079: (p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) NOT IN ('FY','HF')) then
2080: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2081: hr_utility.set_message_token('PAY_PLAN','TS');
2082: hr_utility.set_message_token('AGENCY_CODE','FY, HF');
2083: hr_utility.raise_error;
2084: --End Bug 9503972
2085: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then
2086: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2087: hr_utility.set_message_token('PAY_PLAN','TS');

Line 2086: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2082: hr_utility.set_message_token('AGENCY_CODE','FY, HF');
2083: hr_utility.raise_error;
2084: --End Bug 9503972
2085: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then
2086: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2087: hr_utility.set_message_token('PAY_PLAN','TS');
2088: hr_utility.set_message_token('AGENCY_CODE','FY');
2089: hr_utility.raise_error;
2090: elsif ( p_to_pay_plan in('VC','VM','VN','VP') and

Line 2087: hr_utility.set_message_token('PAY_PLAN','TS');

2083: hr_utility.raise_error;
2084: --End Bug 9503972
2085: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then
2086: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2087: hr_utility.set_message_token('PAY_PLAN','TS');
2088: hr_utility.set_message_token('AGENCY_CODE','FY');
2089: hr_utility.raise_error;
2090: elsif ( p_to_pay_plan in('VC','VM','VN','VP') and
2091: substr(p_agency_subelement,1,2) <> 'VA' ) then

Line 2088: hr_utility.set_message_token('AGENCY_CODE','FY');

2084: --End Bug 9503972
2085: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then
2086: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2087: hr_utility.set_message_token('PAY_PLAN','TS');
2088: hr_utility.set_message_token('AGENCY_CODE','FY');
2089: hr_utility.raise_error;
2090: elsif ( p_to_pay_plan in('VC','VM','VN','VP') and
2091: substr(p_agency_subelement,1,2) <> 'VA' ) then
2092: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2089: hr_utility.raise_error;

2085: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then
2086: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2087: hr_utility.set_message_token('PAY_PLAN','TS');
2088: hr_utility.set_message_token('AGENCY_CODE','FY');
2089: hr_utility.raise_error;
2090: elsif ( p_to_pay_plan in('VC','VM','VN','VP') and
2091: substr(p_agency_subelement,1,2) <> 'VA' ) then
2092: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2093: hr_utility.set_message_token('PAY_PLAN','VC,VM,VN or VP');

Line 2092: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2088: hr_utility.set_message_token('AGENCY_CODE','FY');
2089: hr_utility.raise_error;
2090: elsif ( p_to_pay_plan in('VC','VM','VN','VP') and
2091: substr(p_agency_subelement,1,2) <> 'VA' ) then
2092: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2093: hr_utility.set_message_token('PAY_PLAN','VC,VM,VN or VP');
2094: hr_utility.set_message_token('AGENCY_CODE','VA');
2095: hr_utility.raise_error;
2096: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then

Line 2093: hr_utility.set_message_token('PAY_PLAN','VC,VM,VN or VP');

2089: hr_utility.raise_error;
2090: elsif ( p_to_pay_plan in('VC','VM','VN','VP') and
2091: substr(p_agency_subelement,1,2) <> 'VA' ) then
2092: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2093: hr_utility.set_message_token('PAY_PLAN','VC,VM,VN or VP');
2094: hr_utility.set_message_token('AGENCY_CODE','VA');
2095: hr_utility.raise_error;
2096: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then
2097: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2094: hr_utility.set_message_token('AGENCY_CODE','VA');

2090: elsif ( p_to_pay_plan in('VC','VM','VN','VP') and
2091: substr(p_agency_subelement,1,2) <> 'VA' ) then
2092: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2093: hr_utility.set_message_token('PAY_PLAN','VC,VM,VN or VP');
2094: hr_utility.set_message_token('AGENCY_CODE','VA');
2095: hr_utility.raise_error;
2096: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then
2097: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2098: hr_utility.set_message_token('PAY_PLAN','WA');

Line 2095: hr_utility.raise_error;

2091: substr(p_agency_subelement,1,2) <> 'VA' ) then
2092: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2093: hr_utility.set_message_token('PAY_PLAN','VC,VM,VN or VP');
2094: hr_utility.set_message_token('AGENCY_CODE','VA');
2095: hr_utility.raise_error;
2096: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then
2097: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2098: hr_utility.set_message_token('PAY_PLAN','WA');
2099: hr_utility.set_message_token('AGENCY_CODE','AR');

Line 2097: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2093: hr_utility.set_message_token('PAY_PLAN','VC,VM,VN or VP');
2094: hr_utility.set_message_token('AGENCY_CODE','VA');
2095: hr_utility.raise_error;
2096: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then
2097: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2098: hr_utility.set_message_token('PAY_PLAN','WA');
2099: hr_utility.set_message_token('AGENCY_CODE','AR');
2100: hr_utility.raise_error;
2101: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then

Line 2098: hr_utility.set_message_token('PAY_PLAN','WA');

2094: hr_utility.set_message_token('AGENCY_CODE','VA');
2095: hr_utility.raise_error;
2096: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then
2097: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2098: hr_utility.set_message_token('PAY_PLAN','WA');
2099: hr_utility.set_message_token('AGENCY_CODE','AR');
2100: hr_utility.raise_error;
2101: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then
2102: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2099: hr_utility.set_message_token('AGENCY_CODE','AR');

2095: hr_utility.raise_error;
2096: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then
2097: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2098: hr_utility.set_message_token('PAY_PLAN','WA');
2099: hr_utility.set_message_token('AGENCY_CODE','AR');
2100: hr_utility.raise_error;
2101: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then
2102: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2103: hr_utility.set_message_token('PAY_PLAN','WE');

Line 2100: hr_utility.raise_error;

2096: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then
2097: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2098: hr_utility.set_message_token('PAY_PLAN','WA');
2099: hr_utility.set_message_token('AGENCY_CODE','AR');
2100: hr_utility.raise_error;
2101: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then
2102: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2103: hr_utility.set_message_token('PAY_PLAN','WE');
2104: hr_utility.set_message_token('AGENCY_CODE','TR');

Line 2102: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2098: hr_utility.set_message_token('PAY_PLAN','WA');
2099: hr_utility.set_message_token('AGENCY_CODE','AR');
2100: hr_utility.raise_error;
2101: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then
2102: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2103: hr_utility.set_message_token('PAY_PLAN','WE');
2104: hr_utility.set_message_token('AGENCY_CODE','TR');
2105: hr_utility.raise_error;
2106: elsif ( p_to_pay_plan in('WJ','WK','WO','WY') and

Line 2103: hr_utility.set_message_token('PAY_PLAN','WE');

2099: hr_utility.set_message_token('AGENCY_CODE','AR');
2100: hr_utility.raise_error;
2101: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then
2102: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2103: hr_utility.set_message_token('PAY_PLAN','WE');
2104: hr_utility.set_message_token('AGENCY_CODE','TR');
2105: hr_utility.raise_error;
2106: elsif ( p_to_pay_plan in('WJ','WK','WO','WY') and
2107: substr(p_agency_subelement,1,2) <> 'AR' ) then

Line 2104: hr_utility.set_message_token('AGENCY_CODE','TR');

2100: hr_utility.raise_error;
2101: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then
2102: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2103: hr_utility.set_message_token('PAY_PLAN','WE');
2104: hr_utility.set_message_token('AGENCY_CODE','TR');
2105: hr_utility.raise_error;
2106: elsif ( p_to_pay_plan in('WJ','WK','WO','WY') and
2107: substr(p_agency_subelement,1,2) <> 'AR' ) then
2108: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2105: hr_utility.raise_error;

2101: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then
2102: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2103: hr_utility.set_message_token('PAY_PLAN','WE');
2104: hr_utility.set_message_token('AGENCY_CODE','TR');
2105: hr_utility.raise_error;
2106: elsif ( p_to_pay_plan in('WJ','WK','WO','WY') and
2107: substr(p_agency_subelement,1,2) <> 'AR' ) then
2108: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2109: hr_utility.set_message_token('PAY_PLAN','WJ,WK,WO or WY');

Line 2108: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2104: hr_utility.set_message_token('AGENCY_CODE','TR');
2105: hr_utility.raise_error;
2106: elsif ( p_to_pay_plan in('WJ','WK','WO','WY') and
2107: substr(p_agency_subelement,1,2) <> 'AR' ) then
2108: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2109: hr_utility.set_message_token('PAY_PLAN','WJ,WK,WO or WY');
2110: hr_utility.set_message_token('AGENCY_CODE','AR');
2111: hr_utility.raise_error;
2112: elsif ( p_to_pay_plan in('XA','XB','XC') and

Line 2109: hr_utility.set_message_token('PAY_PLAN','WJ,WK,WO or WY');

2105: hr_utility.raise_error;
2106: elsif ( p_to_pay_plan in('WJ','WK','WO','WY') and
2107: substr(p_agency_subelement,1,2) <> 'AR' ) then
2108: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2109: hr_utility.set_message_token('PAY_PLAN','WJ,WK,WO or WY');
2110: hr_utility.set_message_token('AGENCY_CODE','AR');
2111: hr_utility.raise_error;
2112: elsif ( p_to_pay_plan in('XA','XB','XC') and
2113: substr(p_agency_subelement,1,2) <> 'IN' ) then

Line 2110: hr_utility.set_message_token('AGENCY_CODE','AR');

2106: elsif ( p_to_pay_plan in('WJ','WK','WO','WY') and
2107: substr(p_agency_subelement,1,2) <> 'AR' ) then
2108: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2109: hr_utility.set_message_token('PAY_PLAN','WJ,WK,WO or WY');
2110: hr_utility.set_message_token('AGENCY_CODE','AR');
2111: hr_utility.raise_error;
2112: elsif ( p_to_pay_plan in('XA','XB','XC') and
2113: substr(p_agency_subelement,1,2) <> 'IN' ) then
2114: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2111: hr_utility.raise_error;

2107: substr(p_agency_subelement,1,2) <> 'AR' ) then
2108: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2109: hr_utility.set_message_token('PAY_PLAN','WJ,WK,WO or WY');
2110: hr_utility.set_message_token('AGENCY_CODE','AR');
2111: hr_utility.raise_error;
2112: elsif ( p_to_pay_plan in('XA','XB','XC') and
2113: substr(p_agency_subelement,1,2) <> 'IN' ) then
2114: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2115: hr_utility.set_message_token('PAY_PLAN','XA,XB or XC');

Line 2114: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2110: hr_utility.set_message_token('AGENCY_CODE','AR');
2111: hr_utility.raise_error;
2112: elsif ( p_to_pay_plan in('XA','XB','XC') and
2113: substr(p_agency_subelement,1,2) <> 'IN' ) then
2114: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2115: hr_utility.set_message_token('PAY_PLAN','XA,XB or XC');
2116: hr_utility.set_message_token('AGENCY_CODE','IN');
2117: hr_utility.raise_error;
2118: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then

Line 2115: hr_utility.set_message_token('PAY_PLAN','XA,XB or XC');

2111: hr_utility.raise_error;
2112: elsif ( p_to_pay_plan in('XA','XB','XC') and
2113: substr(p_agency_subelement,1,2) <> 'IN' ) then
2114: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2115: hr_utility.set_message_token('PAY_PLAN','XA,XB or XC');
2116: hr_utility.set_message_token('AGENCY_CODE','IN');
2117: hr_utility.raise_error;
2118: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then
2119: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2116: hr_utility.set_message_token('AGENCY_CODE','IN');

2112: elsif ( p_to_pay_plan in('XA','XB','XC') and
2113: substr(p_agency_subelement,1,2) <> 'IN' ) then
2114: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2115: hr_utility.set_message_token('PAY_PLAN','XA,XB or XC');
2116: hr_utility.set_message_token('AGENCY_CODE','IN');
2117: hr_utility.raise_error;
2118: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then
2119: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2120: hr_utility.set_message_token('PAY_PLAN','XE');

Line 2117: hr_utility.raise_error;

2113: substr(p_agency_subelement,1,2) <> 'IN' ) then
2114: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2115: hr_utility.set_message_token('PAY_PLAN','XA,XB or XC');
2116: hr_utility.set_message_token('AGENCY_CODE','IN');
2117: hr_utility.raise_error;
2118: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then
2119: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2120: hr_utility.set_message_token('PAY_PLAN','XE');
2121: hr_utility.set_message_token('AGENCY_CODE','IN07');

Line 2119: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2115: hr_utility.set_message_token('PAY_PLAN','XA,XB or XC');
2116: hr_utility.set_message_token('AGENCY_CODE','IN');
2117: hr_utility.raise_error;
2118: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then
2119: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2120: hr_utility.set_message_token('PAY_PLAN','XE');
2121: hr_utility.set_message_token('AGENCY_CODE','IN07');
2122: hr_utility.raise_error;
2123: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then

Line 2120: hr_utility.set_message_token('PAY_PLAN','XE');

2116: hr_utility.set_message_token('AGENCY_CODE','IN');
2117: hr_utility.raise_error;
2118: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then
2119: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2120: hr_utility.set_message_token('PAY_PLAN','XE');
2121: hr_utility.set_message_token('AGENCY_CODE','IN07');
2122: hr_utility.raise_error;
2123: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then
2124: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2121: hr_utility.set_message_token('AGENCY_CODE','IN07');

2117: hr_utility.raise_error;
2118: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then
2119: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2120: hr_utility.set_message_token('PAY_PLAN','XE');
2121: hr_utility.set_message_token('AGENCY_CODE','IN07');
2122: hr_utility.raise_error;
2123: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then
2124: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2125: hr_utility.set_message_token('PAY_PLAN','in CG,EO or EM');

Line 2122: hr_utility.raise_error;

2118: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then
2119: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2120: hr_utility.set_message_token('PAY_PLAN','XE');
2121: hr_utility.set_message_token('AGENCY_CODE','IN07');
2122: hr_utility.raise_error;
2123: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then
2124: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2125: hr_utility.set_message_token('PAY_PLAN','in CG,EO or EM');
2126: hr_utility.set_message_token('AGENCY_CODE','FD');

Line 2124: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2120: hr_utility.set_message_token('PAY_PLAN','XE');
2121: hr_utility.set_message_token('AGENCY_CODE','IN07');
2122: hr_utility.raise_error;
2123: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then
2124: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2125: hr_utility.set_message_token('PAY_PLAN','in CG,EO or EM');
2126: hr_utility.set_message_token('AGENCY_CODE','FD');
2127: hr_utility.raise_error;
2128: --Begin Bug# 8309414 remove pay plan MG eff 17-apr-08

Line 2125: hr_utility.set_message_token('PAY_PLAN','in CG,EO or EM');

2121: hr_utility.set_message_token('AGENCY_CODE','IN07');
2122: hr_utility.raise_error;
2123: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then
2124: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2125: hr_utility.set_message_token('PAY_PLAN','in CG,EO or EM');
2126: hr_utility.set_message_token('AGENCY_CODE','FD');
2127: hr_utility.raise_error;
2128: --Begin Bug# 8309414 remove pay plan MG eff 17-apr-08
2129: elsif p_effective_date < fnd_date.canonical_to_date('2008/04/17') and

Line 2126: hr_utility.set_message_token('AGENCY_CODE','FD');

2122: hr_utility.raise_error;
2123: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then
2124: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2125: hr_utility.set_message_token('PAY_PLAN','in CG,EO or EM');
2126: hr_utility.set_message_token('AGENCY_CODE','FD');
2127: hr_utility.raise_error;
2128: --Begin Bug# 8309414 remove pay plan MG eff 17-apr-08
2129: elsif p_effective_date < fnd_date.canonical_to_date('2008/04/17') and
2130: ( p_to_pay_plan in ('MG','MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then

Line 2127: hr_utility.raise_error;

2123: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then
2124: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2125: hr_utility.set_message_token('PAY_PLAN','in CG,EO or EM');
2126: hr_utility.set_message_token('AGENCY_CODE','FD');
2127: hr_utility.raise_error;
2128: --Begin Bug# 8309414 remove pay plan MG eff 17-apr-08
2129: elsif p_effective_date < fnd_date.canonical_to_date('2008/04/17') and
2130: ( p_to_pay_plan in ('MG','MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
2131: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2131: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2127: hr_utility.raise_error;
2128: --Begin Bug# 8309414 remove pay plan MG eff 17-apr-08
2129: elsif p_effective_date < fnd_date.canonical_to_date('2008/04/17') and
2130: ( p_to_pay_plan in ('MG','MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
2131: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2132: hr_utility.set_message_token('PAY_PLAN','in MG,MS or MX');
2133: hr_utility.set_message_token('AGENCY_CODE','HU');
2134: hr_utility.raise_error;
2135: elsif ( p_to_pay_plan in ('MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then

Line 2132: hr_utility.set_message_token('PAY_PLAN','in MG,MS or MX');

2128: --Begin Bug# 8309414 remove pay plan MG eff 17-apr-08
2129: elsif p_effective_date < fnd_date.canonical_to_date('2008/04/17') and
2130: ( p_to_pay_plan in ('MG','MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
2131: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2132: hr_utility.set_message_token('PAY_PLAN','in MG,MS or MX');
2133: hr_utility.set_message_token('AGENCY_CODE','HU');
2134: hr_utility.raise_error;
2135: elsif ( p_to_pay_plan in ('MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
2136: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2133: hr_utility.set_message_token('AGENCY_CODE','HU');

2129: elsif p_effective_date < fnd_date.canonical_to_date('2008/04/17') and
2130: ( p_to_pay_plan in ('MG','MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
2131: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2132: hr_utility.set_message_token('PAY_PLAN','in MG,MS or MX');
2133: hr_utility.set_message_token('AGENCY_CODE','HU');
2134: hr_utility.raise_error;
2135: elsif ( p_to_pay_plan in ('MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
2136: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2137: hr_utility.set_message_token('PAY_PLAN','in MS or MX');

Line 2134: hr_utility.raise_error;

2130: ( p_to_pay_plan in ('MG','MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
2131: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2132: hr_utility.set_message_token('PAY_PLAN','in MG,MS or MX');
2133: hr_utility.set_message_token('AGENCY_CODE','HU');
2134: hr_utility.raise_error;
2135: elsif ( p_to_pay_plan in ('MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
2136: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2137: hr_utility.set_message_token('PAY_PLAN','in MS or MX');
2138: hr_utility.set_message_token('AGENCY_CODE','HU');

Line 2136: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2132: hr_utility.set_message_token('PAY_PLAN','in MG,MS or MX');
2133: hr_utility.set_message_token('AGENCY_CODE','HU');
2134: hr_utility.raise_error;
2135: elsif ( p_to_pay_plan in ('MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
2136: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2137: hr_utility.set_message_token('PAY_PLAN','in MS or MX');
2138: hr_utility.set_message_token('AGENCY_CODE','HU');
2139: hr_utility.raise_error;
2140: --End Bug# 8309414

Line 2137: hr_utility.set_message_token('PAY_PLAN','in MS or MX');

2133: hr_utility.set_message_token('AGENCY_CODE','HU');
2134: hr_utility.raise_error;
2135: elsif ( p_to_pay_plan in ('MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
2136: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2137: hr_utility.set_message_token('PAY_PLAN','in MS or MX');
2138: hr_utility.set_message_token('AGENCY_CODE','HU');
2139: hr_utility.raise_error;
2140: --End Bug# 8309414
2141: elsif ( p_to_pay_plan in('ZA','ZP','ZS','ZT') and

Line 2138: hr_utility.set_message_token('AGENCY_CODE','HU');

2134: hr_utility.raise_error;
2135: elsif ( p_to_pay_plan in ('MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
2136: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2137: hr_utility.set_message_token('PAY_PLAN','in MS or MX');
2138: hr_utility.set_message_token('AGENCY_CODE','HU');
2139: hr_utility.raise_error;
2140: --End Bug# 8309414
2141: elsif ( p_to_pay_plan in('ZA','ZP','ZS','ZT') and
2142: p_agency_subelement <> 'CM' ) then

Line 2139: hr_utility.raise_error;

2135: elsif ( p_to_pay_plan in ('MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
2136: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2137: hr_utility.set_message_token('PAY_PLAN','in MS or MX');
2138: hr_utility.set_message_token('AGENCY_CODE','HU');
2139: hr_utility.raise_error;
2140: --End Bug# 8309414
2141: elsif ( p_to_pay_plan in('ZA','ZP','ZS','ZT') and
2142: p_agency_subelement <> 'CM' ) then
2143: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2143: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2139: hr_utility.raise_error;
2140: --End Bug# 8309414
2141: elsif ( p_to_pay_plan in('ZA','ZP','ZS','ZT') and
2142: p_agency_subelement <> 'CM' ) then
2143: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2144: hr_utility.set_message_token('PAY_PLAN','in ZA,ZP,ZS or ZT');
2145: hr_utility.set_message_token('AGENCY_CODE','CM');
2146: hr_utility.raise_error;
2147: elsif ( p_to_pay_plan in('DA','DG','DP','DS','DT') and

Line 2144: hr_utility.set_message_token('PAY_PLAN','in ZA,ZP,ZS or ZT');

2140: --End Bug# 8309414
2141: elsif ( p_to_pay_plan in('ZA','ZP','ZS','ZT') and
2142: p_agency_subelement <> 'CM' ) then
2143: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2144: hr_utility.set_message_token('PAY_PLAN','in ZA,ZP,ZS or ZT');
2145: hr_utility.set_message_token('AGENCY_CODE','CM');
2146: hr_utility.raise_error;
2147: elsif ( p_to_pay_plan in('DA','DG','DP','DS','DT') and
2148: substr(p_agency_subelement,1,2) <> 'NV' ) then

Line 2145: hr_utility.set_message_token('AGENCY_CODE','CM');

2141: elsif ( p_to_pay_plan in('ZA','ZP','ZS','ZT') and
2142: p_agency_subelement <> 'CM' ) then
2143: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2144: hr_utility.set_message_token('PAY_PLAN','in ZA,ZP,ZS or ZT');
2145: hr_utility.set_message_token('AGENCY_CODE','CM');
2146: hr_utility.raise_error;
2147: elsif ( p_to_pay_plan in('DA','DG','DP','DS','DT') and
2148: substr(p_agency_subelement,1,2) <> 'NV' ) then
2149: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2146: hr_utility.raise_error;

2142: p_agency_subelement <> 'CM' ) then
2143: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2144: hr_utility.set_message_token('PAY_PLAN','in ZA,ZP,ZS or ZT');
2145: hr_utility.set_message_token('AGENCY_CODE','CM');
2146: hr_utility.raise_error;
2147: elsif ( p_to_pay_plan in('DA','DG','DP','DS','DT') and
2148: substr(p_agency_subelement,1,2) <> 'NV' ) then
2149: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2150: hr_utility.set_message_token('PAY_PLAN','in DA,DG,DP,DS or DT');

Line 2149: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2145: hr_utility.set_message_token('AGENCY_CODE','CM');
2146: hr_utility.raise_error;
2147: elsif ( p_to_pay_plan in('DA','DG','DP','DS','DT') and
2148: substr(p_agency_subelement,1,2) <> 'NV' ) then
2149: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2150: hr_utility.set_message_token('PAY_PLAN','in DA,DG,DP,DS or DT');
2151: hr_utility.set_message_token('AGENCY_CODE','NV');
2152: hr_utility.raise_error;
2153: elsif ( p_to_pay_plan in ('NH','NJ','NK') and

Line 2150: hr_utility.set_message_token('PAY_PLAN','in DA,DG,DP,DS or DT');

2146: hr_utility.raise_error;
2147: elsif ( p_to_pay_plan in('DA','DG','DP','DS','DT') and
2148: substr(p_agency_subelement,1,2) <> 'NV' ) then
2149: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2150: hr_utility.set_message_token('PAY_PLAN','in DA,DG,DP,DS or DT');
2151: hr_utility.set_message_token('AGENCY_CODE','NV');
2152: hr_utility.raise_error;
2153: elsif ( p_to_pay_plan in ('NH','NJ','NK') and
2154: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') and

Line 2151: hr_utility.set_message_token('AGENCY_CODE','NV');

2147: elsif ( p_to_pay_plan in('DA','DG','DP','DS','DT') and
2148: substr(p_agency_subelement,1,2) <> 'NV' ) then
2149: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2150: hr_utility.set_message_token('PAY_PLAN','in DA,DG,DP,DS or DT');
2151: hr_utility.set_message_token('AGENCY_CODE','NV');
2152: hr_utility.raise_error;
2153: elsif ( p_to_pay_plan in ('NH','NJ','NK') and
2154: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') and
2155: p_effective_date >= fnd_date.canonical_to_date('1998/03/01') ) then

Line 2152: hr_utility.raise_error;

2148: substr(p_agency_subelement,1,2) <> 'NV' ) then
2149: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2150: hr_utility.set_message_token('PAY_PLAN','in DA,DG,DP,DS or DT');
2151: hr_utility.set_message_token('AGENCY_CODE','NV');
2152: hr_utility.raise_error;
2153: elsif ( p_to_pay_plan in ('NH','NJ','NK') and
2154: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') and
2155: p_effective_date >= fnd_date.canonical_to_date('1998/03/01') ) then
2156: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2156: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2152: hr_utility.raise_error;
2153: elsif ( p_to_pay_plan in ('NH','NJ','NK') and
2154: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') and
2155: p_effective_date >= fnd_date.canonical_to_date('1998/03/01') ) then
2156: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2157: hr_utility.set_message_token('PAY_PLAN','in NH,NJ or NK');
2158: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,DD or NV');
2159: hr_utility.raise_error;
2160: elsif ( p_to_pay_plan in ('AT','EV','FV') and

Line 2157: hr_utility.set_message_token('PAY_PLAN','in NH,NJ or NK');

2153: elsif ( p_to_pay_plan in ('NH','NJ','NK') and
2154: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') and
2155: p_effective_date >= fnd_date.canonical_to_date('1998/03/01') ) then
2156: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2157: hr_utility.set_message_token('PAY_PLAN','in NH,NJ or NK');
2158: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,DD or NV');
2159: hr_utility.raise_error;
2160: elsif ( p_to_pay_plan in ('AT','EV','FV') and
2161: p_effective_date >= fnd_date.canonical_to_date('1998/10/01') and

Line 2158: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,DD or NV');

2154: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') and
2155: p_effective_date >= fnd_date.canonical_to_date('1998/03/01') ) then
2156: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2157: hr_utility.set_message_token('PAY_PLAN','in NH,NJ or NK');
2158: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,DD or NV');
2159: hr_utility.raise_error;
2160: elsif ( p_to_pay_plan in ('AT','EV','FV') and
2161: p_effective_date >= fnd_date.canonical_to_date('1998/10/01') and
2162: p_agency_subelement <> 'TD03' ) then

Line 2159: hr_utility.raise_error;

2155: p_effective_date >= fnd_date.canonical_to_date('1998/03/01') ) then
2156: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2157: hr_utility.set_message_token('PAY_PLAN','in NH,NJ or NK');
2158: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,DD or NV');
2159: hr_utility.raise_error;
2160: elsif ( p_to_pay_plan in ('AT','EV','FV') and
2161: p_effective_date >= fnd_date.canonical_to_date('1998/10/01') and
2162: p_agency_subelement <> 'TD03' ) then
2163: hr_utility.set_location('In pay plan AT', 12);

Line 2163: hr_utility.set_location('In pay plan AT', 12);

2159: hr_utility.raise_error;
2160: elsif ( p_to_pay_plan in ('AT','EV','FV') and
2161: p_effective_date >= fnd_date.canonical_to_date('1998/10/01') and
2162: p_agency_subelement <> 'TD03' ) then
2163: hr_utility.set_location('In pay plan AT', 12);
2164: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2165: hr_utility.set_message_token('PAY_PLAN','in AT,EV or FV');
2166: hr_utility.set_message_token('AGENCY_CODE','TD03');
2167: hr_utility.raise_error;

Line 2164: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2160: elsif ( p_to_pay_plan in ('AT','EV','FV') and
2161: p_effective_date >= fnd_date.canonical_to_date('1998/10/01') and
2162: p_agency_subelement <> 'TD03' ) then
2163: hr_utility.set_location('In pay plan AT', 12);
2164: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2165: hr_utility.set_message_token('PAY_PLAN','in AT,EV or FV');
2166: hr_utility.set_message_token('AGENCY_CODE','TD03');
2167: hr_utility.raise_error;
2168: --

Line 2165: hr_utility.set_message_token('PAY_PLAN','in AT,EV or FV');

2161: p_effective_date >= fnd_date.canonical_to_date('1998/10/01') and
2162: p_agency_subelement <> 'TD03' ) then
2163: hr_utility.set_location('In pay plan AT', 12);
2164: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2165: hr_utility.set_message_token('PAY_PLAN','in AT,EV or FV');
2166: hr_utility.set_message_token('AGENCY_CODE','TD03');
2167: hr_utility.raise_error;
2168: --
2169: -- Deleting entries for Pay Plans - JA,JB,JC,JD,JE. DATE: 14-SEP-2004 for EOY - I

Line 2166: hr_utility.set_message_token('AGENCY_CODE','TD03');

2162: p_agency_subelement <> 'TD03' ) then
2163: hr_utility.set_location('In pay plan AT', 12);
2164: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2165: hr_utility.set_message_token('PAY_PLAN','in AT,EV or FV');
2166: hr_utility.set_message_token('AGENCY_CODE','TD03');
2167: hr_utility.raise_error;
2168: --
2169: -- Deleting entries for Pay Plans - JA,JB,JC,JD,JE. DATE: 14-SEP-2004 for EOY - I
2170: --

Line 2167: hr_utility.raise_error;

2163: hr_utility.set_location('In pay plan AT', 12);
2164: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2165: hr_utility.set_message_token('PAY_PLAN','in AT,EV or FV');
2166: hr_utility.set_message_token('AGENCY_CODE','TD03');
2167: hr_utility.raise_error;
2168: --
2169: -- Deleting entries for Pay Plans - JA,JB,JC,JD,JE. DATE: 14-SEP-2004 for EOY - I
2170: --
2171: /* elsif ( p_to_pay_plan in ( 'JA','JB','JC','JD','JE') and p_agency_subelement <> 'DJ02' ) then

Line 2172: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2168: --
2169: -- Deleting entries for Pay Plans - JA,JB,JC,JD,JE. DATE: 14-SEP-2004 for EOY - I
2170: --
2171: /* elsif ( p_to_pay_plan in ( 'JA','JB','JC','JD','JE') and p_agency_subelement <> 'DJ02' ) then
2172: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2173: hr_utility.set_message_token('PAY_PLAN','in JA,JB,JC,JD or JE');
2174: hr_utility.set_message_token('AGENCY_CODE','DJ02');
2175: hr_utility.raise_error;*/
2176: elsif ( p_to_pay_plan in ( 'EZ') and substr(p_agency_subelement,1,2) <> 'SE' and

Line 2173: hr_utility.set_message_token('PAY_PLAN','in JA,JB,JC,JD or JE');

2169: -- Deleting entries for Pay Plans - JA,JB,JC,JD,JE. DATE: 14-SEP-2004 for EOY - I
2170: --
2171: /* elsif ( p_to_pay_plan in ( 'JA','JB','JC','JD','JE') and p_agency_subelement <> 'DJ02' ) then
2172: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2173: hr_utility.set_message_token('PAY_PLAN','in JA,JB,JC,JD or JE');
2174: hr_utility.set_message_token('AGENCY_CODE','DJ02');
2175: hr_utility.raise_error;*/
2176: elsif ( p_to_pay_plan in ( 'EZ') and substr(p_agency_subelement,1,2) <> 'SE' and
2177: p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') ) then

Line 2174: hr_utility.set_message_token('AGENCY_CODE','DJ02');

2170: --
2171: /* elsif ( p_to_pay_plan in ( 'JA','JB','JC','JD','JE') and p_agency_subelement <> 'DJ02' ) then
2172: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2173: hr_utility.set_message_token('PAY_PLAN','in JA,JB,JC,JD or JE');
2174: hr_utility.set_message_token('AGENCY_CODE','DJ02');
2175: hr_utility.raise_error;*/
2176: elsif ( p_to_pay_plan in ( 'EZ') and substr(p_agency_subelement,1,2) <> 'SE' and
2177: p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') ) then
2178: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2175: hr_utility.raise_error;*/

2171: /* elsif ( p_to_pay_plan in ( 'JA','JB','JC','JD','JE') and p_agency_subelement <> 'DJ02' ) then
2172: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2173: hr_utility.set_message_token('PAY_PLAN','in JA,JB,JC,JD or JE');
2174: hr_utility.set_message_token('AGENCY_CODE','DJ02');
2175: hr_utility.raise_error;*/
2176: elsif ( p_to_pay_plan in ( 'EZ') and substr(p_agency_subelement,1,2) <> 'SE' and
2177: p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') ) then
2178: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2179: hr_utility.set_message_token('PAY_PLAN','EZ');

Line 2178: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2174: hr_utility.set_message_token('AGENCY_CODE','DJ02');
2175: hr_utility.raise_error;*/
2176: elsif ( p_to_pay_plan in ( 'EZ') and substr(p_agency_subelement,1,2) <> 'SE' and
2177: p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') ) then
2178: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2179: hr_utility.set_message_token('PAY_PLAN','EZ');
2180: hr_utility.set_message_token('AGENCY_CODE','SE');
2181: hr_utility.raise_error;
2182: elsif ( p_to_pay_plan in ('NC','NO','NP','NR') and substr(p_agency_subelement,1,2) <> 'NV' and

Line 2179: hr_utility.set_message_token('PAY_PLAN','EZ');

2175: hr_utility.raise_error;*/
2176: elsif ( p_to_pay_plan in ( 'EZ') and substr(p_agency_subelement,1,2) <> 'SE' and
2177: p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') ) then
2178: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2179: hr_utility.set_message_token('PAY_PLAN','EZ');
2180: hr_utility.set_message_token('AGENCY_CODE','SE');
2181: hr_utility.raise_error;
2182: elsif ( p_to_pay_plan in ('NC','NO','NP','NR') and substr(p_agency_subelement,1,2) <> 'NV' and
2183: p_effective_date >= fnd_date.canonical_to_date('19'||'99/04/01') )

Line 2180: hr_utility.set_message_token('AGENCY_CODE','SE');

2176: elsif ( p_to_pay_plan in ( 'EZ') and substr(p_agency_subelement,1,2) <> 'SE' and
2177: p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') ) then
2178: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2179: hr_utility.set_message_token('PAY_PLAN','EZ');
2180: hr_utility.set_message_token('AGENCY_CODE','SE');
2181: hr_utility.raise_error;
2182: elsif ( p_to_pay_plan in ('NC','NO','NP','NR') and substr(p_agency_subelement,1,2) <> 'NV' and
2183: p_effective_date >= fnd_date.canonical_to_date('19'||'99/04/01') )
2184: then

Line 2181: hr_utility.raise_error;

2177: p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') ) then
2178: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2179: hr_utility.set_message_token('PAY_PLAN','EZ');
2180: hr_utility.set_message_token('AGENCY_CODE','SE');
2181: hr_utility.raise_error;
2182: elsif ( p_to_pay_plan in ('NC','NO','NP','NR') and substr(p_agency_subelement,1,2) <> 'NV' and
2183: p_effective_date >= fnd_date.canonical_to_date('19'||'99/04/01') )
2184: then
2185: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2185: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2181: hr_utility.raise_error;
2182: elsif ( p_to_pay_plan in ('NC','NO','NP','NR') and substr(p_agency_subelement,1,2) <> 'NV' and
2183: p_effective_date >= fnd_date.canonical_to_date('19'||'99/04/01') )
2184: then
2185: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2186: hr_utility.set_message_token('PAY_PLAN','in NC,NO,NP or NR');
2187: hr_utility.set_message_token('AGENCY_CODE','NV');
2188: hr_utility.raise_error;
2189: elsif p_to_pay_plan in ('PD') then

Line 2186: hr_utility.set_message_token('PAY_PLAN','in NC,NO,NP or NR');

2182: elsif ( p_to_pay_plan in ('NC','NO','NP','NR') and substr(p_agency_subelement,1,2) <> 'NV' and
2183: p_effective_date >= fnd_date.canonical_to_date('19'||'99/04/01') )
2184: then
2185: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2186: hr_utility.set_message_token('PAY_PLAN','in NC,NO,NP or NR');
2187: hr_utility.set_message_token('AGENCY_CODE','NV');
2188: hr_utility.raise_error;
2189: elsif p_to_pay_plan in ('PD') then
2190: IF ( p_effective_date >= to_date('1999/10/01','yyyy/mm/dd')

Line 2187: hr_utility.set_message_token('AGENCY_CODE','NV');

2183: p_effective_date >= fnd_date.canonical_to_date('19'||'99/04/01') )
2184: then
2185: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2186: hr_utility.set_message_token('PAY_PLAN','in NC,NO,NP or NR');
2187: hr_utility.set_message_token('AGENCY_CODE','NV');
2188: hr_utility.raise_error;
2189: elsif p_to_pay_plan in ('PD') then
2190: IF ( p_effective_date >= to_date('1999/10/01','yyyy/mm/dd')
2191: and p_agency_subelement not in('TR40','DJ15','HSAD','HSBD')

Line 2188: hr_utility.raise_error;

2184: then
2185: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2186: hr_utility.set_message_token('PAY_PLAN','in NC,NO,NP or NR');
2187: hr_utility.set_message_token('AGENCY_CODE','NV');
2188: hr_utility.raise_error;
2189: elsif p_to_pay_plan in ('PD') then
2190: IF ( p_effective_date >= to_date('1999/10/01','yyyy/mm/dd')
2191: and p_agency_subelement not in('TR40','DJ15','HSAD','HSBD')
2192: ) then

Line 2193: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2189: elsif p_to_pay_plan in ('PD') then
2190: IF ( p_effective_date >= to_date('1999/10/01','yyyy/mm/dd')
2191: and p_agency_subelement not in('TR40','DJ15','HSAD','HSBD')
2192: ) then
2193: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2194: hr_utility.set_message_token('PAY_PLAN','PD');
2195: hr_utility.set_message_token('AGENCY_CODE','in TR40,DJ15,HSAD or HSBD');
2196: hr_utility.raise_error;
2197: Elsif( p_effective_date < to_date('1999/10/01','yyyy/mm/dd')

Line 2194: hr_utility.set_message_token('PAY_PLAN','PD');

2190: IF ( p_effective_date >= to_date('1999/10/01','yyyy/mm/dd')
2191: and p_agency_subelement not in('TR40','DJ15','HSAD','HSBD')
2192: ) then
2193: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2194: hr_utility.set_message_token('PAY_PLAN','PD');
2195: hr_utility.set_message_token('AGENCY_CODE','in TR40,DJ15,HSAD or HSBD');
2196: hr_utility.raise_error;
2197: Elsif( p_effective_date < to_date('1999/10/01','yyyy/mm/dd')
2198: and p_agency_subelement not in('DJ15','HSAD','HSBD')

Line 2195: hr_utility.set_message_token('AGENCY_CODE','in TR40,DJ15,HSAD or HSBD');

2191: and p_agency_subelement not in('TR40','DJ15','HSAD','HSBD')
2192: ) then
2193: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2194: hr_utility.set_message_token('PAY_PLAN','PD');
2195: hr_utility.set_message_token('AGENCY_CODE','in TR40,DJ15,HSAD or HSBD');
2196: hr_utility.raise_error;
2197: Elsif( p_effective_date < to_date('1999/10/01','yyyy/mm/dd')
2198: and p_agency_subelement not in('DJ15','HSAD','HSBD')
2199: ) then

Line 2196: hr_utility.raise_error;

2192: ) then
2193: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2194: hr_utility.set_message_token('PAY_PLAN','PD');
2195: hr_utility.set_message_token('AGENCY_CODE','in TR40,DJ15,HSAD or HSBD');
2196: hr_utility.raise_error;
2197: Elsif( p_effective_date < to_date('1999/10/01','yyyy/mm/dd')
2198: and p_agency_subelement not in('DJ15','HSAD','HSBD')
2199: ) then
2200: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2200: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2196: hr_utility.raise_error;
2197: Elsif( p_effective_date < to_date('1999/10/01','yyyy/mm/dd')
2198: and p_agency_subelement not in('DJ15','HSAD','HSBD')
2199: ) then
2200: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2201: hr_utility.set_message_token('PAY_PLAN','PD');
2202: hr_utility.set_message_token('AGENCY_CODE','in DJ15, HSAD or HSBD');
2203: hr_utility.raise_error;
2204: END IF;

Line 2201: hr_utility.set_message_token('PAY_PLAN','PD');

2197: Elsif( p_effective_date < to_date('1999/10/01','yyyy/mm/dd')
2198: and p_agency_subelement not in('DJ15','HSAD','HSBD')
2199: ) then
2200: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2201: hr_utility.set_message_token('PAY_PLAN','PD');
2202: hr_utility.set_message_token('AGENCY_CODE','in DJ15, HSAD or HSBD');
2203: hr_utility.raise_error;
2204: END IF;
2205: elsif ( p_to_pay_plan in ('SK','SO') and substr(p_agency_subelement,1,2) <> 'SE')

Line 2202: hr_utility.set_message_token('AGENCY_CODE','in DJ15, HSAD or HSBD');

2198: and p_agency_subelement not in('DJ15','HSAD','HSBD')
2199: ) then
2200: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2201: hr_utility.set_message_token('PAY_PLAN','PD');
2202: hr_utility.set_message_token('AGENCY_CODE','in DJ15, HSAD or HSBD');
2203: hr_utility.raise_error;
2204: END IF;
2205: elsif ( p_to_pay_plan in ('SK','SO') and substr(p_agency_subelement,1,2) <> 'SE')
2206: then

Line 2203: hr_utility.raise_error;

2199: ) then
2200: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2201: hr_utility.set_message_token('PAY_PLAN','PD');
2202: hr_utility.set_message_token('AGENCY_CODE','in DJ15, HSAD or HSBD');
2203: hr_utility.raise_error;
2204: END IF;
2205: elsif ( p_to_pay_plan in ('SK','SO') and substr(p_agency_subelement,1,2) <> 'SE')
2206: then
2207: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2207: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2203: hr_utility.raise_error;
2204: END IF;
2205: elsif ( p_to_pay_plan in ('SK','SO') and substr(p_agency_subelement,1,2) <> 'SE')
2206: then
2207: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2208: hr_utility.set_message_token('PAY_PLAN','in SK or SO');
2209: hr_utility.set_message_token('AGENCY_CODE','SE');
2210: hr_utility.raise_error;
2211: elsif ( p_to_pay_plan in ('SV','SW') and p_agency_subelement <>'HSBC')

Line 2208: hr_utility.set_message_token('PAY_PLAN','in SK or SO');

2204: END IF;
2205: elsif ( p_to_pay_plan in ('SK','SO') and substr(p_agency_subelement,1,2) <> 'SE')
2206: then
2207: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2208: hr_utility.set_message_token('PAY_PLAN','in SK or SO');
2209: hr_utility.set_message_token('AGENCY_CODE','SE');
2210: hr_utility.raise_error;
2211: elsif ( p_to_pay_plan in ('SV','SW') and p_agency_subelement <>'HSBC')
2212: then

Line 2209: hr_utility.set_message_token('AGENCY_CODE','SE');

2205: elsif ( p_to_pay_plan in ('SK','SO') and substr(p_agency_subelement,1,2) <> 'SE')
2206: then
2207: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2208: hr_utility.set_message_token('PAY_PLAN','in SK or SO');
2209: hr_utility.set_message_token('AGENCY_CODE','SE');
2210: hr_utility.raise_error;
2211: elsif ( p_to_pay_plan in ('SV','SW') and p_agency_subelement <>'HSBC')
2212: then
2213: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2210: hr_utility.raise_error;

2206: then
2207: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2208: hr_utility.set_message_token('PAY_PLAN','in SK or SO');
2209: hr_utility.set_message_token('AGENCY_CODE','SE');
2210: hr_utility.raise_error;
2211: elsif ( p_to_pay_plan in ('SV','SW') and p_agency_subelement <>'HSBC')
2212: then
2213: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2214: hr_utility.set_message_token('PAY_PLAN','in SV or SW');

Line 2213: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2209: hr_utility.set_message_token('AGENCY_CODE','SE');
2210: hr_utility.raise_error;
2211: elsif ( p_to_pay_plan in ('SV','SW') and p_agency_subelement <>'HSBC')
2212: then
2213: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2214: hr_utility.set_message_token('PAY_PLAN','in SV or SW');
2215: hr_utility.set_message_token('AGENCY_CODE','in HSBC');
2216: hr_utility.raise_error;
2217: elsif ( p_to_pay_plan in ('RE','RP') and p_agency_subelement <> 'TR93')

Line 2214: hr_utility.set_message_token('PAY_PLAN','in SV or SW');

2210: hr_utility.raise_error;
2211: elsif ( p_to_pay_plan in ('SV','SW') and p_agency_subelement <>'HSBC')
2212: then
2213: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2214: hr_utility.set_message_token('PAY_PLAN','in SV or SW');
2215: hr_utility.set_message_token('AGENCY_CODE','in HSBC');
2216: hr_utility.raise_error;
2217: elsif ( p_to_pay_plan in ('RE','RP') and p_agency_subelement <> 'TR93')
2218: then

Line 2215: hr_utility.set_message_token('AGENCY_CODE','in HSBC');

2211: elsif ( p_to_pay_plan in ('SV','SW') and p_agency_subelement <>'HSBC')
2212: then
2213: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2214: hr_utility.set_message_token('PAY_PLAN','in SV or SW');
2215: hr_utility.set_message_token('AGENCY_CODE','in HSBC');
2216: hr_utility.raise_error;
2217: elsif ( p_to_pay_plan in ('RE','RP') and p_agency_subelement <> 'TR93')
2218: then
2219: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2216: hr_utility.raise_error;

2212: then
2213: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2214: hr_utility.set_message_token('PAY_PLAN','in SV or SW');
2215: hr_utility.set_message_token('AGENCY_CODE','in HSBC');
2216: hr_utility.raise_error;
2217: elsif ( p_to_pay_plan in ('RE','RP') and p_agency_subelement <> 'TR93')
2218: then
2219: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2220: hr_utility.set_message_token('PAY_PLAN','in RE or RP');

Line 2219: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2215: hr_utility.set_message_token('AGENCY_CODE','in HSBC');
2216: hr_utility.raise_error;
2217: elsif ( p_to_pay_plan in ('RE','RP') and p_agency_subelement <> 'TR93')
2218: then
2219: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2220: hr_utility.set_message_token('PAY_PLAN','in RE or RP');
2221: hr_utility.set_message_token('AGENCY_CODE','TR93');
2222: hr_utility.raise_error;
2223: elsif ( p_to_pay_plan in ('TG') and p_agency_subelement <> 'TR35')

Line 2220: hr_utility.set_message_token('PAY_PLAN','in RE or RP');

2216: hr_utility.raise_error;
2217: elsif ( p_to_pay_plan in ('RE','RP') and p_agency_subelement <> 'TR93')
2218: then
2219: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2220: hr_utility.set_message_token('PAY_PLAN','in RE or RP');
2221: hr_utility.set_message_token('AGENCY_CODE','TR93');
2222: hr_utility.raise_error;
2223: elsif ( p_to_pay_plan in ('TG') and p_agency_subelement <> 'TR35')
2224: then

Line 2221: hr_utility.set_message_token('AGENCY_CODE','TR93');

2217: elsif ( p_to_pay_plan in ('RE','RP') and p_agency_subelement <> 'TR93')
2218: then
2219: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2220: hr_utility.set_message_token('PAY_PLAN','in RE or RP');
2221: hr_utility.set_message_token('AGENCY_CODE','TR93');
2222: hr_utility.raise_error;
2223: elsif ( p_to_pay_plan in ('TG') and p_agency_subelement <> 'TR35')
2224: then
2225: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2222: hr_utility.raise_error;

2218: then
2219: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2220: hr_utility.set_message_token('PAY_PLAN','in RE or RP');
2221: hr_utility.set_message_token('AGENCY_CODE','TR93');
2222: hr_utility.raise_error;
2223: elsif ( p_to_pay_plan in ('TG') and p_agency_subelement <> 'TR35')
2224: then
2225: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2226: hr_utility.set_message_token('PAY_PLAN','TG');

Line 2225: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2221: hr_utility.set_message_token('AGENCY_CODE','TR93');
2222: hr_utility.raise_error;
2223: elsif ( p_to_pay_plan in ('TG') and p_agency_subelement <> 'TR35')
2224: then
2225: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2226: hr_utility.set_message_token('PAY_PLAN','TG');
2227: hr_utility.set_message_token('AGENCY_CODE','TR35');
2228: hr_utility.raise_error;
2229: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and

Line 2226: hr_utility.set_message_token('PAY_PLAN','TG');

2222: hr_utility.raise_error;
2223: elsif ( p_to_pay_plan in ('TG') and p_agency_subelement <> 'TR35')
2224: then
2225: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2226: hr_utility.set_message_token('PAY_PLAN','TG');
2227: hr_utility.set_message_token('AGENCY_CODE','TR35');
2228: hr_utility.raise_error;
2229: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2230: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')

Line 2227: hr_utility.set_message_token('AGENCY_CODE','TR35');

2223: elsif ( p_to_pay_plan in ('TG') and p_agency_subelement <> 'TR35')
2224: then
2225: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2226: hr_utility.set_message_token('PAY_PLAN','TG');
2227: hr_utility.set_message_token('AGENCY_CODE','TR35');
2228: hr_utility.raise_error;
2229: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2230: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')
2231: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST')) )

Line 2228: hr_utility.raise_error;

2224: then
2225: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2226: hr_utility.set_message_token('PAY_PLAN','TG');
2227: hr_utility.set_message_token('AGENCY_CODE','TR35');
2228: hr_utility.raise_error;
2229: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2230: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')
2231: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST')) )
2232: then

Line 2233: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2229: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2230: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')
2231: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST')) )
2232: then
2233: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2234: hr_utility.set_message_token('PAY_PLAN','AF');
2235: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB,PU or ST');
2236: hr_utility.raise_error;
2237:

Line 2234: hr_utility.set_message_token('PAY_PLAN','AF');

2230: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')
2231: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST')) )
2232: then
2233: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2234: hr_utility.set_message_token('PAY_PLAN','AF');
2235: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB,PU or ST');
2236: hr_utility.raise_error;
2237:
2238: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and

Line 2235: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB,PU or ST');

2231: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST')) )
2232: then
2233: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2234: hr_utility.set_message_token('PAY_PLAN','AF');
2235: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB,PU or ST');
2236: hr_utility.raise_error;
2237:
2238: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2239: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')

Line 2236: hr_utility.raise_error;

2232: then
2233: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2234: hr_utility.set_message_token('PAY_PLAN','AF');
2235: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB,PU or ST');
2236: hr_utility.raise_error;
2237:
2238: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2239: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')
2240: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU')) )

Line 2242: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2238: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2239: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')
2240: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU')) )
2241: then
2242: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2243: hr_utility.set_message_token('PAY_PLAN','AF');
2244: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB or PU ');
2245: hr_utility.raise_error;
2246: elsif ( p_to_pay_plan in ('AG') and substr(p_agency_subelement,1,2) <> 'FD' )

Line 2243: hr_utility.set_message_token('PAY_PLAN','AF');

2239: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')
2240: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU')) )
2241: then
2242: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2243: hr_utility.set_message_token('PAY_PLAN','AF');
2244: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB or PU ');
2245: hr_utility.raise_error;
2246: elsif ( p_to_pay_plan in ('AG') and substr(p_agency_subelement,1,2) <> 'FD' )
2247: then

Line 2244: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB or PU ');

2240: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU')) )
2241: then
2242: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2243: hr_utility.set_message_token('PAY_PLAN','AF');
2244: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB or PU ');
2245: hr_utility.raise_error;
2246: elsif ( p_to_pay_plan in ('AG') and substr(p_agency_subelement,1,2) <> 'FD' )
2247: then
2248: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2245: hr_utility.raise_error;

2241: then
2242: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2243: hr_utility.set_message_token('PAY_PLAN','AF');
2244: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB or PU ');
2245: hr_utility.raise_error;
2246: elsif ( p_to_pay_plan in ('AG') and substr(p_agency_subelement,1,2) <> 'FD' )
2247: then
2248: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2249: hr_utility.set_message_token('PAY_PLAN','AG');

Line 2248: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2244: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB or PU ');
2245: hr_utility.raise_error;
2246: elsif ( p_to_pay_plan in ('AG') and substr(p_agency_subelement,1,2) <> 'FD' )
2247: then
2248: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2249: hr_utility.set_message_token('PAY_PLAN','AG');
2250: hr_utility.set_message_token('AGENCY_CODE','FD');
2251: hr_utility.raise_error;
2252: elsif ( p_to_pay_plan in ('CU') and substr(p_agency_subelement,1,2) <> 'CU' )

Line 2249: hr_utility.set_message_token('PAY_PLAN','AG');

2245: hr_utility.raise_error;
2246: elsif ( p_to_pay_plan in ('AG') and substr(p_agency_subelement,1,2) <> 'FD' )
2247: then
2248: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2249: hr_utility.set_message_token('PAY_PLAN','AG');
2250: hr_utility.set_message_token('AGENCY_CODE','FD');
2251: hr_utility.raise_error;
2252: elsif ( p_to_pay_plan in ('CU') and substr(p_agency_subelement,1,2) <> 'CU' )
2253: then

Line 2250: hr_utility.set_message_token('AGENCY_CODE','FD');

2246: elsif ( p_to_pay_plan in ('AG') and substr(p_agency_subelement,1,2) <> 'FD' )
2247: then
2248: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2249: hr_utility.set_message_token('PAY_PLAN','AG');
2250: hr_utility.set_message_token('AGENCY_CODE','FD');
2251: hr_utility.raise_error;
2252: elsif ( p_to_pay_plan in ('CU') and substr(p_agency_subelement,1,2) <> 'CU' )
2253: then
2254: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2251: hr_utility.raise_error;

2247: then
2248: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2249: hr_utility.set_message_token('PAY_PLAN','AG');
2250: hr_utility.set_message_token('AGENCY_CODE','FD');
2251: hr_utility.raise_error;
2252: elsif ( p_to_pay_plan in ('CU') and substr(p_agency_subelement,1,2) <> 'CU' )
2253: then
2254: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2255: hr_utility.set_message_token('PAY_PLAN','CU');

Line 2254: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2250: hr_utility.set_message_token('AGENCY_CODE','FD');
2251: hr_utility.raise_error;
2252: elsif ( p_to_pay_plan in ('CU') and substr(p_agency_subelement,1,2) <> 'CU' )
2253: then
2254: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2255: hr_utility.set_message_token('PAY_PLAN','CU');
2256: hr_utility.set_message_token('AGENCY_CODE','CU');
2257: hr_utility.raise_error;
2258: --

Line 2255: hr_utility.set_message_token('PAY_PLAN','CU');

2251: hr_utility.raise_error;
2252: elsif ( p_to_pay_plan in ('CU') and substr(p_agency_subelement,1,2) <> 'CU' )
2253: then
2254: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2255: hr_utility.set_message_token('PAY_PLAN','CU');
2256: hr_utility.set_message_token('AGENCY_CODE','CU');
2257: hr_utility.raise_error;
2258: --
2259: -- Deleting entries for Pay Plans - DL. DATE: 14-SEP-2004 for EOY - I

Line 2256: hr_utility.set_message_token('AGENCY_CODE','CU');

2252: elsif ( p_to_pay_plan in ('CU') and substr(p_agency_subelement,1,2) <> 'CU' )
2253: then
2254: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2255: hr_utility.set_message_token('PAY_PLAN','CU');
2256: hr_utility.set_message_token('AGENCY_CODE','CU');
2257: hr_utility.raise_error;
2258: --
2259: -- Deleting entries for Pay Plans - DL. DATE: 14-SEP-2004 for EOY - I
2260: --

Line 2257: hr_utility.raise_error;

2253: then
2254: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2255: hr_utility.set_message_token('PAY_PLAN','CU');
2256: hr_utility.set_message_token('AGENCY_CODE','CU');
2257: hr_utility.raise_error;
2258: --
2259: -- Deleting entries for Pay Plans - DL. DATE: 14-SEP-2004 for EOY - I
2260: --
2261: /*elsif ( p_to_pay_plan in ('DL') and substr(p_agency_subelement,1,2) <> 'VA' )

Line 2263: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2259: -- Deleting entries for Pay Plans - DL. DATE: 14-SEP-2004 for EOY - I
2260: --
2261: /*elsif ( p_to_pay_plan in ('DL') and substr(p_agency_subelement,1,2) <> 'VA' )
2262: then
2263: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2264: hr_utility.set_message_token('PAY_PLAN','DL');
2265: hr_utility.set_message_token('AGENCY_CODE','VA');
2266: hr_utility.raise_error; */
2267: elsif ( p_to_pay_plan in ('DN') and substr(p_agency_subelement,1,2) <> 'BF' )

Line 2264: hr_utility.set_message_token('PAY_PLAN','DL');

2260: --
2261: /*elsif ( p_to_pay_plan in ('DL') and substr(p_agency_subelement,1,2) <> 'VA' )
2262: then
2263: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2264: hr_utility.set_message_token('PAY_PLAN','DL');
2265: hr_utility.set_message_token('AGENCY_CODE','VA');
2266: hr_utility.raise_error; */
2267: elsif ( p_to_pay_plan in ('DN') and substr(p_agency_subelement,1,2) <> 'BF' )
2268: then

Line 2265: hr_utility.set_message_token('AGENCY_CODE','VA');

2261: /*elsif ( p_to_pay_plan in ('DL') and substr(p_agency_subelement,1,2) <> 'VA' )
2262: then
2263: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2264: hr_utility.set_message_token('PAY_PLAN','DL');
2265: hr_utility.set_message_token('AGENCY_CODE','VA');
2266: hr_utility.raise_error; */
2267: elsif ( p_to_pay_plan in ('DN') and substr(p_agency_subelement,1,2) <> 'BF' )
2268: then
2269: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2266: hr_utility.raise_error; */

2262: then
2263: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2264: hr_utility.set_message_token('PAY_PLAN','DL');
2265: hr_utility.set_message_token('AGENCY_CODE','VA');
2266: hr_utility.raise_error; */
2267: elsif ( p_to_pay_plan in ('DN') and substr(p_agency_subelement,1,2) <> 'BF' )
2268: then
2269: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2270: hr_utility.set_message_token('PAY_PLAN','DN');

Line 2269: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2265: hr_utility.set_message_token('AGENCY_CODE','VA');
2266: hr_utility.raise_error; */
2267: elsif ( p_to_pay_plan in ('DN') and substr(p_agency_subelement,1,2) <> 'BF' )
2268: then
2269: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2270: hr_utility.set_message_token('PAY_PLAN','DN');
2271: hr_utility.set_message_token('AGENCY_CODE','BF');
2272: hr_utility.raise_error;
2273: elsif ( p_to_pay_plan in ('EN') and substr(p_agency_subelement,1,2) <> 'DN' )

Line 2270: hr_utility.set_message_token('PAY_PLAN','DN');

2266: hr_utility.raise_error; */
2267: elsif ( p_to_pay_plan in ('DN') and substr(p_agency_subelement,1,2) <> 'BF' )
2268: then
2269: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2270: hr_utility.set_message_token('PAY_PLAN','DN');
2271: hr_utility.set_message_token('AGENCY_CODE','BF');
2272: hr_utility.raise_error;
2273: elsif ( p_to_pay_plan in ('EN') and substr(p_agency_subelement,1,2) <> 'DN' )
2274: then

Line 2271: hr_utility.set_message_token('AGENCY_CODE','BF');

2267: elsif ( p_to_pay_plan in ('DN') and substr(p_agency_subelement,1,2) <> 'BF' )
2268: then
2269: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2270: hr_utility.set_message_token('PAY_PLAN','DN');
2271: hr_utility.set_message_token('AGENCY_CODE','BF');
2272: hr_utility.raise_error;
2273: elsif ( p_to_pay_plan in ('EN') and substr(p_agency_subelement,1,2) <> 'DN' )
2274: then
2275: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2272: hr_utility.raise_error;

2268: then
2269: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2270: hr_utility.set_message_token('PAY_PLAN','DN');
2271: hr_utility.set_message_token('AGENCY_CODE','BF');
2272: hr_utility.raise_error;
2273: elsif ( p_to_pay_plan in ('EN') and substr(p_agency_subelement,1,2) <> 'DN' )
2274: then
2275: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2276: hr_utility.set_message_token('PAY_PLAN','EN');

Line 2275: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2271: hr_utility.set_message_token('AGENCY_CODE','BF');
2272: hr_utility.raise_error;
2273: elsif ( p_to_pay_plan in ('EN') and substr(p_agency_subelement,1,2) <> 'DN' )
2274: then
2275: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2276: hr_utility.set_message_token('PAY_PLAN','EN');
2277: hr_utility.set_message_token('AGENCY_CODE','DN');
2278: hr_utility.raise_error;
2279: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and

Line 2276: hr_utility.set_message_token('PAY_PLAN','EN');

2272: hr_utility.raise_error;
2273: elsif ( p_to_pay_plan in ('EN') and substr(p_agency_subelement,1,2) <> 'DN' )
2274: then
2275: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2276: hr_utility.set_message_token('PAY_PLAN','EN');
2277: hr_utility.set_message_token('AGENCY_CODE','DN');
2278: hr_utility.raise_error;
2279: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2280: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')

Line 2277: hr_utility.set_message_token('AGENCY_CODE','DN');

2273: elsif ( p_to_pay_plan in ('EN') and substr(p_agency_subelement,1,2) <> 'DN' )
2274: then
2275: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2276: hr_utility.set_message_token('PAY_PLAN','EN');
2277: hr_utility.set_message_token('AGENCY_CODE','DN');
2278: hr_utility.raise_error;
2279: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2280: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2281: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )

Line 2278: hr_utility.raise_error;

2274: then
2275: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2276: hr_utility.set_message_token('PAY_PLAN','EN');
2277: hr_utility.set_message_token('AGENCY_CODE','DN');
2278: hr_utility.raise_error;
2279: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2280: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2281: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2282: then

Line 2283: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2279: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2280: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2281: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2282: then
2283: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2284: hr_utility.set_message_token('PAY_PLAN','FE');
2285: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2286: hr_utility.raise_error;
2287: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and

Line 2284: hr_utility.set_message_token('PAY_PLAN','FE');

2280: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2281: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2282: then
2283: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2284: hr_utility.set_message_token('PAY_PLAN','FE');
2285: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2286: hr_utility.raise_error;
2287: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2288: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')

Line 2285: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');

2281: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2282: then
2283: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2284: hr_utility.set_message_token('PAY_PLAN','FE');
2285: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2286: hr_utility.raise_error;
2287: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2288: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2289: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )

Line 2286: hr_utility.raise_error;

2282: then
2283: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2284: hr_utility.set_message_token('PAY_PLAN','FE');
2285: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2286: hr_utility.raise_error;
2287: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2288: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2289: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2290: then

Line 2291: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2287: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2288: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2289: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2290: then
2291: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2292: hr_utility.set_message_token('PAY_PLAN','FE');
2293: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2294: hr_utility.raise_error;
2295: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and

Line 2292: hr_utility.set_message_token('PAY_PLAN','FE');

2288: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2289: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2290: then
2291: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2292: hr_utility.set_message_token('PAY_PLAN','FE');
2293: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2294: hr_utility.raise_error;
2295: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2296: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')

Line 2293: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');

2289: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2290: then
2291: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2292: hr_utility.set_message_token('PAY_PLAN','FE');
2293: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2294: hr_utility.raise_error;
2295: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2296: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2297: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST','HS')) )

Line 2294: hr_utility.raise_error;

2290: then
2291: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2292: hr_utility.set_message_token('PAY_PLAN','FE');
2293: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2294: hr_utility.raise_error;
2295: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2296: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2297: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST','HS')) )
2298: then

Line 2299: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2295: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2296: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2297: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST','HS')) )
2298: then
2299: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2300: hr_utility.set_message_token('PAY_PLAN','FO');
2301: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU,HS or ST');
2302: hr_utility.raise_error;
2303: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and

Line 2300: hr_utility.set_message_token('PAY_PLAN','FO');

2296: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2297: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST','HS')) )
2298: then
2299: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2300: hr_utility.set_message_token('PAY_PLAN','FO');
2301: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU,HS or ST');
2302: hr_utility.raise_error;
2303: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2304: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')

Line 2301: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU,HS or ST');

2297: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST','HS')) )
2298: then
2299: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2300: hr_utility.set_message_token('PAY_PLAN','FO');
2301: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU,HS or ST');
2302: hr_utility.raise_error;
2303: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2304: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2305: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','HS')) )

Line 2302: hr_utility.raise_error;

2298: then
2299: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2300: hr_utility.set_message_token('PAY_PLAN','FO');
2301: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU,HS or ST');
2302: hr_utility.raise_error;
2303: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2304: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2305: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','HS')) )
2306: then

Line 2307: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2303: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2304: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2305: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','HS')) )
2306: then
2307: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2308: hr_utility.set_message_token('PAY_PLAN','FO');
2309: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU or HS');
2310: hr_utility.raise_error;
2311: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and

Line 2308: hr_utility.set_message_token('PAY_PLAN','FO');

2304: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2305: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','HS')) )
2306: then
2307: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2308: hr_utility.set_message_token('PAY_PLAN','FO');
2309: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU or HS');
2310: hr_utility.raise_error;
2311: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2312: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')

Line 2309: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU or HS');

2305: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','HS')) )
2306: then
2307: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2308: hr_utility.set_message_token('PAY_PLAN','FO');
2309: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU or HS');
2310: hr_utility.raise_error;
2311: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2312: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2313: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )

Line 2310: hr_utility.raise_error;

2306: then
2307: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2308: hr_utility.set_message_token('PAY_PLAN','FO');
2309: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU or HS');
2310: hr_utility.raise_error;
2311: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2312: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2313: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2314: then

Line 2315: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2311: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2312: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2313: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2314: then
2315: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2316: hr_utility.set_message_token('PAY_PLAN','FP');
2317: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2318: hr_utility.raise_error;
2319: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and

Line 2316: hr_utility.set_message_token('PAY_PLAN','FP');

2312: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2313: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2314: then
2315: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2316: hr_utility.set_message_token('PAY_PLAN','FP');
2317: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2318: hr_utility.raise_error;
2319: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2320: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')

Line 2317: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');

2313: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2314: then
2315: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2316: hr_utility.set_message_token('PAY_PLAN','FP');
2317: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2318: hr_utility.raise_error;
2319: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2320: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2321: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )

Line 2318: hr_utility.raise_error;

2314: then
2315: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2316: hr_utility.set_message_token('PAY_PLAN','FP');
2317: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2318: hr_utility.raise_error;
2319: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2320: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2321: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2322: then

Line 2323: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2319: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2320: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2321: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2322: then
2323: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2324: hr_utility.set_message_token('PAY_PLAN','FP');
2325: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2326: hr_utility.raise_error;
2327: elsif ( p_to_pay_plan in ('IE') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )

Line 2324: hr_utility.set_message_token('PAY_PLAN','FP');

2320: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2321: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2322: then
2323: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2324: hr_utility.set_message_token('PAY_PLAN','FP');
2325: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2326: hr_utility.raise_error;
2327: elsif ( p_to_pay_plan in ('IE') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2328: then

Line 2325: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');

2321: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2322: then
2323: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2324: hr_utility.set_message_token('PAY_PLAN','FP');
2325: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2326: hr_utility.raise_error;
2327: elsif ( p_to_pay_plan in ('IE') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2328: then
2329: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2326: hr_utility.raise_error;

2322: then
2323: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2324: hr_utility.set_message_token('PAY_PLAN','FP');
2325: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2326: hr_utility.raise_error;
2327: elsif ( p_to_pay_plan in ('IE') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2328: then
2329: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2330: hr_utility.set_message_token('PAY_PLAN','IE');

Line 2329: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2325: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2326: hr_utility.raise_error;
2327: elsif ( p_to_pay_plan in ('IE') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2328: then
2329: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2330: hr_utility.set_message_token('PAY_PLAN','IE');
2331: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2332: hr_utility.raise_error;
2333: elsif ( p_to_pay_plan in ('IP') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )

Line 2330: hr_utility.set_message_token('PAY_PLAN','IE');

2326: hr_utility.raise_error;
2327: elsif ( p_to_pay_plan in ('IE') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2328: then
2329: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2330: hr_utility.set_message_token('PAY_PLAN','IE');
2331: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2332: hr_utility.raise_error;
2333: elsif ( p_to_pay_plan in ('IP') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2334: then

Line 2331: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');

2327: elsif ( p_to_pay_plan in ('IE') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2328: then
2329: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2330: hr_utility.set_message_token('PAY_PLAN','IE');
2331: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2332: hr_utility.raise_error;
2333: elsif ( p_to_pay_plan in ('IP') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2334: then
2335: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2332: hr_utility.raise_error;

2328: then
2329: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2330: hr_utility.set_message_token('PAY_PLAN','IE');
2331: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2332: hr_utility.raise_error;
2333: elsif ( p_to_pay_plan in ('IP') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2334: then
2335: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2336: hr_utility.set_message_token('PAY_PLAN','IP');

Line 2335: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2331: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2332: hr_utility.raise_error;
2333: elsif ( p_to_pay_plan in ('IP') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2334: then
2335: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2336: hr_utility.set_message_token('PAY_PLAN','IP');
2337: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2338: hr_utility.raise_error;
2339: elsif ( p_to_pay_plan in ('PG') and substr(p_agency_subelement,1,2) <> 'LP' )

Line 2336: hr_utility.set_message_token('PAY_PLAN','IP');

2332: hr_utility.raise_error;
2333: elsif ( p_to_pay_plan in ('IP') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2334: then
2335: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2336: hr_utility.set_message_token('PAY_PLAN','IP');
2337: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2338: hr_utility.raise_error;
2339: elsif ( p_to_pay_plan in ('PG') and substr(p_agency_subelement,1,2) <> 'LP' )
2340: then

Line 2337: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');

2333: elsif ( p_to_pay_plan in ('IP') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2334: then
2335: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2336: hr_utility.set_message_token('PAY_PLAN','IP');
2337: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2338: hr_utility.raise_error;
2339: elsif ( p_to_pay_plan in ('PG') and substr(p_agency_subelement,1,2) <> 'LP' )
2340: then
2341: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2338: hr_utility.raise_error;

2334: then
2335: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2336: hr_utility.set_message_token('PAY_PLAN','IP');
2337: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2338: hr_utility.raise_error;
2339: elsif ( p_to_pay_plan in ('PG') and substr(p_agency_subelement,1,2) <> 'LP' )
2340: then
2341: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2342: hr_utility.set_message_token('PAY_PLAN','PG');

Line 2341: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2337: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2338: hr_utility.raise_error;
2339: elsif ( p_to_pay_plan in ('PG') and substr(p_agency_subelement,1,2) <> 'LP' )
2340: then
2341: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2342: hr_utility.set_message_token('PAY_PLAN','PG');
2343: hr_utility.set_message_token('AGENCY_CODE','LP');
2344: hr_utility.raise_error;
2345: elsif ( p_to_pay_plan in ('RS') and substr(p_agency_subelement,1,2) <> 'HE' )

Line 2342: hr_utility.set_message_token('PAY_PLAN','PG');

2338: hr_utility.raise_error;
2339: elsif ( p_to_pay_plan in ('PG') and substr(p_agency_subelement,1,2) <> 'LP' )
2340: then
2341: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2342: hr_utility.set_message_token('PAY_PLAN','PG');
2343: hr_utility.set_message_token('AGENCY_CODE','LP');
2344: hr_utility.raise_error;
2345: elsif ( p_to_pay_plan in ('RS') and substr(p_agency_subelement,1,2) <> 'HE' )
2346: then

Line 2343: hr_utility.set_message_token('AGENCY_CODE','LP');

2339: elsif ( p_to_pay_plan in ('PG') and substr(p_agency_subelement,1,2) <> 'LP' )
2340: then
2341: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2342: hr_utility.set_message_token('PAY_PLAN','PG');
2343: hr_utility.set_message_token('AGENCY_CODE','LP');
2344: hr_utility.raise_error;
2345: elsif ( p_to_pay_plan in ('RS') and substr(p_agency_subelement,1,2) <> 'HE' )
2346: then
2347: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2344: hr_utility.raise_error;

2340: then
2341: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2342: hr_utility.set_message_token('PAY_PLAN','PG');
2343: hr_utility.set_message_token('AGENCY_CODE','LP');
2344: hr_utility.raise_error;
2345: elsif ( p_to_pay_plan in ('RS') and substr(p_agency_subelement,1,2) <> 'HE' )
2346: then
2347: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2348: hr_utility.set_message_token('PAY_PLAN','RS');

Line 2347: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2343: hr_utility.set_message_token('AGENCY_CODE','LP');
2344: hr_utility.raise_error;
2345: elsif ( p_to_pay_plan in ('RS') and substr(p_agency_subelement,1,2) <> 'HE' )
2346: then
2347: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2348: hr_utility.set_message_token('PAY_PLAN','RS');
2349: hr_utility.set_message_token('AGENCY_CODE','HE');
2350: hr_utility.raise_error;
2351: elsif ( p_to_pay_plan in ('SS') and substr(p_agency_subelement,1,2) <> 'CU' )

Line 2348: hr_utility.set_message_token('PAY_PLAN','RS');

2344: hr_utility.raise_error;
2345: elsif ( p_to_pay_plan in ('RS') and substr(p_agency_subelement,1,2) <> 'HE' )
2346: then
2347: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2348: hr_utility.set_message_token('PAY_PLAN','RS');
2349: hr_utility.set_message_token('AGENCY_CODE','HE');
2350: hr_utility.raise_error;
2351: elsif ( p_to_pay_plan in ('SS') and substr(p_agency_subelement,1,2) <> 'CU' )
2352: then

Line 2349: hr_utility.set_message_token('AGENCY_CODE','HE');

2345: elsif ( p_to_pay_plan in ('RS') and substr(p_agency_subelement,1,2) <> 'HE' )
2346: then
2347: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2348: hr_utility.set_message_token('PAY_PLAN','RS');
2349: hr_utility.set_message_token('AGENCY_CODE','HE');
2350: hr_utility.raise_error;
2351: elsif ( p_to_pay_plan in ('SS') and substr(p_agency_subelement,1,2) <> 'CU' )
2352: then
2353: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2350: hr_utility.raise_error;

2346: then
2347: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2348: hr_utility.set_message_token('PAY_PLAN','RS');
2349: hr_utility.set_message_token('AGENCY_CODE','HE');
2350: hr_utility.raise_error;
2351: elsif ( p_to_pay_plan in ('SS') and substr(p_agency_subelement,1,2) <> 'CU' )
2352: then
2353: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2354: hr_utility.set_message_token('PAY_PLAN','SS');

Line 2353: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2349: hr_utility.set_message_token('AGENCY_CODE','HE');
2350: hr_utility.raise_error;
2351: elsif ( p_to_pay_plan in ('SS') and substr(p_agency_subelement,1,2) <> 'CU' )
2352: then
2353: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2354: hr_utility.set_message_token('PAY_PLAN','SS');
2355: hr_utility.set_message_token('AGENCY_CODE','CU');
2356: hr_utility.raise_error;
2357: --Begin Bug 9503972

Line 2354: hr_utility.set_message_token('PAY_PLAN','SS');

2350: hr_utility.raise_error;
2351: elsif ( p_to_pay_plan in ('SS') and substr(p_agency_subelement,1,2) <> 'CU' )
2352: then
2353: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2354: hr_utility.set_message_token('PAY_PLAN','SS');
2355: hr_utility.set_message_token('AGENCY_CODE','CU');
2356: hr_utility.raise_error;
2357: --Begin Bug 9503972
2358: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND

Line 2355: hr_utility.set_message_token('AGENCY_CODE','CU');

2351: elsif ( p_to_pay_plan in ('SS') and substr(p_agency_subelement,1,2) <> 'CU' )
2352: then
2353: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2354: hr_utility.set_message_token('PAY_PLAN','SS');
2355: hr_utility.set_message_token('AGENCY_CODE','CU');
2356: hr_utility.raise_error;
2357: --Begin Bug 9503972
2358: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2359: ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) NOT IN ('FY','HF')) then

Line 2356: hr_utility.raise_error;

2352: then
2353: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2354: hr_utility.set_message_token('PAY_PLAN','SS');
2355: hr_utility.set_message_token('AGENCY_CODE','CU');
2356: hr_utility.raise_error;
2357: --Begin Bug 9503972
2358: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2359: ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) NOT IN ('FY','HF')) then
2360: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2360: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2356: hr_utility.raise_error;
2357: --Begin Bug 9503972
2358: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2359: ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) NOT IN ('FY','HF')) then
2360: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2361: hr_utility.set_message_token('PAY_PLAN','TM');
2362: hr_utility.set_message_token('AGENCY_CODE','FY, HF');
2363: hr_utility.raise_error;
2364: --End Bug 9503972

Line 2361: hr_utility.set_message_token('PAY_PLAN','TM');

2357: --Begin Bug 9503972
2358: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2359: ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) NOT IN ('FY','HF')) then
2360: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2361: hr_utility.set_message_token('PAY_PLAN','TM');
2362: hr_utility.set_message_token('AGENCY_CODE','FY, HF');
2363: hr_utility.raise_error;
2364: --End Bug 9503972
2365: elsif ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) <> 'FY' )

Line 2362: hr_utility.set_message_token('AGENCY_CODE','FY, HF');

2358: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2359: ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) NOT IN ('FY','HF')) then
2360: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2361: hr_utility.set_message_token('PAY_PLAN','TM');
2362: hr_utility.set_message_token('AGENCY_CODE','FY, HF');
2363: hr_utility.raise_error;
2364: --End Bug 9503972
2365: elsif ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) <> 'FY' )
2366: then

Line 2363: hr_utility.raise_error;

2359: ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) NOT IN ('FY','HF')) then
2360: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2361: hr_utility.set_message_token('PAY_PLAN','TM');
2362: hr_utility.set_message_token('AGENCY_CODE','FY, HF');
2363: hr_utility.raise_error;
2364: --End Bug 9503972
2365: elsif ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) <> 'FY' )
2366: then
2367: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2367: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2363: hr_utility.raise_error;
2364: --End Bug 9503972
2365: elsif ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) <> 'FY' )
2366: then
2367: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2368: hr_utility.set_message_token('PAY_PLAN','TM');
2369: hr_utility.set_message_token('AGENCY_CODE','FY');
2370: hr_utility.raise_error;
2371: elsif ( p_to_pay_plan in ('VG') and substr(p_agency_subelement,1,2) not in ('FK','FL') )

Line 2368: hr_utility.set_message_token('PAY_PLAN','TM');

2364: --End Bug 9503972
2365: elsif ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) <> 'FY' )
2366: then
2367: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2368: hr_utility.set_message_token('PAY_PLAN','TM');
2369: hr_utility.set_message_token('AGENCY_CODE','FY');
2370: hr_utility.raise_error;
2371: elsif ( p_to_pay_plan in ('VG') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2372: then

Line 2369: hr_utility.set_message_token('AGENCY_CODE','FY');

2365: elsif ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) <> 'FY' )
2366: then
2367: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2368: hr_utility.set_message_token('PAY_PLAN','TM');
2369: hr_utility.set_message_token('AGENCY_CODE','FY');
2370: hr_utility.raise_error;
2371: elsif ( p_to_pay_plan in ('VG') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2372: then
2373: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2370: hr_utility.raise_error;

2366: then
2367: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2368: hr_utility.set_message_token('PAY_PLAN','TM');
2369: hr_utility.set_message_token('AGENCY_CODE','FY');
2370: hr_utility.raise_error;
2371: elsif ( p_to_pay_plan in ('VG') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2372: then
2373: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2374: hr_utility.set_message_token('PAY_PLAN','VG');

Line 2373: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2369: hr_utility.set_message_token('AGENCY_CODE','FY');
2370: hr_utility.raise_error;
2371: elsif ( p_to_pay_plan in ('VG') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2372: then
2373: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2374: hr_utility.set_message_token('PAY_PLAN','VG');
2375: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2376: hr_utility.raise_error;
2377: elsif ( p_to_pay_plan in ('VH') and substr(p_agency_subelement,1,2) not in ('FK','FL') )

Line 2374: hr_utility.set_message_token('PAY_PLAN','VG');

2370: hr_utility.raise_error;
2371: elsif ( p_to_pay_plan in ('VG') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2372: then
2373: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2374: hr_utility.set_message_token('PAY_PLAN','VG');
2375: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2376: hr_utility.raise_error;
2377: elsif ( p_to_pay_plan in ('VH') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2378: then

Line 2375: hr_utility.set_message_token('AGENCY_CODE','FK or FL');

2371: elsif ( p_to_pay_plan in ('VG') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2372: then
2373: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2374: hr_utility.set_message_token('PAY_PLAN','VG');
2375: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2376: hr_utility.raise_error;
2377: elsif ( p_to_pay_plan in ('VH') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2378: then
2379: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2376: hr_utility.raise_error;

2372: then
2373: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2374: hr_utility.set_message_token('PAY_PLAN','VG');
2375: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2376: hr_utility.raise_error;
2377: elsif ( p_to_pay_plan in ('VH') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2378: then
2379: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2380: hr_utility.set_message_token('PAY_PLAN','VH');

Line 2379: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2375: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2376: hr_utility.raise_error;
2377: elsif ( p_to_pay_plan in ('VH') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2378: then
2379: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2380: hr_utility.set_message_token('PAY_PLAN','VH');
2381: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2382: hr_utility.raise_error;
2383: elsif ( p_to_pay_plan in ('XF') and substr(p_agency_subelement,1,2) <> 'AR' )

Line 2380: hr_utility.set_message_token('PAY_PLAN','VH');

2376: hr_utility.raise_error;
2377: elsif ( p_to_pay_plan in ('VH') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2378: then
2379: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2380: hr_utility.set_message_token('PAY_PLAN','VH');
2381: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2382: hr_utility.raise_error;
2383: elsif ( p_to_pay_plan in ('XF') and substr(p_agency_subelement,1,2) <> 'AR' )
2384: then

Line 2381: hr_utility.set_message_token('AGENCY_CODE','FK or FL');

2377: elsif ( p_to_pay_plan in ('VH') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2378: then
2379: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2380: hr_utility.set_message_token('PAY_PLAN','VH');
2381: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2382: hr_utility.raise_error;
2383: elsif ( p_to_pay_plan in ('XF') and substr(p_agency_subelement,1,2) <> 'AR' )
2384: then
2385: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2382: hr_utility.raise_error;

2378: then
2379: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2380: hr_utility.set_message_token('PAY_PLAN','VH');
2381: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2382: hr_utility.raise_error;
2383: elsif ( p_to_pay_plan in ('XF') and substr(p_agency_subelement,1,2) <> 'AR' )
2384: then
2385: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2386: hr_utility.set_message_token('PAY_PLAN','XF');

Line 2385: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2381: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2382: hr_utility.raise_error;
2383: elsif ( p_to_pay_plan in ('XF') and substr(p_agency_subelement,1,2) <> 'AR' )
2384: then
2385: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2386: hr_utility.set_message_token('PAY_PLAN','XF');
2387: hr_utility.set_message_token('AGENCY_CODE','AR');
2388: hr_utility.raise_error;
2389: elsif ( p_to_pay_plan in ('XG') and substr(p_agency_subelement,1,2) <> 'AR' )

Line 2386: hr_utility.set_message_token('PAY_PLAN','XF');

2382: hr_utility.raise_error;
2383: elsif ( p_to_pay_plan in ('XF') and substr(p_agency_subelement,1,2) <> 'AR' )
2384: then
2385: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2386: hr_utility.set_message_token('PAY_PLAN','XF');
2387: hr_utility.set_message_token('AGENCY_CODE','AR');
2388: hr_utility.raise_error;
2389: elsif ( p_to_pay_plan in ('XG') and substr(p_agency_subelement,1,2) <> 'AR' )
2390: then

Line 2387: hr_utility.set_message_token('AGENCY_CODE','AR');

2383: elsif ( p_to_pay_plan in ('XF') and substr(p_agency_subelement,1,2) <> 'AR' )
2384: then
2385: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2386: hr_utility.set_message_token('PAY_PLAN','XF');
2387: hr_utility.set_message_token('AGENCY_CODE','AR');
2388: hr_utility.raise_error;
2389: elsif ( p_to_pay_plan in ('XG') and substr(p_agency_subelement,1,2) <> 'AR' )
2390: then
2391: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2388: hr_utility.raise_error;

2384: then
2385: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2386: hr_utility.set_message_token('PAY_PLAN','XF');
2387: hr_utility.set_message_token('AGENCY_CODE','AR');
2388: hr_utility.raise_error;
2389: elsif ( p_to_pay_plan in ('XG') and substr(p_agency_subelement,1,2) <> 'AR' )
2390: then
2391: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2392: hr_utility.set_message_token('PAY_PLAN','XG');

Line 2391: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2387: hr_utility.set_message_token('AGENCY_CODE','AR');
2388: hr_utility.raise_error;
2389: elsif ( p_to_pay_plan in ('XG') and substr(p_agency_subelement,1,2) <> 'AR' )
2390: then
2391: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2392: hr_utility.set_message_token('PAY_PLAN','XG');
2393: hr_utility.set_message_token('AGENCY_CODE','AR');
2394: hr_utility.raise_error;
2395: elsif ( p_to_pay_plan in ('XH') and substr(p_agency_subelement,1,2) <> 'AR' )

Line 2392: hr_utility.set_message_token('PAY_PLAN','XG');

2388: hr_utility.raise_error;
2389: elsif ( p_to_pay_plan in ('XG') and substr(p_agency_subelement,1,2) <> 'AR' )
2390: then
2391: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2392: hr_utility.set_message_token('PAY_PLAN','XG');
2393: hr_utility.set_message_token('AGENCY_CODE','AR');
2394: hr_utility.raise_error;
2395: elsif ( p_to_pay_plan in ('XH') and substr(p_agency_subelement,1,2) <> 'AR' )
2396: then

Line 2393: hr_utility.set_message_token('AGENCY_CODE','AR');

2389: elsif ( p_to_pay_plan in ('XG') and substr(p_agency_subelement,1,2) <> 'AR' )
2390: then
2391: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2392: hr_utility.set_message_token('PAY_PLAN','XG');
2393: hr_utility.set_message_token('AGENCY_CODE','AR');
2394: hr_utility.raise_error;
2395: elsif ( p_to_pay_plan in ('XH') and substr(p_agency_subelement,1,2) <> 'AR' )
2396: then
2397: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2394: hr_utility.raise_error;

2390: then
2391: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2392: hr_utility.set_message_token('PAY_PLAN','XG');
2393: hr_utility.set_message_token('AGENCY_CODE','AR');
2394: hr_utility.raise_error;
2395: elsif ( p_to_pay_plan in ('XH') and substr(p_agency_subelement,1,2) <> 'AR' )
2396: then
2397: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2398: hr_utility.set_message_token('PAY_PLAN','XH');

Line 2397: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2393: hr_utility.set_message_token('AGENCY_CODE','AR');
2394: hr_utility.raise_error;
2395: elsif ( p_to_pay_plan in ('XH') and substr(p_agency_subelement,1,2) <> 'AR' )
2396: then
2397: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2398: hr_utility.set_message_token('PAY_PLAN','XH');
2399: hr_utility.set_message_token('AGENCY_CODE','AR');
2400: hr_utility.raise_error;
2401: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then

Line 2398: hr_utility.set_message_token('PAY_PLAN','XH');

2394: hr_utility.raise_error;
2395: elsif ( p_to_pay_plan in ('XH') and substr(p_agency_subelement,1,2) <> 'AR' )
2396: then
2397: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2398: hr_utility.set_message_token('PAY_PLAN','XH');
2399: hr_utility.set_message_token('AGENCY_CODE','AR');
2400: hr_utility.raise_error;
2401: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then
2402: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2399: hr_utility.set_message_token('AGENCY_CODE','AR');

2395: elsif ( p_to_pay_plan in ('XH') and substr(p_agency_subelement,1,2) <> 'AR' )
2396: then
2397: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2398: hr_utility.set_message_token('PAY_PLAN','XH');
2399: hr_utility.set_message_token('AGENCY_CODE','AR');
2400: hr_utility.raise_error;
2401: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then
2402: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2403: hr_utility.set_message_token('PAY_PLAN','CT');

Line 2400: hr_utility.raise_error;

2396: then
2397: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2398: hr_utility.set_message_token('PAY_PLAN','XH');
2399: hr_utility.set_message_token('AGENCY_CODE','AR');
2400: hr_utility.raise_error;
2401: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then
2402: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2403: hr_utility.set_message_token('PAY_PLAN','CT');
2404: hr_utility.set_message_token('AGENCY_CODE','CT');

Line 2402: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2398: hr_utility.set_message_token('PAY_PLAN','XH');
2399: hr_utility.set_message_token('AGENCY_CODE','AR');
2400: hr_utility.raise_error;
2401: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then
2402: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2403: hr_utility.set_message_token('PAY_PLAN','CT');
2404: hr_utility.set_message_token('AGENCY_CODE','CT');
2405: hr_utility.raise_error;
2406: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then

Line 2403: hr_utility.set_message_token('PAY_PLAN','CT');

2399: hr_utility.set_message_token('AGENCY_CODE','AR');
2400: hr_utility.raise_error;
2401: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then
2402: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2403: hr_utility.set_message_token('PAY_PLAN','CT');
2404: hr_utility.set_message_token('AGENCY_CODE','CT');
2405: hr_utility.raise_error;
2406: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2407: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2404: hr_utility.set_message_token('AGENCY_CODE','CT');

2400: hr_utility.raise_error;
2401: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then
2402: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2403: hr_utility.set_message_token('PAY_PLAN','CT');
2404: hr_utility.set_message_token('AGENCY_CODE','CT');
2405: hr_utility.raise_error;
2406: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2407: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2408: hr_utility.set_message_token('PAY_PLAN','RA');

Line 2405: hr_utility.raise_error;

2401: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then
2402: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2403: hr_utility.set_message_token('PAY_PLAN','CT');
2404: hr_utility.set_message_token('AGENCY_CODE','CT');
2405: hr_utility.raise_error;
2406: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2407: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2408: hr_utility.set_message_token('PAY_PLAN','RA');
2409: hr_utility.set_message_token('AGENCY_CODE','AG');

Line 2407: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2403: hr_utility.set_message_token('PAY_PLAN','CT');
2404: hr_utility.set_message_token('AGENCY_CODE','CT');
2405: hr_utility.raise_error;
2406: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2407: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2408: hr_utility.set_message_token('PAY_PLAN','RA');
2409: hr_utility.set_message_token('AGENCY_CODE','AG');
2410: hr_utility.raise_error;
2411: elsif ( p_to_pay_plan in ('KB','KE','KI','KJ','KM','KN','KO','KP','KT','KU','KV','KW','KX','KY','PJ','PQ','PU','PZ')

Line 2408: hr_utility.set_message_token('PAY_PLAN','RA');

2404: hr_utility.set_message_token('AGENCY_CODE','CT');
2405: hr_utility.raise_error;
2406: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2407: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2408: hr_utility.set_message_token('PAY_PLAN','RA');
2409: hr_utility.set_message_token('AGENCY_CODE','AG');
2410: hr_utility.raise_error;
2411: elsif ( p_to_pay_plan in ('KB','KE','KI','KJ','KM','KN','KO','KP','KT','KU','KV','KW','KX','KY','PJ','PQ','PU','PZ')
2412: and substr(p_agency_subelement,1,2) <> 'LP' ) then

Line 2409: hr_utility.set_message_token('AGENCY_CODE','AG');

2405: hr_utility.raise_error;
2406: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2407: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2408: hr_utility.set_message_token('PAY_PLAN','RA');
2409: hr_utility.set_message_token('AGENCY_CODE','AG');
2410: hr_utility.raise_error;
2411: elsif ( p_to_pay_plan in ('KB','KE','KI','KJ','KM','KN','KO','KP','KT','KU','KV','KW','KX','KY','PJ','PQ','PU','PZ')
2412: and substr(p_agency_subelement,1,2) <> 'LP' ) then
2413: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2410: hr_utility.raise_error;

2406: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2407: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2408: hr_utility.set_message_token('PAY_PLAN','RA');
2409: hr_utility.set_message_token('AGENCY_CODE','AG');
2410: hr_utility.raise_error;
2411: elsif ( p_to_pay_plan in ('KB','KE','KI','KJ','KM','KN','KO','KP','KT','KU','KV','KW','KX','KY','PJ','PQ','PU','PZ')
2412: and substr(p_agency_subelement,1,2) <> 'LP' ) then
2413: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2414: hr_utility.set_message_token('PAY_PLAN','KB,KE,KI,KJ,KM,KN,KO,KP,KT,KU,KV,KW,KX,KY,PJ,PQ,PU,or PZ');

Line 2413: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2409: hr_utility.set_message_token('AGENCY_CODE','AG');
2410: hr_utility.raise_error;
2411: elsif ( p_to_pay_plan in ('KB','KE','KI','KJ','KM','KN','KO','KP','KT','KU','KV','KW','KX','KY','PJ','PQ','PU','PZ')
2412: and substr(p_agency_subelement,1,2) <> 'LP' ) then
2413: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2414: hr_utility.set_message_token('PAY_PLAN','KB,KE,KI,KJ,KM,KN,KO,KP,KT,KU,KV,KW,KX,KY,PJ,PQ,PU,or PZ');
2415: hr_utility.set_message_token('AGENCY_CODE','LP');
2416: hr_utility.raise_error;
2417: elsif ( p_to_pay_plan in ('YA', 'YB', 'YC', 'YD', 'YE', 'YF', 'YG', 'YH', 'YI', 'YJ', 'YK', 'YL', 'YM', 'YN', 'YO', 'YP', 'YQ', 'YR', 'YS', 'YT', 'YU', 'YV', 'YW', 'YX', 'YY', 'YZ')

Line 2414: hr_utility.set_message_token('PAY_PLAN','KB,KE,KI,KJ,KM,KN,KO,KP,KT,KU,KV,KW,KX,KY,PJ,PQ,PU,or PZ');

2410: hr_utility.raise_error;
2411: elsif ( p_to_pay_plan in ('KB','KE','KI','KJ','KM','KN','KO','KP','KT','KU','KV','KW','KX','KY','PJ','PQ','PU','PZ')
2412: and substr(p_agency_subelement,1,2) <> 'LP' ) then
2413: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2414: hr_utility.set_message_token('PAY_PLAN','KB,KE,KI,KJ,KM,KN,KO,KP,KT,KU,KV,KW,KX,KY,PJ,PQ,PU,or PZ');
2415: hr_utility.set_message_token('AGENCY_CODE','LP');
2416: hr_utility.raise_error;
2417: elsif ( p_to_pay_plan in ('YA', 'YB', 'YC', 'YD', 'YE', 'YF', 'YG', 'YH', 'YI', 'YJ', 'YK', 'YL', 'YM', 'YN', 'YO', 'YP', 'YQ', 'YR', 'YS', 'YT', 'YU', 'YV', 'YW', 'YX', 'YY', 'YZ')
2418: and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') ) then

Line 2415: hr_utility.set_message_token('AGENCY_CODE','LP');

2411: elsif ( p_to_pay_plan in ('KB','KE','KI','KJ','KM','KN','KO','KP','KT','KU','KV','KW','KX','KY','PJ','PQ','PU','PZ')
2412: and substr(p_agency_subelement,1,2) <> 'LP' ) then
2413: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2414: hr_utility.set_message_token('PAY_PLAN','KB,KE,KI,KJ,KM,KN,KO,KP,KT,KU,KV,KW,KX,KY,PJ,PQ,PU,or PZ');
2415: hr_utility.set_message_token('AGENCY_CODE','LP');
2416: hr_utility.raise_error;
2417: elsif ( p_to_pay_plan in ('YA', 'YB', 'YC', 'YD', 'YE', 'YF', 'YG', 'YH', 'YI', 'YJ', 'YK', 'YL', 'YM', 'YN', 'YO', 'YP', 'YQ', 'YR', 'YS', 'YT', 'YU', 'YV', 'YW', 'YX', 'YY', 'YZ')
2418: and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') ) then
2419: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2416: hr_utility.raise_error;

2412: and substr(p_agency_subelement,1,2) <> 'LP' ) then
2413: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2414: hr_utility.set_message_token('PAY_PLAN','KB,KE,KI,KJ,KM,KN,KO,KP,KT,KU,KV,KW,KX,KY,PJ,PQ,PU,or PZ');
2415: hr_utility.set_message_token('AGENCY_CODE','LP');
2416: hr_utility.raise_error;
2417: elsif ( p_to_pay_plan in ('YA', 'YB', 'YC', 'YD', 'YE', 'YF', 'YG', 'YH', 'YI', 'YJ', 'YK', 'YL', 'YM', 'YN', 'YO', 'YP', 'YQ', 'YR', 'YS', 'YT', 'YU', 'YV', 'YW', 'YX', 'YY', 'YZ')
2418: and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') ) then
2419: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2420: hr_utility.set_message_token('PAY_PLAN',' YA, YB, YC, YD, YE, YF, YG, YH, YI, YJ, YK,YL, YM, YN, YO, YP, YQ, YR, YS, YT, YU, YV, YW, YX, YY, or YZ ');

Line 2419: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2415: hr_utility.set_message_token('AGENCY_CODE','LP');
2416: hr_utility.raise_error;
2417: elsif ( p_to_pay_plan in ('YA', 'YB', 'YC', 'YD', 'YE', 'YF', 'YG', 'YH', 'YI', 'YJ', 'YK', 'YL', 'YM', 'YN', 'YO', 'YP', 'YQ', 'YR', 'YS', 'YT', 'YU', 'YV', 'YW', 'YX', 'YY', 'YZ')
2418: and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') ) then
2419: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2420: hr_utility.set_message_token('PAY_PLAN',' YA, YB, YC, YD, YE, YF, YG, YH, YI, YJ, YK,YL, YM, YN, YO, YP, YQ, YR, YS, YT, YU, YV, YW, YX, YY, or YZ ');
2421: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2422: hr_utility.raise_error;
2423: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then

Line 2420: hr_utility.set_message_token('PAY_PLAN',' YA, YB, YC, YD, YE, YF, YG, YH, YI, YJ, YK,YL, YM, YN, YO, YP, YQ, YR, YS, YT, YU, YV, YW, YX, YY, or YZ ');

2416: hr_utility.raise_error;
2417: elsif ( p_to_pay_plan in ('YA', 'YB', 'YC', 'YD', 'YE', 'YF', 'YG', 'YH', 'YI', 'YJ', 'YK', 'YL', 'YM', 'YN', 'YO', 'YP', 'YQ', 'YR', 'YS', 'YT', 'YU', 'YV', 'YW', 'YX', 'YY', 'YZ')
2418: and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') ) then
2419: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2420: hr_utility.set_message_token('PAY_PLAN',' YA, YB, YC, YD, YE, YF, YG, YH, YI, YJ, YK,YL, YM, YN, YO, YP, YQ, YR, YS, YT, YU, YV, YW, YX, YY, or YZ ');
2421: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2422: hr_utility.raise_error;
2423: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then
2424: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2421: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');

2417: elsif ( p_to_pay_plan in ('YA', 'YB', 'YC', 'YD', 'YE', 'YF', 'YG', 'YH', 'YI', 'YJ', 'YK', 'YL', 'YM', 'YN', 'YO', 'YP', 'YQ', 'YR', 'YS', 'YT', 'YU', 'YV', 'YW', 'YX', 'YY', 'YZ')
2418: and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') ) then
2419: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2420: hr_utility.set_message_token('PAY_PLAN',' YA, YB, YC, YD, YE, YF, YG, YH, YI, YJ, YK,YL, YM, YN, YO, YP, YQ, YR, YS, YT, YU, YV, YW, YX, YY, or YZ ');
2421: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2422: hr_utility.raise_error;
2423: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then
2424: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2425: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');

Line 2422: hr_utility.raise_error;

2418: and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') ) then
2419: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2420: hr_utility.set_message_token('PAY_PLAN',' YA, YB, YC, YD, YE, YF, YG, YH, YI, YJ, YK,YL, YM, YN, YO, YP, YQ, YR, YS, YT, YU, YV, YW, YX, YY, or YZ ');
2421: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2422: hr_utility.raise_error;
2423: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then
2424: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2425: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');
2426: hr_utility.set_message_token('AGENCY_CODE','TRAI');

Line 2424: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2420: hr_utility.set_message_token('PAY_PLAN',' YA, YB, YC, YD, YE, YF, YG, YH, YI, YJ, YK,YL, YM, YN, YO, YP, YQ, YR, YS, YT, YU, YV, YW, YX, YY, or YZ ');
2421: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2422: hr_utility.raise_error;
2423: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then
2424: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2425: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');
2426: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2427: hr_utility.raise_error;
2428: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then

Line 2425: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');

2421: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2422: hr_utility.raise_error;
2423: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then
2424: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2425: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');
2426: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2427: hr_utility.raise_error;
2428: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then
2429: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2426: hr_utility.set_message_token('AGENCY_CODE','TRAI');

2422: hr_utility.raise_error;
2423: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then
2424: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2425: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');
2426: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2427: hr_utility.raise_error;
2428: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then
2429: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2430: hr_utility.set_message_token('PAY_PLAN','NZ');

Line 2427: hr_utility.raise_error;

2423: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then
2424: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2425: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');
2426: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2427: hr_utility.raise_error;
2428: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then
2429: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2430: hr_utility.set_message_token('PAY_PLAN','NZ');
2431: hr_utility.set_message_token('AGENCY_CODE','SM03');

Line 2429: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2425: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');
2426: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2427: hr_utility.raise_error;
2428: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then
2429: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2430: hr_utility.set_message_token('PAY_PLAN','NZ');
2431: hr_utility.set_message_token('AGENCY_CODE','SM03');
2432: hr_utility.raise_error;
2433: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN

Line 2430: hr_utility.set_message_token('PAY_PLAN','NZ');

2426: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2427: hr_utility.raise_error;
2428: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then
2429: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2430: hr_utility.set_message_token('PAY_PLAN','NZ');
2431: hr_utility.set_message_token('AGENCY_CODE','SM03');
2432: hr_utility.raise_error;
2433: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN
2434: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2431: hr_utility.set_message_token('AGENCY_CODE','SM03');

2427: hr_utility.raise_error;
2428: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then
2429: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2430: hr_utility.set_message_token('PAY_PLAN','NZ');
2431: hr_utility.set_message_token('AGENCY_CODE','SM03');
2432: hr_utility.raise_error;
2433: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN
2434: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2435: hr_utility.set_message_token('PAY_PLAN','GE or GI');

Line 2432: hr_utility.raise_error;

2428: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then
2429: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2430: hr_utility.set_message_token('PAY_PLAN','NZ');
2431: hr_utility.set_message_token('AGENCY_CODE','SM03');
2432: hr_utility.raise_error;
2433: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN
2434: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2435: hr_utility.set_message_token('PAY_PLAN','GE or GI');
2436: hr_utility.set_message_token('AGENCY_CODE','LP');

Line 2434: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2430: hr_utility.set_message_token('PAY_PLAN','NZ');
2431: hr_utility.set_message_token('AGENCY_CODE','SM03');
2432: hr_utility.raise_error;
2433: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN
2434: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2435: hr_utility.set_message_token('PAY_PLAN','GE or GI');
2436: hr_utility.set_message_token('AGENCY_CODE','LP');
2437: hr_utility.raise_error;
2438: elsif p_effective_date < to_date('2007/05/01','RRRR/MM/DD') AND -- Bug# 6469079

Line 2435: hr_utility.set_message_token('PAY_PLAN','GE or GI');

2431: hr_utility.set_message_token('AGENCY_CODE','SM03');
2432: hr_utility.raise_error;
2433: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN
2434: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2435: hr_utility.set_message_token('PAY_PLAN','GE or GI');
2436: hr_utility.set_message_token('AGENCY_CODE','LP');
2437: hr_utility.raise_error;
2438: elsif p_effective_date < to_date('2007/05/01','RRRR/MM/DD') AND -- Bug# 6469079
2439: ( p_to_pay_plan = 'OF' and p_agency_subelement <> 'HUFH') THEN

Line 2436: hr_utility.set_message_token('AGENCY_CODE','LP');

2432: hr_utility.raise_error;
2433: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN
2434: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2435: hr_utility.set_message_token('PAY_PLAN','GE or GI');
2436: hr_utility.set_message_token('AGENCY_CODE','LP');
2437: hr_utility.raise_error;
2438: elsif p_effective_date < to_date('2007/05/01','RRRR/MM/DD') AND -- Bug# 6469079
2439: ( p_to_pay_plan = 'OF' and p_agency_subelement <> 'HUFH') THEN
2440: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2437: hr_utility.raise_error;

2433: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN
2434: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2435: hr_utility.set_message_token('PAY_PLAN','GE or GI');
2436: hr_utility.set_message_token('AGENCY_CODE','LP');
2437: hr_utility.raise_error;
2438: elsif p_effective_date < to_date('2007/05/01','RRRR/MM/DD') AND -- Bug# 6469079
2439: ( p_to_pay_plan = 'OF' and p_agency_subelement <> 'HUFH') THEN
2440: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2441: hr_utility.set_message_token('PAY_PLAN','OF');

Line 2440: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2436: hr_utility.set_message_token('AGENCY_CODE','LP');
2437: hr_utility.raise_error;
2438: elsif p_effective_date < to_date('2007/05/01','RRRR/MM/DD') AND -- Bug# 6469079
2439: ( p_to_pay_plan = 'OF' and p_agency_subelement <> 'HUFH') THEN
2440: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2441: hr_utility.set_message_token('PAY_PLAN','OF');
2442: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2443: hr_utility.raise_error;
2444: --Begin Bug 9503972

Line 2441: hr_utility.set_message_token('PAY_PLAN','OF');

2437: hr_utility.raise_error;
2438: elsif p_effective_date < to_date('2007/05/01','RRRR/MM/DD') AND -- Bug# 6469079
2439: ( p_to_pay_plan = 'OF' and p_agency_subelement <> 'HUFH') THEN
2440: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2441: hr_utility.set_message_token('PAY_PLAN','OF');
2442: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2443: hr_utility.raise_error;
2444: --Begin Bug 9503972
2445: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND

Line 2442: hr_utility.set_message_token('AGENCY_CODE','HUFH');

2438: elsif p_effective_date < to_date('2007/05/01','RRRR/MM/DD') AND -- Bug# 6469079
2439: ( p_to_pay_plan = 'OF' and p_agency_subelement <> 'HUFH') THEN
2440: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2441: hr_utility.set_message_token('PAY_PLAN','OF');
2442: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2443: hr_utility.raise_error;
2444: --Begin Bug 9503972
2445: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2446: ( p_to_pay_plan IN ('OE','OF') and (substr(p_agency_subelement,1,2) <> 'HF' OR p_agency_subelement <> 'HUFH') ) THEN

Line 2443: hr_utility.raise_error;

2439: ( p_to_pay_plan = 'OF' and p_agency_subelement <> 'HUFH') THEN
2440: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2441: hr_utility.set_message_token('PAY_PLAN','OF');
2442: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2443: hr_utility.raise_error;
2444: --Begin Bug 9503972
2445: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2446: ( p_to_pay_plan IN ('OE','OF') and (substr(p_agency_subelement,1,2) <> 'HF' OR p_agency_subelement <> 'HUFH') ) THEN
2447: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2447: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2443: hr_utility.raise_error;
2444: --Begin Bug 9503972
2445: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2446: ( p_to_pay_plan IN ('OE','OF') and (substr(p_agency_subelement,1,2) <> 'HF' OR p_agency_subelement <> 'HUFH') ) THEN
2447: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2448: hr_utility.set_message_token('PAY_PLAN','OE or OF');
2449: hr_utility.set_message_token('AGENCY_CODE','HF, HUFH');
2450: hr_utility.raise_error;
2451: --end Bug 9503972

Line 2448: hr_utility.set_message_token('PAY_PLAN','OE or OF');

2444: --Begin Bug 9503972
2445: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2446: ( p_to_pay_plan IN ('OE','OF') and (substr(p_agency_subelement,1,2) <> 'HF' OR p_agency_subelement <> 'HUFH') ) THEN
2447: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2448: hr_utility.set_message_token('PAY_PLAN','OE or OF');
2449: hr_utility.set_message_token('AGENCY_CODE','HF, HUFH');
2450: hr_utility.raise_error;
2451: --end Bug 9503972
2452: --Begin Bug#6469079

Line 2449: hr_utility.set_message_token('AGENCY_CODE','HF, HUFH');

2445: elsif p_effective_date > to_date('2009/12/01','RRRR/MM/DD') AND
2446: ( p_to_pay_plan IN ('OE','OF') and (substr(p_agency_subelement,1,2) <> 'HF' OR p_agency_subelement <> 'HUFH') ) THEN
2447: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2448: hr_utility.set_message_token('PAY_PLAN','OE or OF');
2449: hr_utility.set_message_token('AGENCY_CODE','HF, HUFH');
2450: hr_utility.raise_error;
2451: --end Bug 9503972
2452: --Begin Bug#6469079
2453: elsif ( p_to_pay_plan in('OE','OF') and p_agency_subelement <> 'HUFH') THEN

Line 2450: hr_utility.raise_error;

2446: ( p_to_pay_plan IN ('OE','OF') and (substr(p_agency_subelement,1,2) <> 'HF' OR p_agency_subelement <> 'HUFH') ) THEN
2447: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2448: hr_utility.set_message_token('PAY_PLAN','OE or OF');
2449: hr_utility.set_message_token('AGENCY_CODE','HF, HUFH');
2450: hr_utility.raise_error;
2451: --end Bug 9503972
2452: --Begin Bug#6469079
2453: elsif ( p_to_pay_plan in('OE','OF') and p_agency_subelement <> 'HUFH') THEN
2454: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2454: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2450: hr_utility.raise_error;
2451: --end Bug 9503972
2452: --Begin Bug#6469079
2453: elsif ( p_to_pay_plan in('OE','OF') and p_agency_subelement <> 'HUFH') THEN
2454: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2455: hr_utility.set_message_token('PAY_PLAN','OE or OF');
2456: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2457: hr_utility.raise_error;
2458: --End Bug#6469079

Line 2455: hr_utility.set_message_token('PAY_PLAN','OE or OF');

2451: --end Bug 9503972
2452: --Begin Bug#6469079
2453: elsif ( p_to_pay_plan in('OE','OF') and p_agency_subelement <> 'HUFH') THEN
2454: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2455: hr_utility.set_message_token('PAY_PLAN','OE or OF');
2456: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2457: hr_utility.raise_error;
2458: --End Bug#6469079
2459: --Begin Bug# 5073313

Line 2456: hr_utility.set_message_token('AGENCY_CODE','HUFH');

2452: --Begin Bug#6469079
2453: elsif ( p_to_pay_plan in('OE','OF') and p_agency_subelement <> 'HUFH') THEN
2454: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2455: hr_utility.set_message_token('PAY_PLAN','OE or OF');
2456: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2457: hr_utility.raise_error;
2458: --End Bug#6469079
2459: --Begin Bug# 5073313
2460: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and

Line 2457: hr_utility.raise_error;

2453: elsif ( p_to_pay_plan in('OE','OF') and p_agency_subelement <> 'HUFH') THEN
2454: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2455: hr_utility.set_message_token('PAY_PLAN','OE or OF');
2456: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2457: hr_utility.raise_error;
2458: --End Bug#6469079
2459: --Begin Bug# 5073313
2460: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2461: ( p_to_pay_plan in ('HE','HH','HL','HS','HT','HW') and substr(p_agency_subelement,1,2) <> 'HS' )

Line 2463: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2459: --Begin Bug# 5073313
2460: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2461: ( p_to_pay_plan in ('HE','HH','HL','HS','HT','HW') and substr(p_agency_subelement,1,2) <> 'HS' )
2462: then
2463: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2464: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2465: hr_utility.set_message_token('AGENCY_CODE','HS');
2466: hr_utility.raise_error;
2467: --End bug# 5073313

Line 2464: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);

2460: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2461: ( p_to_pay_plan in ('HE','HH','HL','HS','HT','HW') and substr(p_agency_subelement,1,2) <> 'HS' )
2462: then
2463: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2464: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2465: hr_utility.set_message_token('AGENCY_CODE','HS');
2466: hr_utility.raise_error;
2467: --End bug# 5073313
2468: --Begin Bug# 5745356

Line 2465: hr_utility.set_message_token('AGENCY_CODE','HS');

2461: ( p_to_pay_plan in ('HE','HH','HL','HS','HT','HW') and substr(p_agency_subelement,1,2) <> 'HS' )
2462: then
2463: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2464: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2465: hr_utility.set_message_token('AGENCY_CODE','HS');
2466: hr_utility.raise_error;
2467: --End bug# 5073313
2468: --Begin Bug# 5745356
2469: elsif p_effective_date >= fnd_date.canonical_to_date('2006/10/01') and

Line 2466: hr_utility.raise_error;

2462: then
2463: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2464: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2465: hr_utility.set_message_token('AGENCY_CODE','HS');
2466: hr_utility.raise_error;
2467: --End bug# 5073313
2468: --Begin Bug# 5745356
2469: elsif p_effective_date >= fnd_date.canonical_to_date('2006/10/01') and
2470: ( p_to_pay_plan in ('HA','HB','HC','HD','HF','HG','HI','HJ','HK','HM','HN','HO',',HP','HQ','HR','HV','HX','HY','HZ') and substr(p_agency_subelement,1,2) <> 'HS' )

Line 2472: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2468: --Begin Bug# 5745356
2469: elsif p_effective_date >= fnd_date.canonical_to_date('2006/10/01') and
2470: ( p_to_pay_plan in ('HA','HB','HC','HD','HF','HG','HI','HJ','HK','HM','HN','HO',',HP','HQ','HR','HV','HX','HY','HZ') and substr(p_agency_subelement,1,2) <> 'HS' )
2471: then
2472: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2473: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2474: hr_utility.set_message_token('AGENCY_CODE','HS');
2475: hr_utility.raise_error;
2476: --End bug# 5745356

Line 2473: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);

2469: elsif p_effective_date >= fnd_date.canonical_to_date('2006/10/01') and
2470: ( p_to_pay_plan in ('HA','HB','HC','HD','HF','HG','HI','HJ','HK','HM','HN','HO',',HP','HQ','HR','HV','HX','HY','HZ') and substr(p_agency_subelement,1,2) <> 'HS' )
2471: then
2472: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2473: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2474: hr_utility.set_message_token('AGENCY_CODE','HS');
2475: hr_utility.raise_error;
2476: --End bug# 5745356
2477: --Begin Bug# 10189715

Line 2474: hr_utility.set_message_token('AGENCY_CODE','HS');

2470: ( p_to_pay_plan in ('HA','HB','HC','HD','HF','HG','HI','HJ','HK','HM','HN','HO',',HP','HQ','HR','HV','HX','HY','HZ') and substr(p_agency_subelement,1,2) <> 'HS' )
2471: then
2472: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2473: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2474: hr_utility.set_message_token('AGENCY_CODE','HS');
2475: hr_utility.raise_error;
2476: --End bug# 5745356
2477: --Begin Bug# 10189715
2478: elsif p_effective_date >= fnd_date.canonical_to_date('2010/09/01') and

Line 2475: hr_utility.raise_error;

2471: then
2472: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2473: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2474: hr_utility.set_message_token('AGENCY_CODE','HS');
2475: hr_utility.raise_error;
2476: --End bug# 5745356
2477: --Begin Bug# 10189715
2478: elsif p_effective_date >= fnd_date.canonical_to_date('2010/09/01') and
2479: ( p_to_pay_plan in ('HU') and substr(p_agency_subelement,1,2) <> 'HS' )

Line 2481: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2477: --Begin Bug# 10189715
2478: elsif p_effective_date >= fnd_date.canonical_to_date('2010/09/01') and
2479: ( p_to_pay_plan in ('HU') and substr(p_agency_subelement,1,2) <> 'HS' )
2480: then
2481: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2482: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2483: hr_utility.set_message_token('AGENCY_CODE','HS');
2484: hr_utility.raise_error;
2485: --End bug# 10189715

Line 2482: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);

2478: elsif p_effective_date >= fnd_date.canonical_to_date('2010/09/01') and
2479: ( p_to_pay_plan in ('HU') and substr(p_agency_subelement,1,2) <> 'HS' )
2480: then
2481: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2482: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2483: hr_utility.set_message_token('AGENCY_CODE','HS');
2484: hr_utility.raise_error;
2485: --End bug# 10189715
2486: else

Line 2483: hr_utility.set_message_token('AGENCY_CODE','HS');

2479: ( p_to_pay_plan in ('HU') and substr(p_agency_subelement,1,2) <> 'HS' )
2480: then
2481: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2482: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2483: hr_utility.set_message_token('AGENCY_CODE','HS');
2484: hr_utility.raise_error;
2485: --End bug# 10189715
2486: else
2487: hr_utility.set_location('No error',14);

Line 2484: hr_utility.raise_error;

2480: then
2481: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2482: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2483: hr_utility.set_message_token('AGENCY_CODE','HS');
2484: hr_utility.raise_error;
2485: --End bug# 10189715
2486: else
2487: hr_utility.set_location('No error',14);
2488: end if;

Line 2487: hr_utility.set_location('No error',14);

2483: hr_utility.set_message_token('AGENCY_CODE','HS');
2484: hr_utility.raise_error;
2485: --End bug# 10189715
2486: else
2487: hr_utility.set_location('No error',14);
2488: end if;
2489:
2490: -- 440.04.3
2491: -- added the following personal office identifiers on 9-oct-98

Line 2506: hr_utility.set_message(8301, 'GHR_37247_ALL_PROCEDURE_FAIL');

2502: p_pers_office_identifier not in ('2256','2267','2336','2415','2431',
2503: '2562','2614','2896','3231','3322','4219','4221','4252')
2504: )
2505: then
2506: hr_utility.set_message(8301, 'GHR_37247_ALL_PROCEDURE_FAIL');
2507: hr_utility.raise_error;
2508: end if;
2509: end if;
2510: -- 420.05.3

Line 2507: hr_utility.raise_error;

2503: '2562','2614','2896','3231','3322','4219','4221','4252')
2504: )
2505: then
2506: hr_utility.set_message(8301, 'GHR_37247_ALL_PROCEDURE_FAIL');
2507: hr_utility.raise_error;
2508: end if;
2509: end if;
2510: -- 420.05.3
2511: -- 11/5 12/14/99 vravikan 01-Aug-1999 Delete the Pay Plan DG

Line 2534: hr_utility.set_message(8301, 'GHR_37410_ALL_PROCEDURE_FAIL');

2530: and
2531: p_to_grade_or_level not in ('01','02','03','04','05')
2532: )
2533: then
2534: hr_utility.set_message(8301, 'GHR_37410_ALL_PROCEDURE_FAIL');
2535: hr_utility.raise_error;
2536: end if;
2537: else
2538: if (

Line 2535: hr_utility.raise_error;

2531: p_to_grade_or_level not in ('01','02','03','04','05')
2532: )
2533: then
2534: hr_utility.set_message(8301, 'GHR_37410_ALL_PROCEDURE_FAIL');
2535: hr_utility.raise_error;
2536: end if;
2537: else
2538: if (
2539: p_to_pay_plan in ('DA','DS','DT')

Line 2572: hr_utility.set_message(8301, 'GHR_37248_ALL_PROCEDURE_FAIL');

2568: and
2569: p_to_grade_or_level not in ('01','02','03','04','05')
2570: )
2571: then
2572: hr_utility.set_message(8301, 'GHR_37248_ALL_PROCEDURE_FAIL');
2573: hr_utility.raise_error;
2574: end if;
2575: end if;
2576: end if;

Line 2573: hr_utility.raise_error;

2569: p_to_grade_or_level not in ('01','02','03','04','05')
2570: )
2571: then
2572: hr_utility.set_message(8301, 'GHR_37248_ALL_PROCEDURE_FAIL');
2573: hr_utility.raise_error;
2574: end if;
2575: end if;
2576: end if;
2577: -- 440.10.2

Line 2590: hr_utility.set_message(8301, 'GHR_37249_ALL_PROCEDURE_FAIL');

2586: p_to_pay_plan <>'FE'
2587: and
2588: p_to_pay_plan is not null
2589: then
2590: hr_utility.set_message(8301, 'GHR_37249_ALL_PROCEDURE_FAIL');
2591: hr_utility.raise_error;
2592: end if;
2593: end if;
2594: -- 440.12.2

Line 2591: hr_utility.raise_error;

2587: and
2588: p_to_pay_plan is not null
2589: then
2590: hr_utility.set_message(8301, 'GHR_37249_ALL_PROCEDURE_FAIL');
2591: hr_utility.raise_error;
2592: end if;
2593: end if;
2594: -- 440.12.2
2595: -- Update Date By Effective Date Comment

Line 2600: hr_utility.set_location('to pay plan is ' || p_to_pay_plan ,10);

2596: -- 9 05/03/99 vravikan Added Pay Plan MS
2597: -- 10/30/03 Ashley Deleted Pay Plan EO
2598: -- UPD 56 (Bug# 8309414) Terminating the edit eff date 13-Aug-2007
2599: if p_effective_date < fnd_date.canonical_to_date('2007/08/14') then
2600: hr_utility.set_location('to pay plan is ' || p_to_pay_plan ,10);
2601: hr_utility.set_location('from pay plan is ' || p_prior_pay_plan ,10);
2602: If p_first_NOAC_Lookup_Code = '879'
2603: and
2604: p_to_pay_plan not in ('ES','FE','MS','TF','TX')

Line 2601: hr_utility.set_location('from pay plan is ' || p_prior_pay_plan ,10);

2597: -- 10/30/03 Ashley Deleted Pay Plan EO
2598: -- UPD 56 (Bug# 8309414) Terminating the edit eff date 13-Aug-2007
2599: if p_effective_date < fnd_date.canonical_to_date('2007/08/14') then
2600: hr_utility.set_location('to pay plan is ' || p_to_pay_plan ,10);
2601: hr_utility.set_location('from pay plan is ' || p_prior_pay_plan ,10);
2602: If p_first_NOAC_Lookup_Code = '879'
2603: and
2604: p_to_pay_plan not in ('ES','FE','MS','TF','TX')
2605: and

Line 2610: hr_utility.set_message(8301, 'GHR_37250_ALL_PROCEDURE_FAIL');

2606: p_to_pay_plan is not null
2607: and
2608: p_Pay_Rate_Determinant_Code <> 'S'
2609: then
2610: hr_utility.set_message(8301, 'GHR_37250_ALL_PROCEDURE_FAIL');
2611: hr_utility.raise_error;
2612: end if;
2613: end if;
2614:

Line 2611: hr_utility.raise_error;

2607: and
2608: p_Pay_Rate_Determinant_Code <> 'S'
2609: then
2610: hr_utility.set_message(8301, 'GHR_37250_ALL_PROCEDURE_FAIL');
2611: hr_utility.raise_error;
2612: end if;
2613: end if;
2614:
2615: -- 440.13.2

Line 2633: hr_utility.set_message(8301, 'GHR_37412_ALL_PROCEDURE_FAIL');

2629: 'NB','PD','TM','VH','ZA','ZP','ZS','ZT') and
2630: substr(p_to_pay_plan,1,1) <>'D' and
2631: p_to_pay_plan is not null
2632: then
2633: hr_utility.set_message(8301, 'GHR_37412_ALL_PROCEDURE_FAIL');
2634: hr_utility.raise_error;
2635: end if;
2636: elsif p_effective_date >= to_date('1999/04/01', 'yyyy/mm/dd') then
2637: If p_first_NOAC_Lookup_Code = '891' and

Line 2634: hr_utility.raise_error;

2630: substr(p_to_pay_plan,1,1) <>'D' and
2631: p_to_pay_plan is not null
2632: then
2633: hr_utility.set_message(8301, 'GHR_37412_ALL_PROCEDURE_FAIL');
2634: hr_utility.raise_error;
2635: end if;
2636: elsif p_effective_date >= to_date('1999/04/01', 'yyyy/mm/dd') then
2637: If p_first_NOAC_Lookup_Code = '891' and
2638: p_to_pay_plan not in ('CG','CM','EM','EO','FM','GH','GM',

Line 2643: hr_utility.set_message(8301, 'GHR_37070_ALL_PROCEDURE_FAIL');

2639: 'NC','ND','NG','NH','NJ','NK','NO','NP','NR','NT',
2640: 'NB','TM','VH','ZA','ZP','ZS','ZT') and
2641: substr(p_to_pay_plan,1,1) <>'D' and
2642: p_to_pay_plan is not null then
2643: hr_utility.set_message(8301, 'GHR_37070_ALL_PROCEDURE_FAIL');
2644: hr_utility.raise_error;
2645: end if;
2646: elsif p_effective_date >= to_date('1998/10/01', 'yyyy/mm/dd') then
2647: If p_first_NOAC_Lookup_Code = '891' and

Line 2644: hr_utility.raise_error;

2640: 'NB','TM','VH','ZA','ZP','ZS','ZT') and
2641: substr(p_to_pay_plan,1,1) <>'D' and
2642: p_to_pay_plan is not null then
2643: hr_utility.set_message(8301, 'GHR_37070_ALL_PROCEDURE_FAIL');
2644: hr_utility.raise_error;
2645: end if;
2646: elsif p_effective_date >= to_date('1998/10/01', 'yyyy/mm/dd') then
2647: If p_first_NOAC_Lookup_Code = '891' and
2648: p_to_pay_plan not in ('CG','CM','EM','EO','FM','GH','GM',

Line 2652: hr_utility.set_message(8301, 'GHR_37058_ALL_PROCEDURE_FAIL');

2648: p_to_pay_plan not in ('CG','CM','EM','EO','FM','GH','GM',
2649: 'ND','NG','NH','NJ','NK','NT','NB','TM','VH','ZA','ZP','ZS','ZT') and
2650: substr(p_to_pay_plan,1,1) <>'D' and
2651: p_to_pay_plan is not null then
2652: hr_utility.set_message(8301, 'GHR_37058_ALL_PROCEDURE_FAIL');
2653: hr_utility.raise_error;
2654: end if;
2655: else
2656: If p_first_NOAC_Lookup_Code = '891' and

Line 2653: hr_utility.raise_error;

2649: 'ND','NG','NH','NJ','NK','NT','NB','TM','VH','ZA','ZP','ZS','ZT') and
2650: substr(p_to_pay_plan,1,1) <>'D' and
2651: p_to_pay_plan is not null then
2652: hr_utility.set_message(8301, 'GHR_37058_ALL_PROCEDURE_FAIL');
2653: hr_utility.raise_error;
2654: end if;
2655: else
2656: If p_first_NOAC_Lookup_Code = '891' and
2657: p_to_pay_plan not in ('CM','EM','FM','GH','GM','NB','TM','VH','ZA','ZP','ZS','ZT') and

Line 2660: hr_utility.set_message(8301, 'GHR_37251_ALL_PROCEDURE_FAIL');

2656: If p_first_NOAC_Lookup_Code = '891' and
2657: p_to_pay_plan not in ('CM','EM','FM','GH','GM','NB','TM','VH','ZA','ZP','ZS','ZT') and
2658: substr(p_to_pay_plan,1,1) <>'D' and
2659: p_to_pay_plan is not null then
2660: hr_utility.set_message(8301, 'GHR_37251_ALL_PROCEDURE_FAIL');
2661: hr_utility.raise_error;
2662: end if;
2663: end if;
2664: end if;

Line 2661: hr_utility.raise_error;

2657: p_to_pay_plan not in ('CM','EM','FM','GH','GM','NB','TM','VH','ZA','ZP','ZS','ZT') and
2658: substr(p_to_pay_plan,1,1) <>'D' and
2659: p_to_pay_plan is not null then
2660: hr_utility.set_message(8301, 'GHR_37251_ALL_PROCEDURE_FAIL');
2661: hr_utility.raise_error;
2662: end if;
2663: end if;
2664: end if;
2665:

Line 2674: hr_utility.set_message(8301, 'GHR_37252_ALL_PROCEDURE_FAIL');

2670: p_to_pay_plan not in ('ES','FB','FE','FJ','FX')
2671: and
2672: p_to_pay_plan is not null
2673: then
2674: hr_utility.set_message(8301, 'GHR_37252_ALL_PROCEDURE_FAIL');
2675: hr_utility.raise_error;
2676: end if;
2677:
2678: -- 440.25.2

Line 2675: hr_utility.raise_error;

2671: and
2672: p_to_pay_plan is not null
2673: then
2674: hr_utility.set_message(8301, 'GHR_37252_ALL_PROCEDURE_FAIL');
2675: hr_utility.raise_error;
2676: end if;
2677:
2678: -- 440.25.2
2679: --upd47 26-Jun-06 Raju From 01-Apr-2003 Terminate the edit

Line 2683: hr_utility.set_message(8301, 'GHR_37253_ALL_PROCEDURE_FAIL');

2679: --upd47 26-Jun-06 Raju From 01-Apr-2003 Terminate the edit
2680: if p_effective_date < fnd_date.canonical_to_date('2003/04/01') then
2681: If p_first_NOAC_Lookup_Code ='893' and
2682: p_to_pay_plan ='GM' then
2683: hr_utility.set_message(8301, 'GHR_37253_ALL_PROCEDURE_FAIL');
2684: hr_utility.raise_error;
2685: end if;
2686: end if;
2687:

Line 2684: hr_utility.raise_error;

2680: if p_effective_date < fnd_date.canonical_to_date('2003/04/01') then
2681: If p_first_NOAC_Lookup_Code ='893' and
2682: p_to_pay_plan ='GM' then
2683: hr_utility.set_message(8301, 'GHR_37253_ALL_PROCEDURE_FAIL');
2684: hr_utility.raise_error;
2685: end if;
2686: end if;
2687:
2688: -- 440.30.2

Line 2697: hr_utility.set_message(8301, 'GHR_37254_ALL_PROCEDURE_FAIL');

2693: p_agency not in ('AF','AR','DD','NV')
2694: and
2695: p_to_pay_plan = 'GM'
2696: then
2697: hr_utility.set_message(8301, 'GHR_37254_ALL_PROCEDURE_FAIL');
2698: hr_utility.raise_error;
2699: end if;
2700:
2701: -- 440.35.2

Line 2698: hr_utility.raise_error;

2694: and
2695: p_to_pay_plan = 'GM'
2696: then
2697: hr_utility.set_message(8301, 'GHR_37254_ALL_PROCEDURE_FAIL');
2698: hr_utility.raise_error;
2699: end if;
2700:
2701: -- 440.35.2
2702: -- Delete the first line of the edit (If effective date is later than october 31, 1993)

Line 2715: hr_utility.set_message(8301, 'GHR_37255_ALL_PROCEDURE_FAIL');

2711: )
2712: and
2713: p_to_pay_plan = 'GM'
2714: then
2715: hr_utility.set_message(8301, 'GHR_37255_ALL_PROCEDURE_FAIL');
2716: hr_utility.raise_error;
2717: end if;
2718:
2719:

Line 2716: hr_utility.raise_error;

2712: and
2713: p_to_pay_plan = 'GM'
2714: then
2715: hr_utility.set_message(8301, 'GHR_37255_ALL_PROCEDURE_FAIL');
2716: hr_utility.raise_error;
2717: end if;
2718:
2719:
2720: -- 440.40.2

Line 2729: hr_utility.set_message(8301, 'GHR_37256_ALL_PROCEDURE_FAIL');

2725: If p_first_NOAC_Lookup_Code in ('702','703','713','740')
2726: and p_to_pay_plan is not null
2727: and p_to_pay_plan = 'GM'
2728: then
2729: hr_utility.set_message(8301, 'GHR_37256_ALL_PROCEDURE_FAIL');
2730: hr_utility.raise_error;
2731: end if;
2732:
2733: -- 440.45.3

Line 2730: hr_utility.raise_error;

2726: and p_to_pay_plan is not null
2727: and p_to_pay_plan = 'GM'
2728: then
2729: hr_utility.set_message(8301, 'GHR_37256_ALL_PROCEDURE_FAIL');
2730: hr_utility.raise_error;
2731: end if;
2732:
2733: -- 440.45.3
2734:

Line 2741: hr_utility.set_message(8301, 'GHR_37257_ALL_PROCEDURE_FAIL');

2737: p_Cur_Appt_Auth_2 = 'UAM' )
2738: and
2739: p_to_pay_plan = 'GS'
2740: then
2741: hr_utility.set_message(8301, 'GHR_37257_ALL_PROCEDURE_FAIL');
2742: hr_utility.raise_error;
2743: end if;
2744:
2745: -- 440.46.2

Line 2742: hr_utility.raise_error;

2738: and
2739: p_to_pay_plan = 'GS'
2740: then
2741: hr_utility.set_message(8301, 'GHR_37257_ALL_PROCEDURE_FAIL');
2742: hr_utility.raise_error;
2743: end if;
2744:
2745: -- 440.46.2
2746: -- 12/8/00 vravikan 01-Oct-2000 New Edit

Line 2751: hr_utility.set_message(8301, 'GHR_37677_ALL_PROCEDURE_FAIL');

2747: -- If nature of action is 871, Then pay plan must be GG
2748: if l_effective_date >= fnd_date.canonical_to_date('2000/10/01') then
2749: if p_first_NOAC_Lookup_Code = '871' and
2750: p_to_pay_plan <> 'GG' then
2751: hr_utility.set_message(8301, 'GHR_37677_ALL_PROCEDURE_FAIL');
2752: hr_utility.raise_error;
2753: end if;
2754: end if;
2755: end chk_pay_plan;

Line 2752: hr_utility.raise_error;

2748: if l_effective_date >= fnd_date.canonical_to_date('2000/10/01') then
2749: if p_first_NOAC_Lookup_Code = '871' and
2750: p_to_pay_plan <> 'GG' then
2751: hr_utility.set_message(8301, 'GHR_37677_ALL_PROCEDURE_FAIL');
2752: hr_utility.raise_error;
2753: end if;
2754: end if;
2755: end chk_pay_plan;
2756:

Line 2779: hr_utility.set_message(8301, 'GHR_37258_ALL_PROCEDURE_FAIL');

2775: substr(p_to_pay_plan, 1, 1) = 'W' or
2776: substr(p_to_pay_plan, 1, 1) = 'X'
2777: )
2778: then
2779: hr_utility.set_message(8301, 'GHR_37258_ALL_PROCEDURE_FAIL');
2780: hr_utility.raise_error;
2781: end if;
2782:
2783: -- 450.03.2

Line 2780: hr_utility.raise_error;

2776: substr(p_to_pay_plan, 1, 1) = 'X'
2777: )
2778: then
2779: hr_utility.set_message(8301, 'GHR_37258_ALL_PROCEDURE_FAIL');
2780: hr_utility.raise_error;
2781: end if;
2782:
2783: -- 450.03.2
2784: -- Update Date By Effective Date Bug Comment

Line 2802: hr_utility.set_message(8301, 'GHR_37259_ALL_PROCEDURE_FAIL');

2798: p_prior_pay_rate_det_code is null
2799: ) )
2800: )
2801: then
2802: hr_utility.set_message(8301, 'GHR_37259_ALL_PROCEDURE_FAIL');
2803: hr_utility.raise_error;
2804: end if;
2805:
2806: -- 450.04.3

Line 2803: hr_utility.raise_error;

2799: ) )
2800: )
2801: then
2802: hr_utility.set_message(8301, 'GHR_37259_ALL_PROCEDURE_FAIL');
2803: hr_utility.raise_error;
2804: end if;
2805:
2806: -- 450.04.3
2807: --upd47 26-Jun-06 Raju From 01-Apr-2003 Terminate the edit

Line 2812: hr_utility.set_message(8301, 'GHR_37260_ALL_PROCEDURE_FAIL');

2808: if p_effective_date < fnd_date.canonical_to_date('2003/04/01') then
2809: if (p_to_pay_plan = 'FA' or p_to_pay_plan = 'EX') and
2810: p_pay_rate_determinant_code not in ('C','S','0') and
2811: p_pay_rate_determinant_code is not null then
2812: hr_utility.set_message(8301, 'GHR_37260_ALL_PROCEDURE_FAIL');
2813: hr_utility.raise_error;
2814: end if;
2815: end if;
2816:

Line 2813: hr_utility.raise_error;

2809: if (p_to_pay_plan = 'FA' or p_to_pay_plan = 'EX') and
2810: p_pay_rate_determinant_code not in ('C','S','0') and
2811: p_pay_rate_determinant_code is not null then
2812: hr_utility.set_message(8301, 'GHR_37260_ALL_PROCEDURE_FAIL');
2813: hr_utility.raise_error;
2814: end if;
2815: end if;
2816:
2817: -- 450.05.3

Line 2828: hr_utility.set_message(8301, 'GHR_37859_ALL_PROCEDURE_FAIL');

2824: p_pay_rate_determinant_code in ('A','B','E','F','U','V')
2825: and
2826: p_pay_rate_determinant_code is not null
2827: then
2828: hr_utility.set_message(8301, 'GHR_37859_ALL_PROCEDURE_FAIL');
2829: hr_utility.raise_error;
2830: END IF;
2831: END IF;
2832:

Line 2829: hr_utility.raise_error;

2825: and
2826: p_pay_rate_determinant_code is not null
2827: then
2828: hr_utility.set_message(8301, 'GHR_37859_ALL_PROCEDURE_FAIL');
2829: hr_utility.raise_error;
2830: END IF;
2831: END IF;
2832:
2833:

Line 2843: hr_utility.set_message(8301, 'GHR_37261_ALL_PROCEDURE_FAIL');

2839: p_to_pay_plan in ('ED','EE','EF','EG','EH','EI','ZZ')
2840: or
2841: substr(p_to_pay_plan,1,1) in ('B','W','X')
2842: ) then
2843: hr_utility.set_message(8301, 'GHR_37261_ALL_PROCEDURE_FAIL');
2844: hr_utility.raise_error;
2845: end if;
2846: end if;
2847: -- 450.19.3

Line 2844: hr_utility.raise_error;

2840: or
2841: substr(p_to_pay_plan,1,1) in ('B','W','X')
2842: ) then
2843: hr_utility.set_message(8301, 'GHR_37261_ALL_PROCEDURE_FAIL');
2844: hr_utility.raise_error;
2845: end if;
2846: end if;
2847: -- 450.19.3
2848: -- UPDATE_DATE UPDATED_BY EFFECTIVE_DATE COMMENTS

Line 2868: hr_utility.set_message(8301, 'GHR_37262_ALL_PROCEDURE_FAIL');

2864: p_pay_rate_determinant_code <> 'D'--Bug# 7633560
2865: and
2866: p_pay_rate_determinant_code is not null
2867: then
2868: hr_utility.set_message(8301, 'GHR_37262_ALL_PROCEDURE_FAIL');
2869: hr_utility.raise_error;
2870: end if;
2871: end if;
2872:

Line 2869: hr_utility.raise_error;

2865: and
2866: p_pay_rate_determinant_code is not null
2867: then
2868: hr_utility.set_message(8301, 'GHR_37262_ALL_PROCEDURE_FAIL');
2869: hr_utility.raise_error;
2870: end if;
2871: end if;
2872:
2873: -- 450.22.2

Line 2888: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');

2884: 'M','U','V')
2885: and
2886: p_prior_pay_rate_det_code is not null
2887: then
2888: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');
2889: hr_utility.set_message_token('PRD_LIST','A, B, E, F, M, U, or V');
2890: hr_utility.raise_error;
2891: end if;
2892: elsif p_effective_date >= to_date('2005/05/01','yyyy/mm/dd') then

Line 2889: hr_utility.set_message_token('PRD_LIST','A, B, E, F, M, U, or V');

2885: and
2886: p_prior_pay_rate_det_code is not null
2887: then
2888: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');
2889: hr_utility.set_message_token('PRD_LIST','A, B, E, F, M, U, or V');
2890: hr_utility.raise_error;
2891: end if;
2892: elsif p_effective_date >= to_date('2005/05/01','yyyy/mm/dd') then
2893: if ( p_first_noa_lookup_code= '740' or

Line 2890: hr_utility.raise_error;

2886: p_prior_pay_rate_det_code is not null
2887: then
2888: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');
2889: hr_utility.set_message_token('PRD_LIST','A, B, E, F, M, U, or V');
2890: hr_utility.raise_error;
2891: end if;
2892: elsif p_effective_date >= to_date('2005/05/01','yyyy/mm/dd') then
2893: if ( p_first_noa_lookup_code= '740' or
2894: p_first_noa_lookup_code= '741') and

Line 2899: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');

2895: p_pay_rate_determinant_code not in ('A','B','E','F','U','V') and
2896: p_pay_rate_determinant_code is not null and
2897: p_prior_pay_rate_det_code not in ('A','B','E','F','U','V') and
2898: p_prior_pay_rate_det_code is not null then
2899: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');
2900: hr_utility.set_message_token('PRD_LIST','A, B, E, F, U, or V');
2901: hr_utility.raise_error;
2902: end if;
2903: end if;

Line 2900: hr_utility.set_message_token('PRD_LIST','A, B, E, F, U, or V');

2896: p_pay_rate_determinant_code is not null and
2897: p_prior_pay_rate_det_code not in ('A','B','E','F','U','V') and
2898: p_prior_pay_rate_det_code is not null then
2899: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');
2900: hr_utility.set_message_token('PRD_LIST','A, B, E, F, U, or V');
2901: hr_utility.raise_error;
2902: end if;
2903: end if;
2904:

Line 2901: hr_utility.raise_error;

2897: p_prior_pay_rate_det_code not in ('A','B','E','F','U','V') and
2898: p_prior_pay_rate_det_code is not null then
2899: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');
2900: hr_utility.set_message_token('PRD_LIST','A, B, E, F, U, or V');
2901: hr_utility.raise_error;
2902: end if;
2903: end if;
2904:
2905: -- 450.25.2

Line 2910: hr_utility.set_message(8301, 'GHR_37264_ALL_PROCEDURE_FAIL');

2906: if (p_first_noa_lookup_code ='702' or
2907: p_first_noa_lookup_code ='721')
2908: and
2909: p_pay_rate_determinant_code in ('A','B','E','F','U','V') then
2910: hr_utility.set_message(8301, 'GHR_37264_ALL_PROCEDURE_FAIL');
2911: hr_utility.raise_error;
2912: end if;
2913:
2914: -- 450.28.2

Line 2911: hr_utility.raise_error;

2907: p_first_noa_lookup_code ='721')
2908: and
2909: p_pay_rate_determinant_code in ('A','B','E','F','U','V') then
2910: hr_utility.set_message(8301, 'GHR_37264_ALL_PROCEDURE_FAIL');
2911: hr_utility.raise_error;
2912: end if;
2913:
2914: -- 450.28.2
2915: -- Update/Change Date By Effective Date Comment

Line 2926: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');

2922: p_first_noa_lookup_code = '893') and
2923: p_pay_rate_determinant_code not in ('0','5','6','7','A','B','E','F','T') and
2924: p_pay_rate_determinant_code is not null
2925: then
2926: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');
2927: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F or T');
2928: hr_utility.raise_error;
2929: end if;
2930: elsIf p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') then

Line 2927: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F or T');

2923: p_pay_rate_determinant_code not in ('0','5','6','7','A','B','E','F','T') and
2924: p_pay_rate_determinant_code is not null
2925: then
2926: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');
2927: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F or T');
2928: hr_utility.raise_error;
2929: end if;
2930: elsIf p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') then
2931: if (p_first_noa_lookup_code = '892' or

Line 2928: hr_utility.raise_error;

2924: p_pay_rate_determinant_code is not null
2925: then
2926: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');
2927: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F or T');
2928: hr_utility.raise_error;
2929: end if;
2930: elsIf p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') then
2931: if (p_first_noa_lookup_code = '892' or
2932: p_first_noa_lookup_code = '893') and

Line 2936: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');

2932: p_first_noa_lookup_code = '893') and
2933: p_pay_rate_determinant_code not in ('0','5','6','7','A','B','E','F','M','T') and
2934: p_pay_rate_determinant_code is not null
2935: then
2936: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');
2937: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F, M or T');
2938: hr_utility.raise_error;
2939: end if;
2940: else

Line 2937: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F, M or T');

2933: p_pay_rate_determinant_code not in ('0','5','6','7','A','B','E','F','M','T') and
2934: p_pay_rate_determinant_code is not null
2935: then
2936: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');
2937: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F, M or T');
2938: hr_utility.raise_error;
2939: end if;
2940: else
2941: if (p_first_noa_lookup_code = '892' or

Line 2938: hr_utility.raise_error;

2934: p_pay_rate_determinant_code is not null
2935: then
2936: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');
2937: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F, M or T');
2938: hr_utility.raise_error;
2939: end if;
2940: else
2941: if (p_first_noa_lookup_code = '892' or
2942: p_first_noa_lookup_code = '893') and

Line 2947: hr_utility.set_message(8301, 'GHR_37265_ALL_PROCEDURE_FAIL');

2943: p_pay_rate_determinant_code not in ('0','5','6','7','A',
2944: 'B','E','F','M') and
2945: p_pay_rate_determinant_code is not null
2946: then
2947: hr_utility.set_message(8301, 'GHR_37265_ALL_PROCEDURE_FAIL');
2948: hr_utility.raise_error;
2949: end if;
2950: end if;
2951: end if;

Line 2948: hr_utility.raise_error;

2944: 'B','E','F','M') and
2945: p_pay_rate_determinant_code is not null
2946: then
2947: hr_utility.set_message(8301, 'GHR_37265_ALL_PROCEDURE_FAIL');
2948: hr_utility.raise_error;
2949: end if;
2950: end if;
2951: end if;
2952:

Line 3122: hr_utility.set_message(8301, 'GHR_37266_ALL_PROCEDURE_FAIL');

3118: substr(p_duty_station_lookup_code,1,2) = '54' and
3119: substr(p_duty_station_lookup_code,7,3) not in ('003','037')
3120: )
3121: ) then
3122: hr_utility.set_message(8301, 'GHR_37266_ALL_PROCEDURE_FAIL');
3123: hr_utility.raise_error;
3124: end if;
3125: END IF;
3126: -------------------------------------------------------------------------------

Line 3123: hr_utility.raise_error;

3119: substr(p_duty_station_lookup_code,7,3) not in ('003','037')
3120: )
3121: ) then
3122: hr_utility.set_message(8301, 'GHR_37266_ALL_PROCEDURE_FAIL');
3123: hr_utility.raise_error;
3124: end if;
3125: END IF;
3126: -------------------------------------------------------------------------------
3127:

Line 3133: hr_utility.set_message(8301, 'GHR_37267_ALL_PROCEDURE_FAIL');

3129: -- UPD 56 (Bug# 8309414) Terminating the edit eff date 13-Aug-2007
3130: if p_effective_date < fnd_date.canonical_to_date('2007/08/14') then
3131: if p_pay_rate_determinant_code = 'P' and
3132: p_agency <>'VA' then
3133: hr_utility.set_message(8301, 'GHR_37267_ALL_PROCEDURE_FAIL');
3134: hr_utility.raise_error;
3135: end if;
3136: end if;
3137:

Line 3134: hr_utility.raise_error;

3130: if p_effective_date < fnd_date.canonical_to_date('2007/08/14') then
3131: if p_pay_rate_determinant_code = 'P' and
3132: p_agency <>'VA' then
3133: hr_utility.set_message(8301, 'GHR_37267_ALL_PROCEDURE_FAIL');
3134: hr_utility.raise_error;
3135: end if;
3136: end if;
3137:
3138: -- 450.42.3

Line 3150: hr_utility.set_message(8301, 'GHR_37062_ALL_PROCEDURE_FAIL');

3146: if (p_to_pay_plan= 'GM' or
3147: p_to_pay_plan= 'GS'
3148: ) and
3149: p_pay_rate_determinant_code in ('P','T') then
3150: hr_utility.set_message(8301, 'GHR_37062_ALL_PROCEDURE_FAIL');
3151: hr_utility.raise_error;
3152: end if;
3153: else
3154: if (p_to_pay_plan= 'GM' or

Line 3151: hr_utility.raise_error;

3147: p_to_pay_plan= 'GS'
3148: ) and
3149: p_pay_rate_determinant_code in ('P','T') then
3150: hr_utility.set_message(8301, 'GHR_37062_ALL_PROCEDURE_FAIL');
3151: hr_utility.raise_error;
3152: end if;
3153: else
3154: if (p_to_pay_plan= 'GM' or
3155: p_to_pay_plan= 'GS'

Line 3158: hr_utility.set_message(8301, 'GHR_37268_ALL_PROCEDURE_FAIL');

3154: if (p_to_pay_plan= 'GM' or
3155: p_to_pay_plan= 'GS'
3156: ) and
3157: p_pay_rate_determinant_code = 'P' then
3158: hr_utility.set_message(8301, 'GHR_37268_ALL_PROCEDURE_FAIL');
3159: hr_utility.raise_error;
3160: end if;
3161: end if;
3162: end if;

Line 3159: hr_utility.raise_error;

3155: p_to_pay_plan= 'GS'
3156: ) and
3157: p_pay_rate_determinant_code = 'P' then
3158: hr_utility.set_message(8301, 'GHR_37268_ALL_PROCEDURE_FAIL');
3159: hr_utility.raise_error;
3160: end if;
3161: end if;
3162: end if;
3163: -- 450.43.3

Line 3177: hr_utility.set_message(8301, 'GHR_38841_ALL_PROCEDURE_FAIL');

3173:
3174: IF p_pay_rate_determinant_code = 'Z' AND
3175: p_to_pay_plan IN ('FO','FP') AND p_agency NOT IN ('AM','GY','ST') AND
3176: substr(p_duty_station_lookup_code,1,2) NOT IN ('CA','MX') THEN
3177: hr_utility.set_message(8301, 'GHR_38841_ALL_PROCEDURE_FAIL');
3178: hr_utility.raise_error;
3179: END IF;
3180:
3181: end chk_pay_rate_determinant;

Line 3178: hr_utility.raise_error;

3174: IF p_pay_rate_determinant_code = 'Z' AND
3175: p_to_pay_plan IN ('FO','FP') AND p_agency NOT IN ('AM','GY','ST') AND
3176: substr(p_duty_station_lookup_code,1,2) NOT IN ('CA','MX') THEN
3177: hr_utility.set_message(8301, 'GHR_38841_ALL_PROCEDURE_FAIL');
3178: hr_utility.raise_error;
3179: END IF;
3180:
3181: end chk_pay_rate_determinant;
3182: