DBA Data[Home] [Help]

APPS.GHR_CPDF_CHECK3 dependencies on HR_UTILITY

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

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

Line 89: hr_utility.raise_error;

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

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

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

Line 100: hr_utility.raise_error;

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

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

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

Line 118: hr_utility.raise_error;

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

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

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

Line 123: hr_utility.raise_error;

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

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

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

Line 128: hr_utility.raise_error;

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

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

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

Line 133: hr_utility.raise_error;

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

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

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

Line 138: hr_utility.raise_error;

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

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

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

Line 143: hr_utility.raise_error;

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

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

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

Line 148: hr_utility.raise_error;

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

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

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

Line 153: hr_utility.raise_error;

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

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

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

Line 162: hr_utility.raise_error;

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

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

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

Line 170: hr_utility.raise_error;

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

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

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

Line 175: hr_utility.raise_error;

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

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

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

Line 183: hr_utility.raise_error;

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

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

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

Line 188: hr_utility.raise_error;

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

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

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

Line 193: hr_utility.raise_error;

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

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

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

Line 198: hr_utility.raise_error;

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

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

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

Line 203: hr_utility.raise_error;

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

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

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

Line 208: hr_utility.raise_error;

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

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

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

Line 213: hr_utility.raise_error;

209: end if;
210: if p_First_NOAC_Lookup_Code not in ('001','817') and
211: p_sex is null then
212: hr_utility.set_message(8301, 'GHR_37287_ALL_PROCEDURE_FAIL');
213: hr_utility.raise_error;
214: end if;
215:
216: -- 370.04.2
217: -- Update Date By Effective Date Comment

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

217: -- Update Date By Effective Date Comment
218: -- 8 01/28/99 vravikan 01/10/98 Add nature of action 6__
219: -- 02/24/00 vravikan 1186310 Getting noa_family_code rather
220: -- than using passed family code
221: hr_utility.set_location('passed noa_family_code is ' || p_noa_family_code,1);
222: FOR c_noa_family_code_rec in c_noa_family_code LOOP
223: l_noa_family_code := c_noa_family_code_rec.noa_family_code;
224: hr_utility.set_location('actual noa_family_code is ' || l_noa_family_code,2);
225: exit;

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

220: -- than using passed family code
221: hr_utility.set_location('passed noa_family_code is ' || p_noa_family_code,1);
222: FOR c_noa_family_code_rec in c_noa_family_code LOOP
223: l_noa_family_code := c_noa_family_code_rec.noa_family_code;
224: hr_utility.set_location('actual noa_family_code is ' || l_noa_family_code,2);
225: exit;
226: END LOOP;
227: if p_effective_date >= fnd_date.canonical_to_date('1998/10/01') then
228: if substr(p_First_NOAC_Lookup_Code,1,1) in ('1','2','5','6','7','8')

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

237: p_To_Basic_Pay is null or
238: p_To_Step_Or_Rate is null or
239: p_Work_Sche_Code is null )
240: then
241: hr_utility.set_message(8301, 'GHR_37203_ALL_PROCEDURE_FAIL');
242: hr_utility.raise_error;
243: end if;
244: else
245: if substr(p_First_NOAC_Lookup_Code,1,1) in ('1','2','5','7','8')

Line 242: hr_utility.raise_error;

238: p_To_Step_Or_Rate is null or
239: p_Work_Sche_Code is null )
240: then
241: hr_utility.set_message(8301, 'GHR_37203_ALL_PROCEDURE_FAIL');
242: hr_utility.raise_error;
243: end if;
244: else
245: if substr(p_First_NOAC_Lookup_Code,1,1) in ('1','2','5','7','8')
246: and

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

254: p_To_Basic_Pay is null or
255: p_To_Step_Or_Rate is null or
256: p_Work_Sche_Code is null )
257: then
258: hr_utility.set_message(8301, 'GHR_37204_ALL_PROCEDURE_FAIL');
259: hr_utility.raise_error;
260: end if;
261: end if;
262:

Line 259: hr_utility.raise_error;

255: p_To_Step_Or_Rate is null or
256: p_Work_Sche_Code is null )
257: then
258: hr_utility.set_message(8301, 'GHR_37204_ALL_PROCEDURE_FAIL');
259: hr_utility.raise_error;
260: end if;
261: end if;
262:
263:

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

294: p_Prior_To_Step_Or_Rate is null or
295: p_Prior_Work_Sche_Code is null or
296: p_prior_Duty_Station is nulL
297: ) then
298: hr_utility.set_message(8301, 'GHR_37205_ALL_PROCEDURE_FAIL');
299: hr_utility.set_message_token('NOA_CODE','3--,4--,5--,6--, 7--, or 8--');
300: hr_utility.raise_error;
301: end if;
302: else -- p_effective_date < '2004/06/01'

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

295: p_Prior_Work_Sche_Code is null or
296: p_prior_Duty_Station is nulL
297: ) then
298: hr_utility.set_message(8301, 'GHR_37205_ALL_PROCEDURE_FAIL');
299: hr_utility.set_message_token('NOA_CODE','3--,4--,5--,6--, 7--, or 8--');
300: hr_utility.raise_error;
301: end if;
302: else -- p_effective_date < '2004/06/01'
303: if substr(p_First_NOAC_Lookup_Code,1,1) in ('3','4','5','6','7','8') and

Line 300: hr_utility.raise_error;

296: p_prior_Duty_Station is nulL
297: ) then
298: hr_utility.set_message(8301, 'GHR_37205_ALL_PROCEDURE_FAIL');
299: hr_utility.set_message_token('NOA_CODE','3--,4--,5--,6--, 7--, or 8--');
300: hr_utility.raise_error;
301: end if;
302: else -- p_effective_date < '2004/06/01'
303: if substr(p_First_NOAC_Lookup_Code,1,1) in ('3','4','5','6','7','8') and
304: p_First_NOAC_Lookup_Code not in ('815','816','817','825','826','827','840','841','842',

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

313: p_Prior_To_Step_Or_Rate is null or
314: p_Prior_Work_Sche_Code is null or
315: p_prior_Duty_Station is nulL
316: ) then
317: hr_utility.set_message(8301, 'GHR_37851_ALL_PROCEDURE_FAIL');
318: hr_utility.raise_error;
319: end if;
320: end if; -- p_effective_date < '2004/06/01'
321: end if; --l_session.noa_id_correct is null

Line 318: hr_utility.raise_error;

314: p_Prior_Work_Sche_Code is null or
315: p_prior_Duty_Station is nulL
316: ) then
317: hr_utility.set_message(8301, 'GHR_37851_ALL_PROCEDURE_FAIL');
318: hr_utility.raise_error;
319: end if;
320: end if; -- p_effective_date < '2004/06/01'
321: end if; --l_session.noa_id_correct is null
322: elsif p_effective_date < fnd_date.canonical_to_date('2007/01/01') then --p_effective_date < '2006/05/01'

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

334: p_Prior_To_Step_Or_Rate is null or
335: p_Prior_Work_Sche_Code is null or
336: p_prior_Duty_Station is nulL
337: ) then
338: hr_utility.set_message(8301, 'GHR_37200_ALL_PROCEDURE_FAIL');
339: hr_utility.set_message_token('NOA_CODE','815, 816, 817, 825, 826, 827, 840 through 848, 878, 879');
340: hr_utility.raise_error;
341: end if;
342: end if;

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

335: p_Prior_Work_Sche_Code is null or
336: p_prior_Duty_Station is nulL
337: ) then
338: hr_utility.set_message(8301, 'GHR_37200_ALL_PROCEDURE_FAIL');
339: hr_utility.set_message_token('NOA_CODE','815, 816, 817, 825, 826, 827, 840 through 848, 878, 879');
340: hr_utility.raise_error;
341: end if;
342: end if;
343: else --p_effective_date < '2006/05/01'

Line 340: hr_utility.raise_error;

336: p_prior_Duty_Station is nulL
337: ) then
338: hr_utility.set_message(8301, 'GHR_37200_ALL_PROCEDURE_FAIL');
339: hr_utility.set_message_token('NOA_CODE','815, 816, 817, 825, 826, 827, 840 through 848, 878, 879');
340: hr_utility.raise_error;
341: end if;
342: end if;
343: else --p_effective_date < '2006/05/01'
344: if l_session.noa_id_correct is null then

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

355: p_Prior_To_Step_Or_Rate is null or
356: p_Prior_Work_Sche_Code is null or
357: p_prior_Duty_Station is nulL
358: ) then
359: hr_utility.set_message(8301, 'GHR_37200_ALL_PROCEDURE_FAIL');
360: hr_utility.set_message_token('NOA_CODE','815, 816, 817, 825, 826, 827, 840 through 849, 878, 879, 885, 886, 887, 889');
361: hr_utility.raise_error;
362: end if;
363: end if;

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

356: p_Prior_Work_Sche_Code is null or
357: p_prior_Duty_Station is nulL
358: ) then
359: hr_utility.set_message(8301, 'GHR_37200_ALL_PROCEDURE_FAIL');
360: hr_utility.set_message_token('NOA_CODE','815, 816, 817, 825, 826, 827, 840 through 849, 878, 879, 885, 886, 887, 889');
361: hr_utility.raise_error;
362: end if;
363: end if;
364: end if; --p_effective_date < '2006/05/01'

Line 361: hr_utility.raise_error;

357: p_prior_Duty_Station is nulL
358: ) then
359: hr_utility.set_message(8301, 'GHR_37200_ALL_PROCEDURE_FAIL');
360: hr_utility.set_message_token('NOA_CODE','815, 816, 817, 825, 826, 827, 840 through 849, 878, 879, 885, 886, 887, 889');
361: hr_utility.raise_error;
362: end if;
363: end if;
364: end if; --p_effective_date < '2006/05/01'
365: else -- p_effective_date >=01/10/1998'

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

377: p_Prior_To_Step_Or_Rate is null or
378: p_Prior_Work_Sche_Code is null or
379: p_prior_Duty_Station is nulL
380: ) then
381: hr_utility.set_message(8301, 'GHR_37205_ALL_PROCEDURE_FAIL');
382: hr_utility.set_message_token('NOA_CODE','3--,4--,5--, 7--, or 8--');
383: hr_utility.raise_error;
384: end if;
385: end if;

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

378: p_Prior_Work_Sche_Code is null or
379: p_prior_Duty_Station is nulL
380: ) then
381: hr_utility.set_message(8301, 'GHR_37205_ALL_PROCEDURE_FAIL');
382: hr_utility.set_message_token('NOA_CODE','3--,4--,5--, 7--, or 8--');
383: hr_utility.raise_error;
384: end if;
385: end if;
386: end if;

Line 383: hr_utility.raise_error;

379: p_prior_Duty_Station is nulL
380: ) then
381: hr_utility.set_message(8301, 'GHR_37205_ALL_PROCEDURE_FAIL');
382: hr_utility.set_message_token('NOA_CODE','3--,4--,5--, 7--, or 8--');
383: hr_utility.raise_error;
384: end if;
385: end if;
386: end if;
387:

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

393: p_First_Action_NOA_Code2 is null and
394: (p_Retention_Allowance is null and
395: p_Supervisory_Diff is null
396: ) then
397: hr_utility.set_message(8301, 'GHR_37275_ALL_PROCEDURE_FAIL');
398: hr_utility.raise_error;
399: end if;
400:
401:

Line 398: hr_utility.raise_error;

394: (p_Retention_Allowance is null and
395: p_Supervisory_Diff is null
396: ) then
397: hr_utility.set_message(8301, 'GHR_37275_ALL_PROCEDURE_FAIL');
398: hr_utility.raise_error;
399: end if;
400:
401:
402: -- 370.25.2

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

414: p_pay_rate_determinant_code is not null or
415: p_To_Step_Or_Rate is not null
416: ) then
417:
418: hr_utility.set_message(8301, 'GHR_37206_ALL_PROCEDURE_FAIL');
419: hr_utility.raise_error;
420: end if;
421: END IF;
422:

Line 419: hr_utility.raise_error;

415: p_To_Step_Or_Rate is not null
416: ) then
417:
418: hr_utility.set_message(8301, 'GHR_37206_ALL_PROCEDURE_FAIL');
419: hr_utility.raise_error;
420: end if;
421: END IF;
422:
423:

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

432: p_Prior_Pay_Rate_Det_Code is not null or
433: p_Prior_To_Step_Or_Rate is not null
434: ) then
435:
436: hr_utility.set_message(8301, 'GHR_37207_ALL_PROCEDURE_FAIL');
437: hr_utility.raise_error;
438: end if;
439: --370.35.2
440: -- 12/08/00 vravikan 01-oct-2000 New Edit

Line 437: hr_utility.raise_error;

433: p_Prior_To_Step_Or_Rate is not null
434: ) then
435:
436: hr_utility.set_message(8301, 'GHR_37207_ALL_PROCEDURE_FAIL');
437: hr_utility.raise_error;
438: end if;
439: --370.35.2
440: -- 12/08/00 vravikan 01-oct-2000 New Edit
441: -- If nature of action is 600 through 610,

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

443:
444: IF p_effective_date >= fnd_date.canonical_to_date('2000/10/01') then
445: IF p_First_NOAC_Lookup_Code between '600' and '610' and
446: p_agency_subelement <> 'TD03' then
447: hr_utility.set_message(8301, 'GHR_37664_ALL_PROCEDURE_FAIL');
448: hr_utility.raise_error;
449: END IF;
450: END IF;
451: --370.36.2

Line 448: hr_utility.raise_error;

444: IF p_effective_date >= fnd_date.canonical_to_date('2000/10/01') then
445: IF p_First_NOAC_Lookup_Code between '600' and '610' and
446: p_agency_subelement <> 'TD03' then
447: hr_utility.set_message(8301, 'GHR_37664_ALL_PROCEDURE_FAIL');
448: hr_utility.raise_error;
449: END IF;
450: END IF;
451: --370.36.2
452: -- 12/08/00 vravikan 01-oct-2000 New Edit

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

455:
456: IF p_effective_date >= fnd_date.canonical_to_date('2000/10/01') then
457: IF p_First_NOAC_Lookup_Code = '871' and
458: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') then
459: hr_utility.set_message(8301, 'GHR_37665_ALL_PROCEDURE_FAIL');
460: hr_utility.raise_error;
461: END IF;
462: END IF;
463:

Line 460: hr_utility.raise_error;

456: IF p_effective_date >= fnd_date.canonical_to_date('2000/10/01') then
457: IF p_First_NOAC_Lookup_Code = '871' and
458: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') then
459: hr_utility.set_message(8301, 'GHR_37665_ALL_PROCEDURE_FAIL');
460: hr_utility.raise_error;
461: END IF;
462: END IF;
463:
464: -- 370.37.2

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

465: -- Upd 47 23-Jun-06 Raju From 01-Apr-06 New Edit
466: IF p_effective_date >= fnd_date.canonical_to_date('2006/04/01') THEN
467: IF p_First_NOAC_Lookup_Code IN ('611','612','613') AND
468: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') THEN
469: hr_utility.set_message(8301, 'GHR_37164_ALL_PROCEDURE_FAIL');
470: hr_utility.raise_error;
471: end if;
472: END IF;
473:

Line 470: hr_utility.raise_error;

466: IF p_effective_date >= fnd_date.canonical_to_date('2006/04/01') THEN
467: IF p_First_NOAC_Lookup_Code IN ('611','612','613') AND
468: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') THEN
469: hr_utility.set_message(8301, 'GHR_37164_ALL_PROCEDURE_FAIL');
470: hr_utility.raise_error;
471: end if;
472: END IF;
473:
474:

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

479: -- Madhuri 19-MAY-2004 Adding new edit
480: --
481:
482: IF ( p_First_NOAC_Lookup_Code = '817' and p_Occupation is null ) THEN
483: hr_utility.set_message(8301, 'GHR_38886_ALL_PROCEDURE_FAIL');
484: hr_utility.raise_error;
485: END IF;
486:
487: end chk_Nature_of_Action;

Line 484: hr_utility.raise_error;

480: --
481:
482: IF ( p_First_NOAC_Lookup_Code = '817' and p_Occupation is null ) THEN
483: hr_utility.set_message(8301, 'GHR_38886_ALL_PROCEDURE_FAIL');
484: hr_utility.raise_error;
485: END IF;
486:
487: end chk_Nature_of_Action;
488:

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

509: to_number(p_occ_code) >= 2500
510: and
511: p_occ_code is not null
512: then
513: hr_utility.set_message(8301, 'GHR_37208_ALL_PROCEDURE_FAIL');
514: hr_utility.raise_error;
515: end if;
516:
517: -- 390.16.1

Line 514: hr_utility.raise_error;

510: and
511: p_occ_code is not null
512: then
513: hr_utility.set_message(8301, 'GHR_37208_ALL_PROCEDURE_FAIL');
514: hr_utility.raise_error;
515: end if;
516:
517: -- 390.16.1
518: if substr(p_to_pay_plan,1,1) in ('W','X', 'K')

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

517: -- 390.16.1
518: if substr(p_to_pay_plan,1,1) in ('W','X', 'K')
519: and
520: (to_number(p_occ_code) < 2499) then
521: hr_utility.set_message(8301, 'GHR_37209_ALL_PROCEDURE_FAIL');
522: hr_utility.raise_error;
523: end if;
524:
525: -- 390.31.1

Line 522: hr_utility.raise_error;

518: if substr(p_to_pay_plan,1,1) in ('W','X', 'K')
519: and
520: (to_number(p_occ_code) < 2499) then
521: hr_utility.set_message(8301, 'GHR_37209_ALL_PROCEDURE_FAIL');
522: hr_utility.raise_error;
523: end if;
524:
525: -- 390.31.1
526: if (p_occ_code = '0605' and substr(p_agency_sub,1,2) <>'VA') then

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

523: end if;
524:
525: -- 390.31.1
526: if (p_occ_code = '0605' and substr(p_agency_sub,1,2) <>'VA') then
527: hr_utility.set_message(8301, 'GHR_37210_ALL_PROCEDURE_FAIL');
528: hr_utility.raise_error;
529: end if;
530:
531: -- 390.43.1

Line 528: hr_utility.raise_error;

524:
525: -- 390.31.1
526: if (p_occ_code = '0605' and substr(p_agency_sub,1,2) <>'VA') then
527: hr_utility.set_message(8301, 'GHR_37210_ALL_PROCEDURE_FAIL');
528: hr_utility.raise_error;
529: end if;
530:
531: -- 390.43.1
532: --

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

538: and (
539: substr(p_agency_sub,1,2) <> 'DN'
540: )
541: then
542: hr_utility.set_message(8301, 'GHR_37211_ALL_PROCEDURE_FAIL');
543: hr_utility.raise_error;
544: end if;*/
545:
546: /* Commented as per December 2000 cpdf changes -- vravikan

Line 543: hr_utility.raise_error;

539: substr(p_agency_sub,1,2) <> 'DN'
540: )
541: then
542: hr_utility.set_message(8301, 'GHR_37211_ALL_PROCEDURE_FAIL');
543: hr_utility.raise_error;
544: end if;*/
545:
546: /* Commented as per December 2000 cpdf changes -- vravikan
547: -- 390.44.1

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

552: and (
553: substr(p_agency_sub,1,2) not in ('DN', 'IN07')
554: )
555: then
556: hr_utility.set_message(8301, 'GHR_37881_ALL_PROCEDURE_FAIL');
557: hr_utility.raise_error;
558: end if;
559:
560: */

Line 557: hr_utility.raise_error;

553: substr(p_agency_sub,1,2) not in ('DN', 'IN07')
554: )
555: then
556: hr_utility.set_message(8301, 'GHR_37881_ALL_PROCEDURE_FAIL');
557: hr_utility.raise_error;
558: end if;
559:
560: */
561: -- 390.45.1

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

568: and (
569: substr(p_agency_sub,1,2) not in ('LP')
570: )
571: then
572: hr_utility.set_message(8301, 'GHR_37678_ALL_PROCEDURE_FAIL');
573: hr_utility.raise_error;
574: end if;
575: end if;
576: end if;

Line 573: hr_utility.raise_error;

569: substr(p_agency_sub,1,2) not in ('LP')
570: )
571: then
572: hr_utility.set_message(8301, 'GHR_37678_ALL_PROCEDURE_FAIL');
573: hr_utility.raise_error;
574: end if;
575: end if;
576: end if;
577:

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

583: and (
584: p_agency_sub not in ('CM57')
585: )
586: then
587: hr_utility.set_message(8301, 'GHR_37679_ALL_PROCEDURE_FAIL');
588: hr_utility.raise_error;
589: end if;
590: end if;
591:

Line 588: hr_utility.raise_error;

584: p_agency_sub not in ('CM57')
585: )
586: then
587: hr_utility.set_message(8301, 'GHR_37679_ALL_PROCEDURE_FAIL');
588: hr_utility.raise_error;
589: end if;
590: end if;
591:
592: -- 390.07.2

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

599: to_number(p_occ_code) >= 2500
600: and
601: p_occ_code is not null
602: then
603: hr_utility.set_message(8301, 'GHR_37212_ALL_PROCEDURE_FAIL');
604: hr_utility.raise_error;
605: end if;
606:
607: -- 390.13.2

Line 604: hr_utility.raise_error;

600: and
601: p_occ_code is not null
602: then
603: hr_utility.set_message(8301, 'GHR_37212_ALL_PROCEDURE_FAIL');
604: hr_utility.raise_error;
605: end if;
606:
607: -- 390.13.2
608: if substr(p_to_pay_plan,1,1) in ('W', 'X', 'K')

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

610: to_number(p_occ_code) <= 2499
611: and
612: p_occ_code is not null
613: then
614: hr_utility.set_message(8301, 'GHR_37213_ALL_PROCEDURE_FAIL');
615: hr_utility.raise_error;
616: end if;
617:
618: -- 390.28.2

Line 615: hr_utility.raise_error;

611: and
612: p_occ_code is not null
613: then
614: hr_utility.set_message(8301, 'GHR_37213_ALL_PROCEDURE_FAIL');
615: hr_utility.raise_error;
616: end if;
617:
618: -- 390.28.2
619: if p_occ_code = '0605' and

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

618: -- 390.28.2
619: if p_occ_code = '0605' and
620: substr(p_agency_sub, 1, 2) <> 'VA'
621: then
622: hr_utility.set_message(8301, 'GHR_37214_ALL_PROCEDURE_FAIL');
623: hr_utility.raise_error;
624: end if;
625:
626: /* Commented as per December 2000 cpdf changes -- vravikan

Line 623: hr_utility.raise_error;

619: if p_occ_code = '0605' and
620: substr(p_agency_sub, 1, 2) <> 'VA'
621: then
622: hr_utility.set_message(8301, 'GHR_37214_ALL_PROCEDURE_FAIL');
623: hr_utility.raise_error;
624: end if;
625:
626: /* Commented as per December 2000 cpdf changes -- vravikan
627: -- 390.34.2

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

633: )
634: and
635: p_duty_station_lookup_code is not null
636: then
637: hr_utility.set_message(8301, 'GHR_37215_ALL_PROCEDURE_FAIL');
638: hr_utility.raise_error;
639: end if;
640:
641: */

Line 638: hr_utility.raise_error;

634: and
635: p_duty_station_lookup_code is not null
636: then
637: hr_utility.set_message(8301, 'GHR_37215_ALL_PROCEDURE_FAIL');
638: hr_utility.raise_error;
639: end if;
640:
641: */
642: -- 390.40.2

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

649: if p_occ_code in ('2619','2806','2808','2843')
650: and
651: substr(p_agency_sub, 1, 2) <> 'DN'
652: then
653: hr_utility.set_message(8301, 'GHR_37216_ALL_PROCEDURE_FAIL');
654: hr_utility.raise_error;
655: end if;
656: end if;
657:

Line 654: hr_utility.raise_error;

650: and
651: substr(p_agency_sub, 1, 2) <> 'DN'
652: then
653: hr_utility.set_message(8301, 'GHR_37216_ALL_PROCEDURE_FAIL');
654: hr_utility.raise_error;
655: end if;
656: end if;
657:
658: /* Commented as per December 2000 cpdf changes -- vravikan

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

663: if p_occ_code in ('2806', '2808')
664: and
665: substr(p_agency_sub, 1, 2) not in ('DN', 'IN07')
666: then
667: hr_utility.set_message(8301, 'GHR_37880_ALL_PROCEDURE_FAIL');
668: hr_utility.raise_error;
669: end if;
670:
671: */

Line 668: hr_utility.raise_error;

664: and
665: substr(p_agency_sub, 1, 2) not in ('DN', 'IN07')
666: then
667: hr_utility.set_message(8301, 'GHR_37880_ALL_PROCEDURE_FAIL');
668: hr_utility.raise_error;
669: end if;
670:
671: */
672:

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

717: (p_to_pay_plan = 'SL' and p_pay_basis <>'PA' and p_pay_basis is not null ) or
718: (substr(p_to_pay_plan,1,1) = 'X' and p_pay_basis <> 'PH' and p_pay_basis is not null ) or
719: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
720: then
721: hr_utility.set_message(8301, 'GHR_37909_ALL_PROCEDURE_FAIL');
722: hr_utility.set_message_token('PRD_LIST','A, B, E, F, U, or V');
723: hr_utility.raise_error;
724: end if;
725: end if;

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

718: (substr(p_to_pay_plan,1,1) = 'X' and p_pay_basis <> 'PH' and p_pay_basis is not null ) or
719: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
720: then
721: hr_utility.set_message(8301, 'GHR_37909_ALL_PROCEDURE_FAIL');
722: hr_utility.set_message_token('PRD_LIST','A, B, E, F, U, or V');
723: hr_utility.raise_error;
724: end if;
725: end if;
726: elsif p_effective_date >= to_date('2001/07/01','yyyy/mm/dd') then

Line 723: hr_utility.raise_error;

719: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
720: then
721: hr_utility.set_message(8301, 'GHR_37909_ALL_PROCEDURE_FAIL');
722: hr_utility.set_message_token('PRD_LIST','A, B, E, F, U, or V');
723: hr_utility.raise_error;
724: end if;
725: end if;
726: elsif p_effective_date >= to_date('2001/07/01','yyyy/mm/dd') then
727: if p_pay_rate_determinant_code not in ('A','B','E','F','M','U','V') then

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

737: (p_to_pay_plan = 'SL' and p_pay_basis <>'PA' and p_pay_basis is not null ) or
738: (substr(p_to_pay_plan,1,1) = 'X' and p_pay_basis <> 'PH' and p_pay_basis is not null ) or
739: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
740: then
741: hr_utility.set_message(8301, 'GHR_37909_ALL_PROCEDURE_FAIL');
742: hr_utility.set_message_token('PRD_LIST','A, B, E, F, M, U, or V');
743: hr_utility.raise_error;
744: end if;
745: end if;

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

738: (substr(p_to_pay_plan,1,1) = 'X' and p_pay_basis <> 'PH' and p_pay_basis is not null ) or
739: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
740: then
741: hr_utility.set_message(8301, 'GHR_37909_ALL_PROCEDURE_FAIL');
742: hr_utility.set_message_token('PRD_LIST','A, B, E, F, M, U, or V');
743: hr_utility.raise_error;
744: end if;
745: end if;
746: else

Line 743: hr_utility.raise_error;

739: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
740: then
741: hr_utility.set_message(8301, 'GHR_37909_ALL_PROCEDURE_FAIL');
742: hr_utility.set_message_token('PRD_LIST','A, B, E, F, M, U, or V');
743: hr_utility.raise_error;
744: end if;
745: end if;
746: else
747: if p_pay_rate_determinant_code not in ('A','B','E','F','M','U','V') then

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

758: (p_to_pay_plan = 'TP' and p_pay_basis not in ('FB','PD','SY') and p_pay_basis is not null ) or
759: (substr(p_to_pay_plan,1,1) = 'X' and p_pay_basis <> 'PH' and p_pay_basis is not null ) or
760: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
761: then
762: hr_utility.set_message(8301, 'GHR_37217_ALL_PROCEDURE_FAIL');
763: hr_utility.raise_error;
764: end if;
765: end if;
766: end if;

Line 763: hr_utility.raise_error;

759: (substr(p_to_pay_plan,1,1) = 'X' and p_pay_basis <> 'PH' and p_pay_basis is not null ) or
760: (p_to_pay_plan = 'ZZ' and p_pay_basis <>'WC' and p_pay_basis is not null )
761: then
762: hr_utility.set_message(8301, 'GHR_37217_ALL_PROCEDURE_FAIL');
763: hr_utility.raise_error;
764: end if;
765: end if;
766: end if;
767:

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

782: p_agency_subelement in ('TRAJ','TR35')
783: ) and
784: to_number(p_basic_pay) >max_per_diem
785: then
786: hr_utility.set_message(8301, 'GHR_37219_ALL_PROCEDURE_FAIL');
787: hr_utility.raise_error;
788: end if;*/
789:
790: /*410.07.3 If pay basis is PA, PH, PM, BW, or WC,

Line 787: hr_utility.raise_error;

783: ) and
784: to_number(p_basic_pay) >max_per_diem
785: then
786: hr_utility.set_message(8301, 'GHR_37219_ALL_PROCEDURE_FAIL');
787: hr_utility.raise_error;
788: end if;*/
789:
790: /*410.07.3 If pay basis is PA, PH, PM, BW, or WC,
791: Then basic pay must not be greater than the maximum

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

838: close c_fw_pay_plans;
839:
840: if l_basic_pay > max_basic_pay
841: then
842: hr_utility.set_message(8301, 'GHR_37218_ALL_PROCEDURE_FAIL');
843: hr_utility.raise_error;
844: end if;
845: end if;
846: end if;

Line 843: hr_utility.raise_error;

839:
840: if l_basic_pay > max_basic_pay
841: then
842: hr_utility.set_message(8301, 'GHR_37218_ALL_PROCEDURE_FAIL');
843: hr_utility.raise_error;
844: end if;
845: end if;
846: end if;
847:

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

888: close c_fw_pay_plans;
889: -- Bug 4089960
890:
891: if ( l_basic_pay NOT BETWEEN min_basic_pay and max_basic_pay ) then
892: hr_utility.set_message(8301, 'GHR_38917_ALL_PROCEDURE_FAIL');
893: hr_utility.raise_error;
894: end if;
895: end if;
896: end if;

Line 893: hr_utility.raise_error;

889: -- Bug 4089960
890:
891: if ( l_basic_pay NOT BETWEEN min_basic_pay and max_basic_pay ) then
892: hr_utility.set_message(8301, 'GHR_38917_ALL_PROCEDURE_FAIL');
893: hr_utility.raise_error;
894: end if;
895: end if;
896: end if;
897: End if; -- Check for Pay Plan AD

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

917: l_basic_pay := to_number(p_basic_pay);
918: end if;
919: close c_fw_pay_plans;
920: if ( l_basic_pay NOT BETWEEN min_basic_pay and max_basic_pay ) then
921: hr_utility.set_message(8301, 'GHR_38554_ALL_PROCEDURE_FAIL');
922: hr_utility.raise_error;
923: end if;
924: end if;
925: end if;

Line 922: hr_utility.raise_error;

918: end if;
919: close c_fw_pay_plans;
920: if ( l_basic_pay NOT BETWEEN min_basic_pay and max_basic_pay ) then
921: hr_utility.set_message(8301, 'GHR_38554_ALL_PROCEDURE_FAIL');
922: hr_utility.raise_error;
923: end if;
924: end if;
925: end if;
926: End if; -- Check for Pay Plan AD

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

965: end if;
966: close c_fw_pay_plans;
967:
968: if l_basic_pay > max_basic_pay then
969: hr_utility.set_message(8301, 'GHR_37220_ALL_PROCEDURE_FAIL');
970: hr_utility.raise_error;
971: end if;
972: end if;
973: end if; */

Line 970: hr_utility.raise_error;

966: close c_fw_pay_plans;
967:
968: if l_basic_pay > max_basic_pay then
969: hr_utility.set_message(8301, 'GHR_37220_ALL_PROCEDURE_FAIL');
970: hr_utility.raise_error;
971: end if;
972: end if;
973: end if; */
974:

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

1000: '09', '10', '11', '12', '13', '14', '15')
1001: and
1002: p_to_grade_or_level is not null
1003: then
1004: hr_utility.set_message(8301, 'GHR_37221_ALL_PROCEDURE_FAIL');
1005: hr_utility.raise_error;
1006: end if;
1007:
1008: -- 420.04.3

Line 1005: hr_utility.raise_error;

1001: and
1002: p_to_grade_or_level is not null
1003: then
1004: hr_utility.set_message(8301, 'GHR_37221_ALL_PROCEDURE_FAIL');
1005: hr_utility.raise_error;
1006: end if;
1007:
1008: -- 420.04.3
1009: if (p_to_pay_plan = 'WS' or p_to_pay_plan ='XH')

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

1013: '11', '12', '13', '14', '15', '16', '17', '18', '19')
1014: and
1015: p_to_grade_or_level is not null
1016: then
1017: hr_utility.set_message(8301, 'GHR_37222_ALL_PROCEDURE_FAIL');
1018: hr_utility.raise_error;
1019: end if;
1020:
1021: -- 420.07.3

Line 1018: hr_utility.raise_error;

1014: and
1015: p_to_grade_or_level is not null
1016: then
1017: hr_utility.set_message(8301, 'GHR_37222_ALL_PROCEDURE_FAIL');
1018: hr_utility.raise_error;
1019: end if;
1020:
1021: -- 420.07.3
1022: if (p_to_pay_plan = 'FA' and p_pay_rate_determinant_code <> 'S')

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

1025: '01', '02', '03', '04', '13', '14')
1026: and
1027: p_to_grade_or_level is not null
1028: then
1029: hr_utility.set_message(8301, 'GHR_37223_ALL_PROCEDURE_FAIL');
1030: hr_utility.raise_error;
1031: end if;
1032:
1033: -- 420.10.3

Line 1030: hr_utility.raise_error;

1026: and
1027: p_to_grade_or_level is not null
1028: then
1029: hr_utility.set_message(8301, 'GHR_37223_ALL_PROCEDURE_FAIL');
1030: hr_utility.raise_error;
1031: end if;
1032:
1033: -- 420.10.3
1034: -- removed pay plan 'CY'

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

1037: '11', '12', '13', '14', '15', '16', '17')
1038: and
1039: p_to_grade_or_level is not null
1040: then
1041: hr_utility.set_message(8301, 'GHR_37224_ALL_PROCEDURE_FAIL');
1042: hr_utility.raise_error;
1043: end if;
1044:
1045: -- 420.11.3

Line 1042: hr_utility.raise_error;

1038: and
1039: p_to_grade_or_level is not null
1040: then
1041: hr_utility.set_message(8301, 'GHR_37224_ALL_PROCEDURE_FAIL');
1042: hr_utility.raise_error;
1043: end if;
1044:
1045: -- 420.11.3
1046: -- added for the april release as per update 6 manual

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

1049: '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24')
1050: and
1051: p_to_grade_or_level is not null
1052: then
1053: hr_utility.set_message(8301, 'GHR_37882_ALL_PROCEDURE_FAIL');
1054: hr_utility.raise_error;
1055: end if;
1056:
1057:

Line 1054: hr_utility.raise_error;

1050: and
1051: p_to_grade_or_level is not null
1052: then
1053: hr_utility.set_message(8301, 'GHR_37882_ALL_PROCEDURE_FAIL');
1054: hr_utility.raise_error;
1055: end if;
1056:
1057:
1058: -- 420.13.3

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

1060: p_to_grade_or_level not in ( '13', '14', '15')
1061: and
1062: p_to_grade_or_level is not null
1063: then
1064: hr_utility.set_message(8301, 'GHR_37225_ALL_PROCEDURE_FAIL');
1065: hr_utility.raise_error;
1066: end if;
1067:
1068: -- 420.16.3

Line 1065: hr_utility.raise_error;

1061: and
1062: p_to_grade_or_level is not null
1063: then
1064: hr_utility.set_message(8301, 'GHR_37225_ALL_PROCEDURE_FAIL');
1065: hr_utility.raise_error;
1066: end if;
1067:
1068: -- 420.16.3
1069: if p_to_pay_plan = 'GS' and

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

1071: '09', '10', '11', '12', '13', '14', '15')
1072: and
1073: p_to_grade_or_level is not null
1074: then
1075: hr_utility.set_message(8301, 'GHR_37226_ALL_PROCEDURE_FAIL');
1076: hr_utility.raise_error;
1077: end if;
1078:
1079: -- 420.17.3

Line 1076: hr_utility.raise_error;

1072: and
1073: p_to_grade_or_level is not null
1074: then
1075: hr_utility.set_message(8301, 'GHR_37226_ALL_PROCEDURE_FAIL');
1076: hr_utility.raise_error;
1077: end if;
1078:
1079: -- 420.17.3
1080: --

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

1083: if p_effective_date >= fnd_date.canonical_to_date('1998/03/01') then
1084: if p_to_pay_plan in ('NH', 'NJ') and
1085: p_to_grade_or_level not in ('01', '02', '03', '04') and
1086: p_to_grade_or_level is not null then
1087: hr_utility.set_message(8301, 'GHR_37877_ALL_PROCEDURE_FAIL');
1088: hr_utility.raise_error;
1089: end if;
1090: end if;
1091:

Line 1088: hr_utility.raise_error;

1084: if p_to_pay_plan in ('NH', 'NJ') and
1085: p_to_grade_or_level not in ('01', '02', '03', '04') and
1086: p_to_grade_or_level is not null then
1087: hr_utility.set_message(8301, 'GHR_37877_ALL_PROCEDURE_FAIL');
1088: hr_utility.raise_error;
1089: end if;
1090: end if;
1091:
1092: -- 420.18.3

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

1096: if p_effective_date >= fnd_date.canonical_to_date('1998/03/01') then
1097: if p_to_pay_plan = 'NK' and
1098: p_to_grade_or_level not in ('01', '02', '03') and
1099: p_to_grade_or_level is not null then
1100: hr_utility.set_message(8301, 'GHR_37878_ALL_PROCEDURE_FAIL');
1101: hr_utility.raise_error;
1102: end if;
1103: end if;
1104:

Line 1101: hr_utility.raise_error;

1097: if p_to_pay_plan = 'NK' and
1098: p_to_grade_or_level not in ('01', '02', '03') and
1099: p_to_grade_or_level is not null then
1100: hr_utility.set_message(8301, 'GHR_37878_ALL_PROCEDURE_FAIL');
1101: hr_utility.raise_error;
1102: end if;
1103: end if;
1104:
1105: -- 420.19.3

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

1113: if p_to_pay_plan = 'FV' and
1114: p_to_grade_or_level not in ('AA','BB','CC','DD','EE','FF','GG','HH','II',
1115: 'JJ','KK','LL','MM') and
1116: p_to_grade_or_level is not null then
1117: hr_utility.set_message(8301, 'GHR_37030_ALL_PROCEDURE_FAIL');
1118: hr_utility.raise_error;
1119: end if;
1120: end if;
1121:

Line 1118: hr_utility.raise_error;

1114: p_to_grade_or_level not in ('AA','BB','CC','DD','EE','FF','GG','HH','II',
1115: 'JJ','KK','LL','MM') and
1116: p_to_grade_or_level is not null then
1117: hr_utility.set_message(8301, 'GHR_37030_ALL_PROCEDURE_FAIL');
1118: hr_utility.raise_error;
1119: end if;
1120: end if;
1121:
1122: -- 420.21.1

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

1130: if p_effective_date >= fnd_date.canonical_to_date('1998/10/01') then
1131: if p_to_pay_plan = 'JA' and
1132: p_to_grade_or_level not in ('01', '02', '03','04') and
1133: p_to_grade_or_level is not null then
1134: hr_utility.set_message(8301, 'GHR_37056_ALL_PROCEDURE_FAIL');
1135: hr_utility.raise_error;
1136: end if;
1137: end if;
1138: end if;

Line 1135: hr_utility.raise_error;

1131: if p_to_pay_plan = 'JA' and
1132: p_to_grade_or_level not in ('01', '02', '03','04') and
1133: p_to_grade_or_level is not null then
1134: hr_utility.set_message(8301, 'GHR_37056_ALL_PROCEDURE_FAIL');
1135: hr_utility.raise_error;
1136: end if;
1137: end if;
1138: end if;
1139:

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

1146: if p_effective_date >= fnd_date.canonical_to_date('1998/10/01') then
1147: if p_to_pay_plan = 'EV' and
1148: p_to_grade_or_level not in ('01', '02', '03') and
1149: p_to_grade_or_level is not null then
1150: hr_utility.set_message(8301, 'GHR_37032_ALL_PROCEDURE_FAIL');
1151: hr_utility.raise_error;
1152: end if;
1153: end if;
1154:

Line 1151: hr_utility.raise_error;

1147: if p_to_pay_plan = 'EV' and
1148: p_to_grade_or_level not in ('01', '02', '03') and
1149: p_to_grade_or_level is not null then
1150: hr_utility.set_message(8301, 'GHR_37032_ALL_PROCEDURE_FAIL');
1151: hr_utility.raise_error;
1152: end if;
1153: end if;
1154:
1155: -- 420.22.3

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

1158: IF p_effective_date < fnd_date.canonical_to_date('2003/01/01') then --Bug# 5073313
1159: if p_to_pay_plan = 'VM' and
1160: p_to_grade_or_level not in ('11', '12', '13', '14', '15', '96', '97') and
1161: p_to_grade_or_level is not null then
1162: hr_utility.set_message(8301, 'GHR_37227_ALL_PROCEDURE_FAIL');
1163: hr_utility.raise_error;
1164: end if;
1165: END IF;
1166: -- 420.23.3

Line 1163: hr_utility.raise_error;

1159: if p_to_pay_plan = 'VM' and
1160: p_to_grade_or_level not in ('11', '12', '13', '14', '15', '96', '97') and
1161: p_to_grade_or_level is not null then
1162: hr_utility.set_message(8301, 'GHR_37227_ALL_PROCEDURE_FAIL');
1163: hr_utility.raise_error;
1164: end if;
1165: END IF;
1166: -- 420.23.3
1167: -- Update/Change Date By Effective Date Comment

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

1173: p_to_grade_or_level not in ('01','02','03','04','05','06','07','08')
1174: and
1175: p_to_grade_or_level is not null
1176: then
1177: hr_utility.set_message(8301, 'GHR_37059_ALL_PROCEDURE_FAIL');
1178: hr_utility.raise_error;
1179: end if;
1180: end if;
1181:

Line 1178: hr_utility.raise_error;

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

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

1185: '09', '11', '12', '13', '14', '15')
1186: and
1187: p_to_grade_or_level is not null
1188: then
1189: hr_utility.set_message(8301, 'GHR_37228_ALL_PROCEDURE_FAIL');
1190: hr_utility.raise_error;
1191: end if;
1192:
1193: -- 420.28.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_37228_ALL_PROCEDURE_FAIL');
1190: hr_utility.raise_error;
1191: end if;
1192:
1193: -- 420.28.3
1194: if p_to_pay_plan = 'VP' and

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

1195: p_to_grade_or_level not in ('11', '12', '13', '14', '15')
1196: and
1197: p_to_grade_or_level is not null
1198: then
1199: hr_utility.set_message(8301, 'GHR_37229_ALL_PROCEDURE_FAIL');
1200: hr_utility.raise_error;
1201: end if;
1202:
1203: -- 420.31.3

Line 1200: hr_utility.raise_error;

1196: and
1197: p_to_grade_or_level is not null
1198: then
1199: hr_utility.set_message(8301, 'GHR_37229_ALL_PROCEDURE_FAIL');
1200: hr_utility.raise_error;
1201: end if;
1202:
1203: -- 420.31.3
1204: if (p_to_pay_plan = 'WG' or p_to_pay_plan = 'XF') and

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

1207: '09', '10', '11', '12', '13', '14', '15')
1208: and
1209: p_to_grade_or_level is not null
1210: then
1211: hr_utility.set_message(8301, 'GHR_37230_ALL_PROCEDURE_FAIL');
1212: hr_utility.raise_error;
1213: end if;
1214:
1215: -- 420.34.3

Line 1212: hr_utility.raise_error;

1208: and
1209: p_to_grade_or_level is not null
1210: then
1211: hr_utility.set_message(8301, 'GHR_37230_ALL_PROCEDURE_FAIL');
1212: hr_utility.raise_error;
1213: end if;
1214:
1215: -- 420.34.3
1216: if p_to_pay_plan = 'EX' and

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

1217: p_to_grade_or_level not in ('01', '02', '03', '04', '05')
1218: and
1219: p_to_grade_or_level is not null
1220: then
1221: hr_utility.set_message(8301, 'GHR_37231_ALL_PROCEDURE_FAIL');
1222: hr_utility.raise_error;
1223: end if;
1224:
1225: /* Commenting the edit as per Sept.2000 patch -- refer to doc cpdf_edits_00_sep.doc

Line 1222: hr_utility.raise_error;

1218: and
1219: p_to_grade_or_level is not null
1220: then
1221: hr_utility.set_message(8301, 'GHR_37231_ALL_PROCEDURE_FAIL');
1222: hr_utility.raise_error;
1223: end if;
1224:
1225: /* Commenting the edit as per Sept.2000 patch -- refer to doc cpdf_edits_00_sep.doc
1226: -- 420.37.3

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

1232: '22', '23', '24', '25')
1233: and
1234: p_to_grade_or_level is not null
1235: then
1236: hr_utility.set_message(8301, 'GHR_37232_ALL_PROCEDURE_FAIL');
1237: hr_utility.raise_error;
1238: end if;
1239: */
1240:

Line 1237: hr_utility.raise_error;

1233: and
1234: p_to_grade_or_level is not null
1235: then
1236: hr_utility.set_message(8301, 'GHR_37232_ALL_PROCEDURE_FAIL');
1237: hr_utility.raise_error;
1238: end if;
1239: */
1240:
1241: -- 420.40.3

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

1242: if p_to_pay_plan = 'DR' and
1243: p_to_grade_or_level not in ('01', '02', '03', '04') and
1244: p_to_grade_or_level is not null
1245: then
1246: hr_utility.set_message(8301, 'GHR_37271_ALL_PROCEDURE_FAIL');
1247: hr_utility.raise_error;
1248: end if;
1249:
1250: -- 420.41.3

Line 1247: hr_utility.raise_error;

1243: p_to_grade_or_level not in ('01', '02', '03', '04') and
1244: p_to_grade_or_level is not null
1245: then
1246: hr_utility.set_message(8301, 'GHR_37271_ALL_PROCEDURE_FAIL');
1247: hr_utility.raise_error;
1248: end if;
1249:
1250: -- 420.41.3
1251: if (p_to_pay_plan = 'ND' or p_to_pay_plan = 'NT' )

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

1254: '05', '06')
1255: and
1256: p_to_grade_or_level is not null
1257: then
1258: hr_utility.set_message(8301, 'GHR_37269_ALL_PROCEDURE_FAIL');
1259: hr_utility.raise_error;
1260: end if;
1261:
1262: -- 420.42.3

Line 1259: hr_utility.raise_error;

1255: and
1256: p_to_grade_or_level is not null
1257: then
1258: hr_utility.set_message(8301, 'GHR_37269_ALL_PROCEDURE_FAIL');
1259: hr_utility.raise_error;
1260: end if;
1261:
1262: -- 420.42.3
1263: if p_to_pay_plan = 'NG'

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

1266: '05')
1267: and
1268: p_to_grade_or_level is not null
1269: then
1270: hr_utility.set_message(8301, 'GHR_37270_ALL_PROCEDURE_FAIL');
1271: hr_utility.raise_error;
1272: end if;
1273:
1274: -- 420.44.3

Line 1271: hr_utility.raise_error;

1267: and
1268: p_to_grade_or_level is not null
1269: then
1270: hr_utility.set_message(8301, 'GHR_37270_ALL_PROCEDURE_FAIL');
1271: hr_utility.raise_error;
1272: end if;
1273:
1274: -- 420.44.3
1275: if p_to_pay_plan = 'FO' and

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

1277: '05', '06', '07', '08')
1278: and
1279: p_to_grade_or_level is not null
1280: then
1281: hr_utility.set_message(8301, 'GHR_37233_ALL_PROCEDURE_FAIL');
1282: hr_utility.raise_error;
1283: end if;
1284:
1285: -- 420.45.3

Line 1282: hr_utility.raise_error;

1278: and
1279: p_to_grade_or_level is not null
1280: then
1281: hr_utility.set_message(8301, 'GHR_37233_ALL_PROCEDURE_FAIL');
1282: hr_utility.raise_error;
1283: end if;
1284:
1285: -- 420.45.3
1286: if p_to_pay_plan = 'FP' and

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

1289: 'BB', 'CC', 'DD', 'EE')
1290: and
1291: p_to_grade_or_level is not null
1292: then
1293: hr_utility.set_message(8301, 'GHR_37234_ALL_PROCEDURE_FAIL');
1294: hr_utility.raise_error;
1295: end if;
1296:
1297: -- 420.47.3

Line 1294: hr_utility.raise_error;

1290: and
1291: p_to_grade_or_level is not null
1292: then
1293: hr_utility.set_message(8301, 'GHR_37234_ALL_PROCEDURE_FAIL');
1294: hr_utility.raise_error;
1295: end if;
1296:
1297: -- 420.47.3
1298: if p_to_pay_plan = 'FE' and

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

1300: '01', '02', '03')
1301: and
1302: p_to_grade_or_level is not null
1303: then
1304: hr_utility.set_message(8301, 'GHR_37235_ALL_PROCEDURE_FAIL');
1305: hr_utility.raise_error;
1306: end if;
1307:
1308: -- 420.50.3

Line 1305: hr_utility.raise_error;

1301: and
1302: p_to_grade_or_level is not null
1303: then
1304: hr_utility.set_message(8301, 'GHR_37235_ALL_PROCEDURE_FAIL');
1305: hr_utility.raise_error;
1306: end if;
1307:
1308: -- 420.50.3
1309: if p_to_pay_plan = 'AF' and

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

1310: p_to_grade_or_level not in ('AA', 'BB', 'CC', 'DD', 'EE')
1311: and
1312: p_to_grade_or_level is not null
1313: then
1314: hr_utility.set_message(8301, 'GHR_37236_ALL_PROCEDURE_FAIL');
1315: hr_utility.raise_error;
1316: end if;
1317:
1318: -- 420.51.3

Line 1315: hr_utility.raise_error;

1311: and
1312: p_to_grade_or_level is not null
1313: then
1314: hr_utility.set_message(8301, 'GHR_37236_ALL_PROCEDURE_FAIL');
1315: hr_utility.raise_error;
1316: end if;
1317:
1318: -- 420.51.3
1319: if p_to_pay_plan = 'FM' and

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

1320: p_to_grade_or_level not in ('13', '14','15')
1321: and
1322: p_to_grade_or_level is not null
1323: then
1324: hr_utility.set_message(8301, 'GHR_37237_ALL_PROCEDURE_FAIL');
1325: hr_utility.raise_error;
1326: end if;
1327:
1328: -- 420.52.3

Line 1325: hr_utility.raise_error;

1321: and
1322: p_to_grade_or_level is not null
1323: then
1324: hr_utility.set_message(8301, 'GHR_37237_ALL_PROCEDURE_FAIL');
1325: hr_utility.raise_error;
1326: end if;
1327:
1328: -- 420.52.3
1329: if p_to_pay_plan = 'FG' and

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

1331: '07', '08', '09', '10','11', '12', '13', '14', '15')
1332: and
1333: p_to_grade_or_level is not null
1334: then
1335: hr_utility.set_message(8301, 'GHR_37238_ALL_PROCEDURE_FAIL');
1336: hr_utility.raise_error;
1337: end if;
1338:
1339: -- 420.53.3

Line 1336: hr_utility.raise_error;

1332: and
1333: p_to_grade_or_level is not null
1334: then
1335: hr_utility.set_message(8301, 'GHR_37238_ALL_PROCEDURE_FAIL');
1336: hr_utility.raise_error;
1337: end if;
1338:
1339: -- 420.53.3
1340: if p_to_pay_plan = 'FC' and

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

1342: '09', '10', '11', '12', '13', '14')
1343: and
1344: p_to_grade_or_level is not null
1345: then
1346: hr_utility.set_message(8301, 'GHR_37239_ALL_PROCEDURE_FAIL');
1347: hr_utility.raise_error;
1348: end if;
1349:
1350: -- 420.55.3

Line 1347: hr_utility.raise_error;

1343: and
1344: p_to_grade_or_level is not null
1345: then
1346: hr_utility.set_message(8301, 'GHR_37239_ALL_PROCEDURE_FAIL');
1347: hr_utility.raise_error;
1348: end if;
1349:
1350: -- 420.55.3
1351: if (p_to_pay_plan = 'AL' or p_to_pay_plan = 'CA') and

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

1352: p_to_grade_or_level not in ('01', '02', '03')
1353: and
1354: p_to_grade_or_level is not null
1355: then
1356: hr_utility.set_message(8301, 'GHR_37240_ALL_PROCEDURE_FAIL');
1357: hr_utility.raise_error;
1358: end if;
1359:
1360: -- 420.59.2

Line 1357: hr_utility.raise_error;

1353: and
1354: p_to_grade_or_level is not null
1355: then
1356: hr_utility.set_message(8301, 'GHR_37240_ALL_PROCEDURE_FAIL');
1357: hr_utility.raise_error;
1358: end if;
1359:
1360: -- 420.59.2
1361: if (

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

1370: '08', '09', '10', '11')
1371: and
1372: p_to_grade_or_level is not null
1373: then
1374: hr_utility.set_message(8301, 'GHR_37241_ALL_PROCEDURE_FAIL');
1375: hr_utility.raise_error;
1376: end if;
1377:
1378: -- 420.60.3

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_37241_ALL_PROCEDURE_FAIL');
1375: hr_utility.raise_error;
1376: end if;
1377:
1378: -- 420.60.3
1379: if (p_to_pay_plan = 'SL' or p_to_pay_plan = 'XE') and

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

1380: p_to_grade_or_level <>'00'
1381: and
1382: p_to_grade_or_level is not null
1383: then
1384: hr_utility.set_message(8301, 'GHR_37242_ALL_PROCEDURE_FAIL');
1385: hr_utility.raise_error;
1386: end if;
1387:
1388: -- 420.65.3

Line 1385: hr_utility.raise_error;

1381: and
1382: p_to_grade_or_level is not null
1383: then
1384: hr_utility.set_message(8301, 'GHR_37242_ALL_PROCEDURE_FAIL');
1385: hr_utility.raise_error;
1386: end if;
1387:
1388: -- 420.65.3
1389: if p_to_pay_plan= 'GG' and

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

1391: ('01', '02', '03', '04', '05', '06', '07', '08',
1392: '09', '10', '11', '12', '13', '14', '15', 'SL') or
1393: p_to_grade_or_level is null)
1394: then
1395: hr_utility.set_message(8301, 'GHR_37243_ALL_PROCEDURE_FAIL');
1396: hr_utility.raise_error;
1397: end if;
1398:
1399: -- 420.70.3

Line 1396: hr_utility.raise_error;

1392: '09', '10', '11', '12', '13', '14', '15', 'SL') or
1393: p_to_grade_or_level is null)
1394: then
1395: hr_utility.set_message(8301, 'GHR_37243_ALL_PROCEDURE_FAIL');
1396: hr_utility.raise_error;
1397: end if;
1398:
1399: -- 420.70.3
1400: if p_to_pay_plan = 'GH' and

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

1400: if p_to_pay_plan = 'GH' and
1401: not (p_to_grade_or_level in ('13', '14', '15') or
1402: p_to_grade_or_level is null)
1403: then
1404: hr_utility.set_message(8301, 'GHR_37244_ALL_PROCEDURE_FAIL');
1405: hr_utility.raise_error;
1406: end if;
1407:
1408: -- 420.73.3

Line 1405: hr_utility.raise_error;

1401: not (p_to_grade_or_level in ('13', '14', '15') or
1402: p_to_grade_or_level is null)
1403: then
1404: hr_utility.set_message(8301, 'GHR_37244_ALL_PROCEDURE_FAIL');
1405: hr_utility.raise_error;
1406: end if;
1407:
1408: -- 420.73.3
1409: if p_to_pay_plan = 'NY' and

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

1410: p_to_grade_or_level not in ('01', '02', '03', '04')
1411: and
1412: p_to_grade_or_level is not null
1413: then
1414: hr_utility.set_message(8301, 'GHR_37245_ALL_PROCEDURE_FAIL');
1415: hr_utility.raise_error;
1416: end if;
1417:
1418: --420.74.3

Line 1415: hr_utility.raise_error;

1411: and
1412: p_to_grade_or_level is not null
1413: then
1414: hr_utility.set_message(8301, 'GHR_37245_ALL_PROCEDURE_FAIL');
1415: hr_utility.raise_error;
1416: end if;
1417:
1418: --420.74.3
1419: -- Update/Change Date By Effective Date Comment

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

1425: p_to_grade_or_level not in ('01', '02', '03')
1426: and
1427: p_to_grade_or_level is not null
1428: then
1429: hr_utility.set_message(8301, 'GHR_37067_ALL_PROCEDURE_FAIL');
1430: hr_utility.raise_error;
1431: end if;
1432: end if;
1433: --420.75.3

Line 1430: hr_utility.raise_error;

1426: and
1427: p_to_grade_or_level is not null
1428: then
1429: hr_utility.set_message(8301, 'GHR_37067_ALL_PROCEDURE_FAIL');
1430: hr_utility.raise_error;
1431: end if;
1432: end if;
1433: --420.75.3
1434: -- Update/Change Date By Effective Date Comment

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

1441: p_to_grade_or_level not in ('01', '02', '03','04','05')
1442: and
1443: p_to_grade_or_level is not null
1444: then
1445: hr_utility.set_message(8301, 'GHR_37068_ALL_PROCEDURE_FAIL');
1446: hr_utility.raise_error;
1447: end if;
1448: end if;
1449:

Line 1446: hr_utility.raise_error;

1442: and
1443: p_to_grade_or_level is not null
1444: then
1445: hr_utility.set_message(8301, 'GHR_37068_ALL_PROCEDURE_FAIL');
1446: hr_utility.raise_error;
1447: end if;
1448: end if;
1449:
1450: --420.76.3

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

1456: p_to_grade_or_level not in ('01', '02', '03','04','05')
1457: and
1458: p_to_grade_or_level is not null
1459: then
1460: hr_utility.set_message(8301, 'GHR_37069_ALL_PROCEDURE_FAIL');
1461: hr_utility.raise_error;
1462: end if;
1463: end if;
1464:

Line 1461: hr_utility.raise_error;

1457: and
1458: p_to_grade_or_level is not null
1459: then
1460: hr_utility.set_message(8301, 'GHR_37069_ALL_PROCEDURE_FAIL');
1461: hr_utility.raise_error;
1462: end if;
1463: end if;
1464:
1465: --420.77.3

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

1473: p_to_grade_or_level not in ('01', '02')
1474: and
1475: p_to_grade_or_level is not null
1476: then
1477: hr_utility.set_message(8301, 'GHR_37416_ALL_PROCEDURE_FAIL');
1478: hr_utility.raise_error;
1479: end if;
1480: end if;
1481:

Line 1478: hr_utility.raise_error;

1474: and
1475: p_to_grade_or_level is not null
1476: then
1477: hr_utility.set_message(8301, 'GHR_37416_ALL_PROCEDURE_FAIL');
1478: hr_utility.raise_error;
1479: end if;
1480: end if;
1481:
1482: --420.78.3

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

1488: p_to_grade_or_level not in ('01', '02','03','04','05','06','07','08','09')
1489: and
1490: p_to_grade_or_level is not null
1491: then
1492: hr_utility.set_message(8301, 'GHR_37417_ALL_PROCEDURE_FAIL');
1493: hr_utility.raise_error;
1494: end if;
1495: end if;
1496: -- Begin Bug# 5073313

Line 1493: hr_utility.raise_error;

1489: and
1490: p_to_grade_or_level is not null
1491: then
1492: hr_utility.set_message(8301, 'GHR_37417_ALL_PROCEDURE_FAIL');
1493: hr_utility.raise_error;
1494: end if;
1495: end if;
1496: -- Begin Bug# 5073313
1497: --420.80.3

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

1501: if p_to_pay_plan in ('GL') and
1502: p_to_grade_or_level not in ('03','04','05','06','07','08','09','10') and
1503: p_to_grade_or_level is not null
1504: then
1505: hr_utility.set_message(8301, 'GHR_37426_ALL_PROCEDURE_FAIL');
1506: hr_utility.raise_error;
1507: end if;
1508: end if;
1509: -- End Bug# 5073313

Line 1506: hr_utility.raise_error;

1502: p_to_grade_or_level not in ('03','04','05','06','07','08','09','10') and
1503: p_to_grade_or_level is not null
1504: then
1505: hr_utility.set_message(8301, 'GHR_37426_ALL_PROCEDURE_FAIL');
1506: hr_utility.raise_error;
1507: end if;
1508: end if;
1509: -- End Bug# 5073313
1510: --Begin Bug# 5745356

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

1512: If p_effective_date >= to_date('2006/10/01', 'yyyy/mm/dd') then
1513: if p_to_pay_plan in ('GL') and
1514: p_to_grade_or_level > '10' and
1515: p_to_grade_or_level is not null then
1516: hr_utility.set_message(8301, 'GHR_37584_ALL_PROCEDURE_FAIL');
1517: hr_utility.raise_error;
1518: end if;
1519: end if;
1520: --End Bug# 5745356

Line 1517: hr_utility.raise_error;

1513: if p_to_pay_plan in ('GL') and
1514: p_to_grade_or_level > '10' and
1515: p_to_grade_or_level is not null then
1516: hr_utility.set_message(8301, 'GHR_37584_ALL_PROCEDURE_FAIL');
1517: hr_utility.raise_error;
1518: end if;
1519: end if;
1520: --End Bug# 5745356
1521:

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

1688: -- HM,HN,HO,HP,HQ,HR,HV,HX,HY, or HZ then agency/sub element must be HS
1689: -- UPD 55(Bug 6469079) Raju From 01-May-2007 added pay plan 'OE' to subelement HUFH
1690: ----------------------------------------------------------------------------------------------------------------
1691: if (p_to_pay_plan = 'AJ' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1692: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1693: hr_utility.set_message_token('PAY_PLAN','AJ');
1694: hr_utility.set_message_token('AGENCY_CODE','NU');
1695: hr_utility.raise_error;
1696: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then

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

1689: -- UPD 55(Bug 6469079) Raju From 01-May-2007 added pay plan 'OE' to subelement HUFH
1690: ----------------------------------------------------------------------------------------------------------------
1691: if (p_to_pay_plan = 'AJ' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1692: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1693: hr_utility.set_message_token('PAY_PLAN','AJ');
1694: hr_utility.set_message_token('AGENCY_CODE','NU');
1695: hr_utility.raise_error;
1696: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then
1697: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1690: ----------------------------------------------------------------------------------------------------------------
1691: if (p_to_pay_plan = 'AJ' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1692: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1693: hr_utility.set_message_token('PAY_PLAN','AJ');
1694: hr_utility.set_message_token('AGENCY_CODE','NU');
1695: hr_utility.raise_error;
1696: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then
1697: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1698: hr_utility.set_message_token('PAY_PLAN','CE');

Line 1695: hr_utility.raise_error;

1691: if (p_to_pay_plan = 'AJ' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1692: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1693: hr_utility.set_message_token('PAY_PLAN','AJ');
1694: hr_utility.set_message_token('AGENCY_CODE','NU');
1695: hr_utility.raise_error;
1696: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then
1697: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1698: hr_utility.set_message_token('PAY_PLAN','CE');
1699: hr_utility.set_message_token('AGENCY_CODE','IN06');

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

1693: hr_utility.set_message_token('PAY_PLAN','AJ');
1694: hr_utility.set_message_token('AGENCY_CODE','NU');
1695: hr_utility.raise_error;
1696: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then
1697: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1698: hr_utility.set_message_token('PAY_PLAN','CE');
1699: hr_utility.set_message_token('AGENCY_CODE','IN06');
1700: hr_utility.raise_error;
1701: elsif ( p_to_pay_plan in ('VE') and

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

1694: hr_utility.set_message_token('AGENCY_CODE','NU');
1695: hr_utility.raise_error;
1696: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then
1697: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1698: hr_utility.set_message_token('PAY_PLAN','CE');
1699: hr_utility.set_message_token('AGENCY_CODE','IN06');
1700: hr_utility.raise_error;
1701: elsif ( p_to_pay_plan in ('VE') and
1702: substr(p_agency_subelement,1,2) <> 'VA' ) then

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

1695: hr_utility.raise_error;
1696: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then
1697: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1698: hr_utility.set_message_token('PAY_PLAN','CE');
1699: hr_utility.set_message_token('AGENCY_CODE','IN06');
1700: hr_utility.raise_error;
1701: elsif ( p_to_pay_plan in ('VE') and
1702: substr(p_agency_subelement,1,2) <> 'VA' ) then
1703: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1700: hr_utility.raise_error;

1696: elsif ( p_to_pay_plan = 'CE' and p_agency_subelement <> 'IN06' ) then
1697: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1698: hr_utility.set_message_token('PAY_PLAN','CE');
1699: hr_utility.set_message_token('AGENCY_CODE','IN06');
1700: hr_utility.raise_error;
1701: elsif ( p_to_pay_plan in ('VE') and
1702: substr(p_agency_subelement,1,2) <> 'VA' ) then
1703: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1704: hr_utility.set_message_token('PAY_PLAN','in VE');

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

1699: hr_utility.set_message_token('AGENCY_CODE','IN06');
1700: hr_utility.raise_error;
1701: elsif ( p_to_pay_plan in ('VE') and
1702: substr(p_agency_subelement,1,2) <> 'VA' ) then
1703: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1704: hr_utility.set_message_token('PAY_PLAN','in VE');
1705: hr_utility.set_message_token('AGENCY_CODE','VA');
1706: hr_utility.raise_error;
1707: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then

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

1700: hr_utility.raise_error;
1701: elsif ( p_to_pay_plan in ('VE') and
1702: substr(p_agency_subelement,1,2) <> 'VA' ) then
1703: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1704: hr_utility.set_message_token('PAY_PLAN','in VE');
1705: hr_utility.set_message_token('AGENCY_CODE','VA');
1706: hr_utility.raise_error;
1707: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then
1708: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1701: elsif ( p_to_pay_plan in ('VE') and
1702: substr(p_agency_subelement,1,2) <> 'VA' ) then
1703: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1704: hr_utility.set_message_token('PAY_PLAN','in VE');
1705: hr_utility.set_message_token('AGENCY_CODE','VA');
1706: hr_utility.raise_error;
1707: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then
1708: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1709: hr_utility.set_message_token('PAY_PLAN','NB');

Line 1706: hr_utility.raise_error;

1702: substr(p_agency_subelement,1,2) <> 'VA' ) then
1703: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1704: hr_utility.set_message_token('PAY_PLAN','in VE');
1705: hr_utility.set_message_token('AGENCY_CODE','VA');
1706: hr_utility.raise_error;
1707: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then
1708: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1709: hr_utility.set_message_token('PAY_PLAN','NB');
1710: hr_utility.set_message_token('AGENCY_CODE','TRAJ');

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

1704: hr_utility.set_message_token('PAY_PLAN','in VE');
1705: hr_utility.set_message_token('AGENCY_CODE','VA');
1706: hr_utility.raise_error;
1707: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then
1708: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1709: hr_utility.set_message_token('PAY_PLAN','NB');
1710: hr_utility.set_message_token('AGENCY_CODE','TRAJ');
1711: hr_utility.raise_error;
1712: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then

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

1705: hr_utility.set_message_token('AGENCY_CODE','VA');
1706: hr_utility.raise_error;
1707: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then
1708: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1709: hr_utility.set_message_token('PAY_PLAN','NB');
1710: hr_utility.set_message_token('AGENCY_CODE','TRAJ');
1711: hr_utility.raise_error;
1712: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then
1713: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1706: hr_utility.raise_error;
1707: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then
1708: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1709: hr_utility.set_message_token('PAY_PLAN','NB');
1710: hr_utility.set_message_token('AGENCY_CODE','TRAJ');
1711: hr_utility.raise_error;
1712: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then
1713: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1714: hr_utility.set_message_token('PAY_PLAN','IR');

Line 1711: hr_utility.raise_error;

1707: elsif ( p_to_pay_plan = 'NB' and p_agency_subelement <> 'TRAJ' ) then
1708: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1709: hr_utility.set_message_token('PAY_PLAN','NB');
1710: hr_utility.set_message_token('AGENCY_CODE','TRAJ');
1711: hr_utility.raise_error;
1712: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then
1713: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1714: hr_utility.set_message_token('PAY_PLAN','IR');
1715: hr_utility.set_message_token('AGENCY_CODE','TR93');

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

1709: hr_utility.set_message_token('PAY_PLAN','NB');
1710: hr_utility.set_message_token('AGENCY_CODE','TRAJ');
1711: hr_utility.raise_error;
1712: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then
1713: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1714: hr_utility.set_message_token('PAY_PLAN','IR');
1715: hr_utility.set_message_token('AGENCY_CODE','TR93');
1716: hr_utility.raise_error;
1717: elsif ( p_to_pay_plan in ('CB','CF','CH','CI','CJ','CL','CM') and

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

1710: hr_utility.set_message_token('AGENCY_CODE','TRAJ');
1711: hr_utility.raise_error;
1712: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then
1713: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1714: hr_utility.set_message_token('PAY_PLAN','IR');
1715: hr_utility.set_message_token('AGENCY_CODE','TR93');
1716: hr_utility.raise_error;
1717: elsif ( p_to_pay_plan in ('CB','CF','CH','CI','CJ','CL','CM') and
1718: substr(p_agency_subelement,1,2) <> 'FD' ) then

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

1711: hr_utility.raise_error;
1712: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then
1713: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1714: hr_utility.set_message_token('PAY_PLAN','IR');
1715: hr_utility.set_message_token('AGENCY_CODE','TR93');
1716: hr_utility.raise_error;
1717: elsif ( p_to_pay_plan in ('CB','CF','CH','CI','CJ','CL','CM') and
1718: substr(p_agency_subelement,1,2) <> 'FD' ) then
1719: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1716: hr_utility.raise_error;

1712: elsif ( p_to_pay_plan = 'IR' and p_agency_subelement <> 'TR93' ) then
1713: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1714: hr_utility.set_message_token('PAY_PLAN','IR');
1715: hr_utility.set_message_token('AGENCY_CODE','TR93');
1716: hr_utility.raise_error;
1717: elsif ( p_to_pay_plan in ('CB','CF','CH','CI','CJ','CL','CM') and
1718: substr(p_agency_subelement,1,2) <> 'FD' ) then
1719: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1720: hr_utility.set_message_token('PAY_PLAN','in CB,CF,CH,CI,CJ,CL or CM');

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

1715: hr_utility.set_message_token('AGENCY_CODE','TR93');
1716: hr_utility.raise_error;
1717: elsif ( p_to_pay_plan in ('CB','CF','CH','CI','CJ','CL','CM') and
1718: substr(p_agency_subelement,1,2) <> 'FD' ) then
1719: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1720: hr_utility.set_message_token('PAY_PLAN','in CB,CF,CH,CI,CJ,CL or CM');
1721: hr_utility.set_message_token('AGENCY_CODE','FD');
1722: hr_utility.raise_error;
1723: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then

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

1716: hr_utility.raise_error;
1717: elsif ( p_to_pay_plan in ('CB','CF','CH','CI','CJ','CL','CM') and
1718: substr(p_agency_subelement,1,2) <> 'FD' ) then
1719: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1720: hr_utility.set_message_token('PAY_PLAN','in CB,CF,CH,CI,CJ,CL or CM');
1721: hr_utility.set_message_token('AGENCY_CODE','FD');
1722: hr_utility.raise_error;
1723: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then
1724: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1717: elsif ( p_to_pay_plan in ('CB','CF','CH','CI','CJ','CL','CM') and
1718: substr(p_agency_subelement,1,2) <> 'FD' ) then
1719: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1720: hr_utility.set_message_token('PAY_PLAN','in CB,CF,CH,CI,CJ,CL or CM');
1721: hr_utility.set_message_token('AGENCY_CODE','FD');
1722: hr_utility.raise_error;
1723: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then
1724: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1725: hr_utility.set_message_token('PAY_PLAN','CY');

Line 1722: hr_utility.raise_error;

1718: substr(p_agency_subelement,1,2) <> 'FD' ) then
1719: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1720: hr_utility.set_message_token('PAY_PLAN','in CB,CF,CH,CI,CJ,CL or CM');
1721: hr_utility.set_message_token('AGENCY_CODE','FD');
1722: hr_utility.raise_error;
1723: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then
1724: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1725: hr_utility.set_message_token('PAY_PLAN','CY');
1726: hr_utility.set_message_token('AGENCY_CODE','IN06');

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

1720: hr_utility.set_message_token('PAY_PLAN','in CB,CF,CH,CI,CJ,CL or CM');
1721: hr_utility.set_message_token('AGENCY_CODE','FD');
1722: hr_utility.raise_error;
1723: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then
1724: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1725: hr_utility.set_message_token('PAY_PLAN','CY');
1726: hr_utility.set_message_token('AGENCY_CODE','IN06');
1727: hr_utility.raise_error;
1728: elsif ( p_to_pay_plan in('DB','DE','DJ','DK','DQ') and

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

1721: hr_utility.set_message_token('AGENCY_CODE','FD');
1722: hr_utility.raise_error;
1723: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then
1724: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1725: hr_utility.set_message_token('PAY_PLAN','CY');
1726: hr_utility.set_message_token('AGENCY_CODE','IN06');
1727: hr_utility.raise_error;
1728: elsif ( p_to_pay_plan in('DB','DE','DJ','DK','DQ') and
1729: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then

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

1722: hr_utility.raise_error;
1723: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then
1724: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1725: hr_utility.set_message_token('PAY_PLAN','CY');
1726: hr_utility.set_message_token('AGENCY_CODE','IN06');
1727: hr_utility.raise_error;
1728: elsif ( p_to_pay_plan in('DB','DE','DJ','DK','DQ') and
1729: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1730: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1727: hr_utility.raise_error;

1723: elsif ( p_to_pay_plan = 'CY' and p_agency_subelement <> 'IN06' ) then
1724: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1725: hr_utility.set_message_token('PAY_PLAN','CY');
1726: hr_utility.set_message_token('AGENCY_CODE','IN06');
1727: hr_utility.raise_error;
1728: elsif ( p_to_pay_plan in('DB','DE','DJ','DK','DQ') and
1729: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1730: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1731: hr_utility.set_message_token('PAY_PLAN','in DB,DE,DJ,DK or DQ');

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

1726: hr_utility.set_message_token('AGENCY_CODE','IN06');
1727: hr_utility.raise_error;
1728: elsif ( p_to_pay_plan in('DB','DE','DJ','DK','DQ') and
1729: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1730: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1731: hr_utility.set_message_token('PAY_PLAN','in DB,DE,DJ,DK or DQ');
1732: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,NV or DD');
1733: hr_utility.raise_error;
1734: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then

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

1727: hr_utility.raise_error;
1728: elsif ( p_to_pay_plan in('DB','DE','DJ','DK','DQ') and
1729: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1730: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1731: hr_utility.set_message_token('PAY_PLAN','in DB,DE,DJ,DK or DQ');
1732: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,NV or DD');
1733: hr_utility.raise_error;
1734: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then
1735: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1728: elsif ( p_to_pay_plan in('DB','DE','DJ','DK','DQ') and
1729: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1730: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1731: hr_utility.set_message_token('PAY_PLAN','in DB,DE,DJ,DK or DQ');
1732: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,NV or DD');
1733: hr_utility.raise_error;
1734: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then
1735: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1736: hr_utility.set_message_token('PAY_PLAN','DR');

Line 1733: hr_utility.raise_error;

1729: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1730: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1731: hr_utility.set_message_token('PAY_PLAN','in DB,DE,DJ,DK or DQ');
1732: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,NV or DD');
1733: hr_utility.raise_error;
1734: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then
1735: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1736: hr_utility.set_message_token('PAY_PLAN','DR');
1737: hr_utility.set_message_token('AGENCY_CODE','AF');

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

1731: hr_utility.set_message_token('PAY_PLAN','in DB,DE,DJ,DK or DQ');
1732: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,NV or DD');
1733: hr_utility.raise_error;
1734: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then
1735: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1736: hr_utility.set_message_token('PAY_PLAN','DR');
1737: hr_utility.set_message_token('AGENCY_CODE','AF');
1738: hr_utility.raise_error;
1739: elsif ( p_to_pay_plan in('DV','DZ') and

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

1732: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,NV or DD');
1733: hr_utility.raise_error;
1734: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then
1735: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1736: hr_utility.set_message_token('PAY_PLAN','DR');
1737: hr_utility.set_message_token('AGENCY_CODE','AF');
1738: hr_utility.raise_error;
1739: elsif ( p_to_pay_plan in('DV','DZ') and
1740: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then

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

1733: hr_utility.raise_error;
1734: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then
1735: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1736: hr_utility.set_message_token('PAY_PLAN','DR');
1737: hr_utility.set_message_token('AGENCY_CODE','AF');
1738: hr_utility.raise_error;
1739: elsif ( p_to_pay_plan in('DV','DZ') and
1740: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1741: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1738: hr_utility.raise_error;

1734: elsif ( p_to_pay_plan = 'DR' and substr(p_agency_subelement,1,2) <> 'AF' ) then
1735: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1736: hr_utility.set_message_token('PAY_PLAN','DR');
1737: hr_utility.set_message_token('AGENCY_CODE','AF');
1738: hr_utility.raise_error;
1739: elsif ( p_to_pay_plan in('DV','DZ') and
1740: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1741: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1742: hr_utility.set_message_token('PAY_PLAN','DV,DZ');

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

1737: hr_utility.set_message_token('AGENCY_CODE','AF');
1738: hr_utility.raise_error;
1739: elsif ( p_to_pay_plan in('DV','DZ') and
1740: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1741: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1742: hr_utility.set_message_token('PAY_PLAN','DV,DZ');
1743: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1744: hr_utility.raise_error;
1745: elsif ( p_to_pay_plan in ('EJ') and substr(p_agency_subelement,1,2) NOT IN('HS','DN') )

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

1738: hr_utility.raise_error;
1739: elsif ( p_to_pay_plan in('DV','DZ') and
1740: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1741: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1742: hr_utility.set_message_token('PAY_PLAN','DV,DZ');
1743: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1744: hr_utility.raise_error;
1745: elsif ( p_to_pay_plan in ('EJ') and substr(p_agency_subelement,1,2) NOT IN('HS','DN') )
1746: then

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

1739: elsif ( p_to_pay_plan in('DV','DZ') and
1740: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1741: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1742: hr_utility.set_message_token('PAY_PLAN','DV,DZ');
1743: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1744: hr_utility.raise_error;
1745: elsif ( p_to_pay_plan in ('EJ') and substr(p_agency_subelement,1,2) NOT IN('HS','DN') )
1746: then
1747: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1744: hr_utility.raise_error;

1740: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1741: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1742: hr_utility.set_message_token('PAY_PLAN','DV,DZ');
1743: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1744: hr_utility.raise_error;
1745: elsif ( p_to_pay_plan in ('EJ') and substr(p_agency_subelement,1,2) NOT IN('HS','DN') )
1746: then
1747: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1748: hr_utility.set_message_token('PAY_PLAN','EJ');

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

1743: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1744: hr_utility.raise_error;
1745: elsif ( p_to_pay_plan in ('EJ') and substr(p_agency_subelement,1,2) NOT IN('HS','DN') )
1746: then
1747: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1748: hr_utility.set_message_token('PAY_PLAN','EJ');
1749: hr_utility.set_message_token('AGENCY_CODE','DN or HS');
1750: hr_utility.raise_error;
1751: elsif ( p_to_pay_plan in('EK') and

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

1744: hr_utility.raise_error;
1745: elsif ( p_to_pay_plan in ('EJ') and substr(p_agency_subelement,1,2) NOT IN('HS','DN') )
1746: then
1747: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1748: hr_utility.set_message_token('PAY_PLAN','EJ');
1749: hr_utility.set_message_token('AGENCY_CODE','DN or HS');
1750: hr_utility.raise_error;
1751: elsif ( p_to_pay_plan in('EK') and
1752: substr(p_agency_subelement,1,2) <> 'DN' ) then

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

1745: elsif ( p_to_pay_plan in ('EJ') and substr(p_agency_subelement,1,2) NOT IN('HS','DN') )
1746: then
1747: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1748: hr_utility.set_message_token('PAY_PLAN','EJ');
1749: hr_utility.set_message_token('AGENCY_CODE','DN or HS');
1750: hr_utility.raise_error;
1751: elsif ( p_to_pay_plan in('EK') and
1752: substr(p_agency_subelement,1,2) <> 'DN' ) then
1753: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1750: hr_utility.raise_error;

1746: then
1747: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1748: hr_utility.set_message_token('PAY_PLAN','EJ');
1749: hr_utility.set_message_token('AGENCY_CODE','DN or HS');
1750: hr_utility.raise_error;
1751: elsif ( p_to_pay_plan in('EK') and
1752: substr(p_agency_subelement,1,2) <> 'DN' ) then
1753: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1754: hr_utility.set_message_token('PAY_PLAN','EK');

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

1749: hr_utility.set_message_token('AGENCY_CODE','DN or HS');
1750: hr_utility.raise_error;
1751: elsif ( p_to_pay_plan in('EK') and
1752: substr(p_agency_subelement,1,2) <> 'DN' ) then
1753: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1754: hr_utility.set_message_token('PAY_PLAN','EK');
1755: hr_utility.set_message_token('AGENCY_CODE','DN');
1756: hr_utility.raise_error;
1757: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and

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

1750: hr_utility.raise_error;
1751: elsif ( p_to_pay_plan in('EK') and
1752: substr(p_agency_subelement,1,2) <> 'DN' ) then
1753: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1754: hr_utility.set_message_token('PAY_PLAN','EK');
1755: hr_utility.set_message_token('AGENCY_CODE','DN');
1756: hr_utility.raise_error;
1757: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
1758: ( p_to_pay_plan = 'FA' and

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

1751: elsif ( p_to_pay_plan in('EK') and
1752: substr(p_agency_subelement,1,2) <> 'DN' ) then
1753: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1754: hr_utility.set_message_token('PAY_PLAN','EK');
1755: hr_utility.set_message_token('AGENCY_CODE','DN');
1756: hr_utility.raise_error;
1757: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
1758: ( p_to_pay_plan = 'FA' and
1759: substr(p_agency_subelement,1,2) not in ('AM','ST') ) then

Line 1756: hr_utility.raise_error;

1752: substr(p_agency_subelement,1,2) <> 'DN' ) then
1753: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1754: hr_utility.set_message_token('PAY_PLAN','EK');
1755: hr_utility.set_message_token('AGENCY_CODE','DN');
1756: hr_utility.raise_error;
1757: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
1758: ( p_to_pay_plan = 'FA' and
1759: substr(p_agency_subelement,1,2) not in ('AM','ST') ) then
1760: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1756: hr_utility.raise_error;
1757: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
1758: ( p_to_pay_plan = 'FA' and
1759: substr(p_agency_subelement,1,2) not in ('AM','ST') ) then
1760: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1761: hr_utility.set_message_token('PAY_PLAN','FA');
1762: hr_utility.set_message_token('AGENCY_CODE','AM,ST');
1763: hr_utility.raise_error;
1764: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and

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

1757: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
1758: ( p_to_pay_plan = 'FA' and
1759: substr(p_agency_subelement,1,2) not in ('AM','ST') ) then
1760: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1761: hr_utility.set_message_token('PAY_PLAN','FA');
1762: hr_utility.set_message_token('AGENCY_CODE','AM,ST');
1763: hr_utility.raise_error;
1764: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
1765: ( p_to_pay_plan = 'FA' and

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

1758: ( p_to_pay_plan = 'FA' and
1759: substr(p_agency_subelement,1,2) not in ('AM','ST') ) then
1760: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1761: hr_utility.set_message_token('PAY_PLAN','FA');
1762: hr_utility.set_message_token('AGENCY_CODE','AM,ST');
1763: hr_utility.raise_error;
1764: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
1765: ( p_to_pay_plan = 'FA' and
1766: substr(p_agency_subelement,1,2) not in ('AM') ) then

Line 1763: hr_utility.raise_error;

1759: substr(p_agency_subelement,1,2) not in ('AM','ST') ) then
1760: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1761: hr_utility.set_message_token('PAY_PLAN','FA');
1762: hr_utility.set_message_token('AGENCY_CODE','AM,ST');
1763: hr_utility.raise_error;
1764: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
1765: ( p_to_pay_plan = 'FA' and
1766: substr(p_agency_subelement,1,2) not in ('AM') ) then
1767: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1763: hr_utility.raise_error;
1764: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
1765: ( p_to_pay_plan = 'FA' and
1766: substr(p_agency_subelement,1,2) not in ('AM') ) then
1767: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1768: hr_utility.set_message_token('PAY_PLAN','FA');
1769: hr_utility.set_message_token('AGENCY_CODE','AM');
1770: hr_utility.raise_error;
1771: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then

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

1764: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
1765: ( p_to_pay_plan = 'FA' and
1766: substr(p_agency_subelement,1,2) not in ('AM') ) then
1767: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1768: hr_utility.set_message_token('PAY_PLAN','FA');
1769: hr_utility.set_message_token('AGENCY_CODE','AM');
1770: hr_utility.raise_error;
1771: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then
1772: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1765: ( p_to_pay_plan = 'FA' and
1766: substr(p_agency_subelement,1,2) not in ('AM') ) then
1767: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1768: hr_utility.set_message_token('PAY_PLAN','FA');
1769: hr_utility.set_message_token('AGENCY_CODE','AM');
1770: hr_utility.raise_error;
1771: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then
1772: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1773: hr_utility.set_message_token('PAY_PLAN','FB');

Line 1770: hr_utility.raise_error;

1766: substr(p_agency_subelement,1,2) not in ('AM') ) then
1767: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1768: hr_utility.set_message_token('PAY_PLAN','FA');
1769: hr_utility.set_message_token('AGENCY_CODE','AM');
1770: hr_utility.raise_error;
1771: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then
1772: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1773: hr_utility.set_message_token('PAY_PLAN','FB');
1774: hr_utility.set_message_token('AGENCY_CODE','TD03');

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

1768: hr_utility.set_message_token('PAY_PLAN','FA');
1769: hr_utility.set_message_token('AGENCY_CODE','AM');
1770: hr_utility.raise_error;
1771: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then
1772: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1773: hr_utility.set_message_token('PAY_PLAN','FB');
1774: hr_utility.set_message_token('AGENCY_CODE','TD03');
1775: hr_utility.raise_error;
1776: elsif ( p_to_pay_plan = 'FD' and

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

1769: hr_utility.set_message_token('AGENCY_CODE','AM');
1770: hr_utility.raise_error;
1771: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then
1772: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1773: hr_utility.set_message_token('PAY_PLAN','FB');
1774: hr_utility.set_message_token('AGENCY_CODE','TD03');
1775: hr_utility.raise_error;
1776: elsif ( p_to_pay_plan = 'FD' and
1777: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then

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

1770: hr_utility.raise_error;
1771: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then
1772: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1773: hr_utility.set_message_token('PAY_PLAN','FB');
1774: hr_utility.set_message_token('AGENCY_CODE','TD03');
1775: hr_utility.raise_error;
1776: elsif ( p_to_pay_plan = 'FD' and
1777: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1778: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1775: hr_utility.raise_error;

1771: elsif ( p_to_pay_plan = 'FB' and p_agency_subelement <> 'TD03' ) then
1772: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1773: hr_utility.set_message_token('PAY_PLAN','FB');
1774: hr_utility.set_message_token('AGENCY_CODE','TD03');
1775: hr_utility.raise_error;
1776: elsif ( p_to_pay_plan = 'FD' and
1777: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1778: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1779: hr_utility.set_message_token('PAY_PLAN','FD');

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

1774: hr_utility.set_message_token('AGENCY_CODE','TD03');
1775: hr_utility.raise_error;
1776: elsif ( p_to_pay_plan = 'FD' and
1777: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1778: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1779: hr_utility.set_message_token('PAY_PLAN','FD');
1780: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1781: hr_utility.raise_error;
1782: elsif ( p_to_pay_plan in('FF','FG','FJ','FL','FM') and

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

1775: hr_utility.raise_error;
1776: elsif ( p_to_pay_plan = 'FD' and
1777: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1778: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1779: hr_utility.set_message_token('PAY_PLAN','FD');
1780: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1781: hr_utility.raise_error;
1782: elsif ( p_to_pay_plan in('FF','FG','FJ','FL','FM') and
1783: p_agency_subelement <> 'TD03' ) then

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

1776: elsif ( p_to_pay_plan = 'FD' and
1777: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1778: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1779: hr_utility.set_message_token('PAY_PLAN','FD');
1780: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1781: hr_utility.raise_error;
1782: elsif ( p_to_pay_plan in('FF','FG','FJ','FL','FM') and
1783: p_agency_subelement <> 'TD03' ) then
1784: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1781: hr_utility.raise_error;

1777: substr(p_agency_subelement,1,2) not in ('AF','AR','NV','DD') ) then
1778: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1779: hr_utility.set_message_token('PAY_PLAN','FD');
1780: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1781: hr_utility.raise_error;
1782: elsif ( p_to_pay_plan in('FF','FG','FJ','FL','FM') and
1783: p_agency_subelement <> 'TD03' ) then
1784: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1785: hr_utility.set_message_token('PAY_PLAN','FF,FG,FJ,FL or FM');

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

1780: hr_utility.set_message_token('AGENCY_CODE','AF,AR,NV or DD');
1781: hr_utility.raise_error;
1782: elsif ( p_to_pay_plan in('FF','FG','FJ','FL','FM') and
1783: p_agency_subelement <> 'TD03' ) then
1784: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1785: hr_utility.set_message_token('PAY_PLAN','FF,FG,FJ,FL or FM');
1786: hr_utility.set_message_token('AGENCY_CODE','TD03');
1787: hr_utility.raise_error;
1788: elsif ( p_to_pay_plan in('FN','FS','FT','FW','FX')

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

1781: hr_utility.raise_error;
1782: elsif ( p_to_pay_plan in('FF','FG','FJ','FL','FM') and
1783: p_agency_subelement <> 'TD03' ) then
1784: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1785: hr_utility.set_message_token('PAY_PLAN','FF,FG,FJ,FL or FM');
1786: hr_utility.set_message_token('AGENCY_CODE','TD03');
1787: hr_utility.raise_error;
1788: elsif ( p_to_pay_plan in('FN','FS','FT','FW','FX')
1789: and p_agency_subelement <> 'TD03' ) then

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

1782: elsif ( p_to_pay_plan in('FF','FG','FJ','FL','FM') and
1783: p_agency_subelement <> 'TD03' ) then
1784: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1785: hr_utility.set_message_token('PAY_PLAN','FF,FG,FJ,FL or FM');
1786: hr_utility.set_message_token('AGENCY_CODE','TD03');
1787: hr_utility.raise_error;
1788: elsif ( p_to_pay_plan in('FN','FS','FT','FW','FX')
1789: and p_agency_subelement <> 'TD03' ) then
1790: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1787: hr_utility.raise_error;

1783: p_agency_subelement <> 'TD03' ) then
1784: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1785: hr_utility.set_message_token('PAY_PLAN','FF,FG,FJ,FL or FM');
1786: hr_utility.set_message_token('AGENCY_CODE','TD03');
1787: hr_utility.raise_error;
1788: elsif ( p_to_pay_plan in('FN','FS','FT','FW','FX')
1789: and p_agency_subelement <> 'TD03' ) then
1790: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1791: hr_utility.set_message_token('PAY_PLAN','FN,FS,FT,FW or FX');

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

1786: hr_utility.set_message_token('AGENCY_CODE','TD03');
1787: hr_utility.raise_error;
1788: elsif ( p_to_pay_plan in('FN','FS','FT','FW','FX')
1789: and p_agency_subelement <> 'TD03' ) then
1790: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1791: hr_utility.set_message_token('PAY_PLAN','FN,FS,FT,FW or FX');
1792: hr_utility.set_message_token('AGENCY_CODE','TD03');
1793: hr_utility.raise_error;
1794: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then

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

1787: hr_utility.raise_error;
1788: elsif ( p_to_pay_plan in('FN','FS','FT','FW','FX')
1789: and p_agency_subelement <> 'TD03' ) then
1790: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1791: hr_utility.set_message_token('PAY_PLAN','FN,FS,FT,FW or FX');
1792: hr_utility.set_message_token('AGENCY_CODE','TD03');
1793: hr_utility.raise_error;
1794: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then
1795: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1788: elsif ( p_to_pay_plan in('FN','FS','FT','FW','FX')
1789: and p_agency_subelement <> 'TD03' ) then
1790: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1791: hr_utility.set_message_token('PAY_PLAN','FN,FS,FT,FW or FX');
1792: hr_utility.set_message_token('AGENCY_CODE','TD03');
1793: hr_utility.raise_error;
1794: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then
1795: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1796: hr_utility.set_message_token('PAY_PLAN','GN');

Line 1793: hr_utility.raise_error;

1789: and p_agency_subelement <> 'TD03' ) then
1790: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1791: hr_utility.set_message_token('PAY_PLAN','FN,FS,FT,FW or FX');
1792: hr_utility.set_message_token('AGENCY_CODE','TD03');
1793: hr_utility.raise_error;
1794: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then
1795: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1796: hr_utility.set_message_token('PAY_PLAN','GN');
1797: hr_utility.set_message_token('AGENCY_CODE','HE38');

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

1791: hr_utility.set_message_token('PAY_PLAN','FN,FS,FT,FW or FX');
1792: hr_utility.set_message_token('AGENCY_CODE','TD03');
1793: hr_utility.raise_error;
1794: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then
1795: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1796: hr_utility.set_message_token('PAY_PLAN','GN');
1797: hr_utility.set_message_token('AGENCY_CODE','HE38');
1798: hr_utility.raise_error;
1799: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then

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

1792: hr_utility.set_message_token('AGENCY_CODE','TD03');
1793: hr_utility.raise_error;
1794: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then
1795: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1796: hr_utility.set_message_token('PAY_PLAN','GN');
1797: hr_utility.set_message_token('AGENCY_CODE','HE38');
1798: hr_utility.raise_error;
1799: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then
1800: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1793: hr_utility.raise_error;
1794: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then
1795: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1796: hr_utility.set_message_token('PAY_PLAN','GN');
1797: hr_utility.set_message_token('AGENCY_CODE','HE38');
1798: hr_utility.raise_error;
1799: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then
1800: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1801: hr_utility.set_message_token('PAY_PLAN','IJ');

Line 1798: hr_utility.raise_error;

1794: elsif ( p_to_pay_plan = 'GN' and p_agency_subelement <> 'HE38' ) then
1795: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1796: hr_utility.set_message_token('PAY_PLAN','GN');
1797: hr_utility.set_message_token('AGENCY_CODE','HE38');
1798: hr_utility.raise_error;
1799: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then
1800: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1801: hr_utility.set_message_token('PAY_PLAN','IJ');
1802: hr_utility.set_message_token('AGENCY_CODE','DJ');

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

1796: hr_utility.set_message_token('PAY_PLAN','GN');
1797: hr_utility.set_message_token('AGENCY_CODE','HE38');
1798: hr_utility.raise_error;
1799: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then
1800: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1801: hr_utility.set_message_token('PAY_PLAN','IJ');
1802: hr_utility.set_message_token('AGENCY_CODE','DJ');
1803: hr_utility.raise_error;
1804: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then

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

1797: hr_utility.set_message_token('AGENCY_CODE','HE38');
1798: hr_utility.raise_error;
1799: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then
1800: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1801: hr_utility.set_message_token('PAY_PLAN','IJ');
1802: hr_utility.set_message_token('AGENCY_CODE','DJ');
1803: hr_utility.raise_error;
1804: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then
1805: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1798: hr_utility.raise_error;
1799: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then
1800: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1801: hr_utility.set_message_token('PAY_PLAN','IJ');
1802: hr_utility.set_message_token('AGENCY_CODE','DJ');
1803: hr_utility.raise_error;
1804: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then
1805: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1806: hr_utility.set_message_token('PAY_PLAN','KA');

Line 1803: hr_utility.raise_error;

1799: elsif ( p_to_pay_plan = 'IJ' and substr(p_agency_subelement,1,2) <> 'DJ' ) then
1800: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1801: hr_utility.set_message_token('PAY_PLAN','IJ');
1802: hr_utility.set_message_token('AGENCY_CODE','DJ');
1803: hr_utility.raise_error;
1804: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then
1805: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1806: hr_utility.set_message_token('PAY_PLAN','KA');
1807: hr_utility.set_message_token('AGENCY_CODE','LP');

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

1801: hr_utility.set_message_token('PAY_PLAN','IJ');
1802: hr_utility.set_message_token('AGENCY_CODE','DJ');
1803: hr_utility.raise_error;
1804: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then
1805: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1806: hr_utility.set_message_token('PAY_PLAN','KA');
1807: hr_utility.set_message_token('AGENCY_CODE','LP');
1808: hr_utility.raise_error;
1809: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then

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

1802: hr_utility.set_message_token('AGENCY_CODE','DJ');
1803: hr_utility.raise_error;
1804: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then
1805: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1806: hr_utility.set_message_token('PAY_PLAN','KA');
1807: hr_utility.set_message_token('AGENCY_CODE','LP');
1808: hr_utility.raise_error;
1809: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then
1810: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1803: hr_utility.raise_error;
1804: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then
1805: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1806: hr_utility.set_message_token('PAY_PLAN','KA');
1807: hr_utility.set_message_token('AGENCY_CODE','LP');
1808: hr_utility.raise_error;
1809: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then
1810: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1811: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');

Line 1808: hr_utility.raise_error;

1804: elsif ( p_to_pay_plan = 'KA' and substr(p_agency_subelement,1,2) <> 'LP' ) then
1805: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1806: hr_utility.set_message_token('PAY_PLAN','KA');
1807: hr_utility.set_message_token('AGENCY_CODE','LP');
1808: hr_utility.raise_error;
1809: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then
1810: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1811: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');
1812: hr_utility.set_message_token('AGENCY_CODE','TRAI');

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

1806: hr_utility.set_message_token('PAY_PLAN','KA');
1807: hr_utility.set_message_token('AGENCY_CODE','LP');
1808: hr_utility.raise_error;
1809: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then
1810: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1811: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');
1812: hr_utility.set_message_token('AGENCY_CODE','TRAI');
1813: hr_utility.raise_error;
1814: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then

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

1807: hr_utility.set_message_token('AGENCY_CODE','LP');
1808: hr_utility.raise_error;
1809: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then
1810: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1811: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');
1812: hr_utility.set_message_token('AGENCY_CODE','TRAI');
1813: hr_utility.raise_error;
1814: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then
1815: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1808: hr_utility.raise_error;
1809: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then
1810: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1811: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');
1812: hr_utility.set_message_token('AGENCY_CODE','TRAI');
1813: hr_utility.raise_error;
1814: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then
1815: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1816: hr_utility.set_message_token('PAY_PLAN','LE');

Line 1813: hr_utility.raise_error;

1809: elsif ( p_to_pay_plan in ('KG','KL','KS') and p_agency_subelement<>'TRAI' ) then
1810: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1811: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');
1812: hr_utility.set_message_token('AGENCY_CODE','TRAI');
1813: hr_utility.raise_error;
1814: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then
1815: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1816: hr_utility.set_message_token('PAY_PLAN','LE');
1817: hr_utility.set_message_token('AGENCY_CODE','HSAD');

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

1811: hr_utility.set_message_token('PAY_PLAN','KG,KL or KS');
1812: hr_utility.set_message_token('AGENCY_CODE','TRAI');
1813: hr_utility.raise_error;
1814: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then
1815: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1816: hr_utility.set_message_token('PAY_PLAN','LE');
1817: hr_utility.set_message_token('AGENCY_CODE','HSAD');
1818: hr_utility.raise_error;
1819: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then

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

1812: hr_utility.set_message_token('AGENCY_CODE','TRAI');
1813: hr_utility.raise_error;
1814: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then
1815: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1816: hr_utility.set_message_token('PAY_PLAN','LE');
1817: hr_utility.set_message_token('AGENCY_CODE','HSAD');
1818: hr_utility.raise_error;
1819: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then
1820: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1813: hr_utility.raise_error;
1814: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then
1815: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1816: hr_utility.set_message_token('PAY_PLAN','LE');
1817: hr_utility.set_message_token('AGENCY_CODE','HSAD');
1818: hr_utility.raise_error;
1819: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then
1820: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1821: hr_utility.set_message_token('PAY_PLAN','LG');

Line 1818: hr_utility.raise_error;

1814: elsif ( p_to_pay_plan = 'LE' and p_agency_subelement <>'HSAD' ) then
1815: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1816: hr_utility.set_message_token('PAY_PLAN','LE');
1817: hr_utility.set_message_token('AGENCY_CODE','HSAD');
1818: hr_utility.raise_error;
1819: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then
1820: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1821: hr_utility.set_message_token('PAY_PLAN','LG');
1822: hr_utility.set_message_token('AGENCY_CODE','FD');

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

1816: hr_utility.set_message_token('PAY_PLAN','LE');
1817: hr_utility.set_message_token('AGENCY_CODE','HSAD');
1818: hr_utility.raise_error;
1819: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then
1820: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1821: hr_utility.set_message_token('PAY_PLAN','LG');
1822: hr_utility.set_message_token('AGENCY_CODE','FD');
1823: hr_utility.raise_error;
1824: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then

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

1817: hr_utility.set_message_token('AGENCY_CODE','HSAD');
1818: hr_utility.raise_error;
1819: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then
1820: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1821: hr_utility.set_message_token('PAY_PLAN','LG');
1822: hr_utility.set_message_token('AGENCY_CODE','FD');
1823: hr_utility.raise_error;
1824: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
1825: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1818: hr_utility.raise_error;
1819: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then
1820: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1821: hr_utility.set_message_token('PAY_PLAN','LG');
1822: hr_utility.set_message_token('AGENCY_CODE','FD');
1823: hr_utility.raise_error;
1824: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
1825: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1826: hr_utility.set_message_token('PAY_PLAN','MA');

Line 1823: hr_utility.raise_error;

1819: elsif ( p_to_pay_plan = 'LG' and substr(p_agency_subelement,1,2) <> 'FD' ) then
1820: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1821: hr_utility.set_message_token('PAY_PLAN','LG');
1822: hr_utility.set_message_token('AGENCY_CODE','FD');
1823: hr_utility.raise_error;
1824: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
1825: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1826: hr_utility.set_message_token('PAY_PLAN','MA');
1827: hr_utility.set_message_token('AGENCY_CODE','AG');

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

1821: hr_utility.set_message_token('PAY_PLAN','LG');
1822: hr_utility.set_message_token('AGENCY_CODE','FD');
1823: hr_utility.raise_error;
1824: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
1825: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1826: hr_utility.set_message_token('PAY_PLAN','MA');
1827: hr_utility.set_message_token('AGENCY_CODE','AG');
1828: hr_utility.raise_error;
1829: elsif ( p_to_pay_plan in ('ND','NG','NT') and

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

1822: hr_utility.set_message_token('AGENCY_CODE','FD');
1823: hr_utility.raise_error;
1824: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
1825: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1826: hr_utility.set_message_token('PAY_PLAN','MA');
1827: hr_utility.set_message_token('AGENCY_CODE','AG');
1828: hr_utility.raise_error;
1829: elsif ( p_to_pay_plan in ('ND','NG','NT') and
1830: substr(p_agency_subelement,1,2) <> 'NV' ) then

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

1823: hr_utility.raise_error;
1824: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
1825: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1826: hr_utility.set_message_token('PAY_PLAN','MA');
1827: hr_utility.set_message_token('AGENCY_CODE','AG');
1828: hr_utility.raise_error;
1829: elsif ( p_to_pay_plan in ('ND','NG','NT') and
1830: substr(p_agency_subelement,1,2) <> 'NV' ) then
1831: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1828: hr_utility.raise_error;

1824: elsif ( p_to_pay_plan = 'MA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
1825: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1826: hr_utility.set_message_token('PAY_PLAN','MA');
1827: hr_utility.set_message_token('AGENCY_CODE','AG');
1828: hr_utility.raise_error;
1829: elsif ( p_to_pay_plan in ('ND','NG','NT') and
1830: substr(p_agency_subelement,1,2) <> 'NV' ) then
1831: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1832: hr_utility.set_message_token('PAY_PLAN','in ND,NG or NT');

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

1827: hr_utility.set_message_token('AGENCY_CODE','AG');
1828: hr_utility.raise_error;
1829: elsif ( p_to_pay_plan in ('ND','NG','NT') and
1830: substr(p_agency_subelement,1,2) <> 'NV' ) then
1831: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1832: hr_utility.set_message_token('PAY_PLAN','in ND,NG or NT');
1833: hr_utility.set_message_token('AGENCY_CODE','NV');
1834: hr_utility.raise_error;
1835: elsif ( p_to_pay_plan in('NX','NY') and

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

1828: hr_utility.raise_error;
1829: elsif ( p_to_pay_plan in ('ND','NG','NT') and
1830: substr(p_agency_subelement,1,2) <> 'NV' ) then
1831: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1832: hr_utility.set_message_token('PAY_PLAN','in ND,NG or NT');
1833: hr_utility.set_message_token('AGENCY_CODE','NV');
1834: hr_utility.raise_error;
1835: elsif ( p_to_pay_plan in('NX','NY') and
1836: substr(p_agency_subelement,1,2) <> 'KS' ) then

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

1829: elsif ( p_to_pay_plan in ('ND','NG','NT') and
1830: substr(p_agency_subelement,1,2) <> 'NV' ) then
1831: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1832: hr_utility.set_message_token('PAY_PLAN','in ND,NG or NT');
1833: hr_utility.set_message_token('AGENCY_CODE','NV');
1834: hr_utility.raise_error;
1835: elsif ( p_to_pay_plan in('NX','NY') and
1836: substr(p_agency_subelement,1,2) <> 'KS' ) then
1837: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1834: hr_utility.raise_error;

1830: substr(p_agency_subelement,1,2) <> 'NV' ) then
1831: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1832: hr_utility.set_message_token('PAY_PLAN','in ND,NG or NT');
1833: hr_utility.set_message_token('AGENCY_CODE','NV');
1834: hr_utility.raise_error;
1835: elsif ( p_to_pay_plan in('NX','NY') and
1836: substr(p_agency_subelement,1,2) <> 'KS' ) then
1837: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1838: hr_utility.set_message_token('PAY_PLAN','NX,NY');

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

1833: hr_utility.set_message_token('AGENCY_CODE','NV');
1834: hr_utility.raise_error;
1835: elsif ( p_to_pay_plan in('NX','NY') and
1836: substr(p_agency_subelement,1,2) <> 'KS' ) then
1837: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1838: hr_utility.set_message_token('PAY_PLAN','NX,NY');
1839: hr_utility.set_message_token('AGENCY_CODE','KS');
1840: hr_utility.raise_error;
1841: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then

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

1834: hr_utility.raise_error;
1835: elsif ( p_to_pay_plan in('NX','NY') and
1836: substr(p_agency_subelement,1,2) <> 'KS' ) then
1837: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1838: hr_utility.set_message_token('PAY_PLAN','NX,NY');
1839: hr_utility.set_message_token('AGENCY_CODE','KS');
1840: hr_utility.raise_error;
1841: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1842: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1835: elsif ( p_to_pay_plan in('NX','NY') and
1836: substr(p_agency_subelement,1,2) <> 'KS' ) then
1837: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1838: hr_utility.set_message_token('PAY_PLAN','NX,NY');
1839: hr_utility.set_message_token('AGENCY_CODE','KS');
1840: hr_utility.raise_error;
1841: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1842: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1843: hr_utility.set_message_token('PAY_PLAN','SN');

Line 1840: hr_utility.raise_error;

1836: substr(p_agency_subelement,1,2) <> 'KS' ) then
1837: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1838: hr_utility.set_message_token('PAY_PLAN','NX,NY');
1839: hr_utility.set_message_token('AGENCY_CODE','KS');
1840: hr_utility.raise_error;
1841: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1842: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1843: hr_utility.set_message_token('PAY_PLAN','SN');
1844: hr_utility.set_message_token('AGENCY_CODE','NU');

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

1838: hr_utility.set_message_token('PAY_PLAN','NX,NY');
1839: hr_utility.set_message_token('AGENCY_CODE','KS');
1840: hr_utility.raise_error;
1841: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1842: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1843: hr_utility.set_message_token('PAY_PLAN','SN');
1844: hr_utility.set_message_token('AGENCY_CODE','NU');
1845: hr_utility.raise_error;
1846: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then

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

1839: hr_utility.set_message_token('AGENCY_CODE','KS');
1840: hr_utility.raise_error;
1841: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1842: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1843: hr_utility.set_message_token('PAY_PLAN','SN');
1844: hr_utility.set_message_token('AGENCY_CODE','NU');
1845: hr_utility.raise_error;
1846: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then
1847: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1840: hr_utility.raise_error;
1841: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1842: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1843: hr_utility.set_message_token('PAY_PLAN','SN');
1844: hr_utility.set_message_token('AGENCY_CODE','NU');
1845: hr_utility.raise_error;
1846: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then
1847: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1848: hr_utility.set_message_token('PAY_PLAN','SP');

Line 1845: hr_utility.raise_error;

1841: elsif ( p_to_pay_plan = 'SN' and substr(p_agency_subelement,1,2) <> 'NU' ) then
1842: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1843: hr_utility.set_message_token('PAY_PLAN','SN');
1844: hr_utility.set_message_token('AGENCY_CODE','NU');
1845: hr_utility.raise_error;
1846: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then
1847: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1848: hr_utility.set_message_token('PAY_PLAN','SP');
1849: hr_utility.set_message_token('AGENCY_CODE','IN');

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

1843: hr_utility.set_message_token('PAY_PLAN','SN');
1844: hr_utility.set_message_token('AGENCY_CODE','NU');
1845: hr_utility.raise_error;
1846: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then
1847: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1848: hr_utility.set_message_token('PAY_PLAN','SP');
1849: hr_utility.set_message_token('AGENCY_CODE','IN');
1850: hr_utility.raise_error;
1851: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then

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

1844: hr_utility.set_message_token('AGENCY_CODE','NU');
1845: hr_utility.raise_error;
1846: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then
1847: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1848: hr_utility.set_message_token('PAY_PLAN','SP');
1849: hr_utility.set_message_token('AGENCY_CODE','IN');
1850: hr_utility.raise_error;
1851: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then
1852: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1845: hr_utility.raise_error;
1846: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then
1847: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1848: hr_utility.set_message_token('PAY_PLAN','SP');
1849: hr_utility.set_message_token('AGENCY_CODE','IN');
1850: hr_utility.raise_error;
1851: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then
1852: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1853: hr_utility.set_message_token('PAY_PLAN','TF');

Line 1850: hr_utility.raise_error;

1846: elsif ( p_to_pay_plan = 'SP' and substr(p_agency_subelement,1,2) <> 'IN' ) then
1847: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1848: hr_utility.set_message_token('PAY_PLAN','SP');
1849: hr_utility.set_message_token('AGENCY_CODE','IN');
1850: hr_utility.raise_error;
1851: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then
1852: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1853: hr_utility.set_message_token('PAY_PLAN','TF');
1854: hr_utility.set_message_token('AGENCY_CODE','FY');

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

1848: hr_utility.set_message_token('PAY_PLAN','SP');
1849: hr_utility.set_message_token('AGENCY_CODE','IN');
1850: hr_utility.raise_error;
1851: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then
1852: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1853: hr_utility.set_message_token('PAY_PLAN','TF');
1854: hr_utility.set_message_token('AGENCY_CODE','FY');
1855: hr_utility.raise_error;
1856: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then

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

1849: hr_utility.set_message_token('AGENCY_CODE','IN');
1850: hr_utility.raise_error;
1851: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then
1852: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1853: hr_utility.set_message_token('PAY_PLAN','TF');
1854: hr_utility.set_message_token('AGENCY_CODE','FY');
1855: hr_utility.raise_error;
1856: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then
1857: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1850: hr_utility.raise_error;
1851: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then
1852: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1853: hr_utility.set_message_token('PAY_PLAN','TF');
1854: hr_utility.set_message_token('AGENCY_CODE','FY');
1855: hr_utility.raise_error;
1856: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then
1857: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1858: hr_utility.set_message_token('PAY_PLAN','TP');

Line 1855: hr_utility.raise_error;

1851: elsif ( p_to_pay_plan = 'TF' and substr(p_agency_subelement,1,2) <> 'FY' ) then
1852: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1853: hr_utility.set_message_token('PAY_PLAN','TF');
1854: hr_utility.set_message_token('AGENCY_CODE','FY');
1855: hr_utility.raise_error;
1856: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then
1857: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1858: hr_utility.set_message_token('PAY_PLAN','TP');
1859: hr_utility.set_message_token('AGENCY_CODE','DD16');

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

1853: hr_utility.set_message_token('PAY_PLAN','TF');
1854: hr_utility.set_message_token('AGENCY_CODE','FY');
1855: hr_utility.raise_error;
1856: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then
1857: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1858: hr_utility.set_message_token('PAY_PLAN','TP');
1859: hr_utility.set_message_token('AGENCY_CODE','DD16');
1860: hr_utility.raise_error;
1861: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then

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

1854: hr_utility.set_message_token('AGENCY_CODE','FY');
1855: hr_utility.raise_error;
1856: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then
1857: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1858: hr_utility.set_message_token('PAY_PLAN','TP');
1859: hr_utility.set_message_token('AGENCY_CODE','DD16');
1860: hr_utility.raise_error;
1861: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then
1862: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1855: hr_utility.raise_error;
1856: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then
1857: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1858: hr_utility.set_message_token('PAY_PLAN','TP');
1859: hr_utility.set_message_token('AGENCY_CODE','DD16');
1860: hr_utility.raise_error;
1861: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then
1862: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1863: hr_utility.set_message_token('PAY_PLAN','TR');

Line 1860: hr_utility.raise_error;

1856: elsif ( p_to_pay_plan = 'TP' and p_agency_subelement <> 'DD16' ) then
1857: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1858: hr_utility.set_message_token('PAY_PLAN','TP');
1859: hr_utility.set_message_token('AGENCY_CODE','DD16');
1860: hr_utility.raise_error;
1861: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then
1862: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1863: hr_utility.set_message_token('PAY_PLAN','TR');
1864: hr_utility.set_message_token('AGENCY_CODE','TRAI,TRAD');

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

1858: hr_utility.set_message_token('PAY_PLAN','TP');
1859: hr_utility.set_message_token('AGENCY_CODE','DD16');
1860: hr_utility.raise_error;
1861: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then
1862: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1863: hr_utility.set_message_token('PAY_PLAN','TR');
1864: hr_utility.set_message_token('AGENCY_CODE','TRAI,TRAD');
1865: hr_utility.raise_error;
1866: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then

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

1859: hr_utility.set_message_token('AGENCY_CODE','DD16');
1860: hr_utility.raise_error;
1861: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then
1862: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1863: hr_utility.set_message_token('PAY_PLAN','TR');
1864: hr_utility.set_message_token('AGENCY_CODE','TRAI,TRAD');
1865: hr_utility.raise_error;
1866: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then
1867: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1860: hr_utility.raise_error;
1861: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then
1862: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1863: hr_utility.set_message_token('PAY_PLAN','TR');
1864: hr_utility.set_message_token('AGENCY_CODE','TRAI,TRAD');
1865: hr_utility.raise_error;
1866: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then
1867: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1868: hr_utility.set_message_token('PAY_PLAN','TS');

Line 1865: hr_utility.raise_error;

1861: elsif ( p_to_pay_plan = 'TR' and p_agency_subelement not in ('TRAI','TRAD')) then
1862: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1863: hr_utility.set_message_token('PAY_PLAN','TR');
1864: hr_utility.set_message_token('AGENCY_CODE','TRAI,TRAD');
1865: hr_utility.raise_error;
1866: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then
1867: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1868: hr_utility.set_message_token('PAY_PLAN','TS');
1869: hr_utility.set_message_token('AGENCY_CODE','FY');

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

1863: hr_utility.set_message_token('PAY_PLAN','TR');
1864: hr_utility.set_message_token('AGENCY_CODE','TRAI,TRAD');
1865: hr_utility.raise_error;
1866: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then
1867: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1868: hr_utility.set_message_token('PAY_PLAN','TS');
1869: hr_utility.set_message_token('AGENCY_CODE','FY');
1870: hr_utility.raise_error;
1871: elsif ( p_to_pay_plan in('VC','VM','VN','VP') and

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

1864: hr_utility.set_message_token('AGENCY_CODE','TRAI,TRAD');
1865: hr_utility.raise_error;
1866: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then
1867: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1868: hr_utility.set_message_token('PAY_PLAN','TS');
1869: hr_utility.set_message_token('AGENCY_CODE','FY');
1870: hr_utility.raise_error;
1871: elsif ( p_to_pay_plan in('VC','VM','VN','VP') and
1872: substr(p_agency_subelement,1,2) <> 'VA' ) then

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

1865: hr_utility.raise_error;
1866: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then
1867: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1868: hr_utility.set_message_token('PAY_PLAN','TS');
1869: hr_utility.set_message_token('AGENCY_CODE','FY');
1870: hr_utility.raise_error;
1871: elsif ( p_to_pay_plan in('VC','VM','VN','VP') and
1872: substr(p_agency_subelement,1,2) <> 'VA' ) then
1873: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1870: hr_utility.raise_error;

1866: elsif ( p_to_pay_plan = 'TS' and substr(p_agency_subelement,1,2) <> 'FY' ) then
1867: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1868: hr_utility.set_message_token('PAY_PLAN','TS');
1869: hr_utility.set_message_token('AGENCY_CODE','FY');
1870: hr_utility.raise_error;
1871: elsif ( p_to_pay_plan in('VC','VM','VN','VP') and
1872: substr(p_agency_subelement,1,2) <> 'VA' ) then
1873: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1874: hr_utility.set_message_token('PAY_PLAN','VC,VM,VN or VP');

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

1869: hr_utility.set_message_token('AGENCY_CODE','FY');
1870: hr_utility.raise_error;
1871: elsif ( p_to_pay_plan in('VC','VM','VN','VP') and
1872: substr(p_agency_subelement,1,2) <> 'VA' ) then
1873: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1874: hr_utility.set_message_token('PAY_PLAN','VC,VM,VN or VP');
1875: hr_utility.set_message_token('AGENCY_CODE','VA');
1876: hr_utility.raise_error;
1877: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then

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

1870: hr_utility.raise_error;
1871: elsif ( p_to_pay_plan in('VC','VM','VN','VP') and
1872: substr(p_agency_subelement,1,2) <> 'VA' ) then
1873: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1874: hr_utility.set_message_token('PAY_PLAN','VC,VM,VN or VP');
1875: hr_utility.set_message_token('AGENCY_CODE','VA');
1876: hr_utility.raise_error;
1877: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then
1878: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1871: elsif ( p_to_pay_plan in('VC','VM','VN','VP') and
1872: substr(p_agency_subelement,1,2) <> 'VA' ) then
1873: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1874: hr_utility.set_message_token('PAY_PLAN','VC,VM,VN or VP');
1875: hr_utility.set_message_token('AGENCY_CODE','VA');
1876: hr_utility.raise_error;
1877: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then
1878: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1879: hr_utility.set_message_token('PAY_PLAN','WA');

Line 1876: hr_utility.raise_error;

1872: substr(p_agency_subelement,1,2) <> 'VA' ) then
1873: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1874: hr_utility.set_message_token('PAY_PLAN','VC,VM,VN or VP');
1875: hr_utility.set_message_token('AGENCY_CODE','VA');
1876: hr_utility.raise_error;
1877: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then
1878: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1879: hr_utility.set_message_token('PAY_PLAN','WA');
1880: hr_utility.set_message_token('AGENCY_CODE','AR');

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

1874: hr_utility.set_message_token('PAY_PLAN','VC,VM,VN or VP');
1875: hr_utility.set_message_token('AGENCY_CODE','VA');
1876: hr_utility.raise_error;
1877: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then
1878: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1879: hr_utility.set_message_token('PAY_PLAN','WA');
1880: hr_utility.set_message_token('AGENCY_CODE','AR');
1881: hr_utility.raise_error;
1882: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then

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

1875: hr_utility.set_message_token('AGENCY_CODE','VA');
1876: hr_utility.raise_error;
1877: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then
1878: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1879: hr_utility.set_message_token('PAY_PLAN','WA');
1880: hr_utility.set_message_token('AGENCY_CODE','AR');
1881: hr_utility.raise_error;
1882: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then
1883: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1876: hr_utility.raise_error;
1877: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then
1878: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1879: hr_utility.set_message_token('PAY_PLAN','WA');
1880: hr_utility.set_message_token('AGENCY_CODE','AR');
1881: hr_utility.raise_error;
1882: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then
1883: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1884: hr_utility.set_message_token('PAY_PLAN','WE');

Line 1881: hr_utility.raise_error;

1877: elsif ( p_to_pay_plan = 'WA' and substr(p_agency_subelement,1,2) <> 'AR' ) then
1878: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1879: hr_utility.set_message_token('PAY_PLAN','WA');
1880: hr_utility.set_message_token('AGENCY_CODE','AR');
1881: hr_utility.raise_error;
1882: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then
1883: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1884: hr_utility.set_message_token('PAY_PLAN','WE');
1885: hr_utility.set_message_token('AGENCY_CODE','TR');

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

1879: hr_utility.set_message_token('PAY_PLAN','WA');
1880: hr_utility.set_message_token('AGENCY_CODE','AR');
1881: hr_utility.raise_error;
1882: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then
1883: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1884: hr_utility.set_message_token('PAY_PLAN','WE');
1885: hr_utility.set_message_token('AGENCY_CODE','TR');
1886: hr_utility.raise_error;
1887: elsif ( p_to_pay_plan in('WJ','WK','WO','WY') and

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

1880: hr_utility.set_message_token('AGENCY_CODE','AR');
1881: hr_utility.raise_error;
1882: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then
1883: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1884: hr_utility.set_message_token('PAY_PLAN','WE');
1885: hr_utility.set_message_token('AGENCY_CODE','TR');
1886: hr_utility.raise_error;
1887: elsif ( p_to_pay_plan in('WJ','WK','WO','WY') and
1888: substr(p_agency_subelement,1,2) <> 'AR' ) then

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

1881: hr_utility.raise_error;
1882: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then
1883: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1884: hr_utility.set_message_token('PAY_PLAN','WE');
1885: hr_utility.set_message_token('AGENCY_CODE','TR');
1886: hr_utility.raise_error;
1887: elsif ( p_to_pay_plan in('WJ','WK','WO','WY') and
1888: substr(p_agency_subelement,1,2) <> 'AR' ) then
1889: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1886: hr_utility.raise_error;

1882: elsif ( p_to_pay_plan = 'WE' and substr(p_agency_subelement,1,2) <> 'TR' ) then
1883: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1884: hr_utility.set_message_token('PAY_PLAN','WE');
1885: hr_utility.set_message_token('AGENCY_CODE','TR');
1886: hr_utility.raise_error;
1887: elsif ( p_to_pay_plan in('WJ','WK','WO','WY') and
1888: substr(p_agency_subelement,1,2) <> 'AR' ) then
1889: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1890: hr_utility.set_message_token('PAY_PLAN','WJ,WK,WO or WY');

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

1885: hr_utility.set_message_token('AGENCY_CODE','TR');
1886: hr_utility.raise_error;
1887: elsif ( p_to_pay_plan in('WJ','WK','WO','WY') and
1888: substr(p_agency_subelement,1,2) <> 'AR' ) then
1889: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1890: hr_utility.set_message_token('PAY_PLAN','WJ,WK,WO or WY');
1891: hr_utility.set_message_token('AGENCY_CODE','AR');
1892: hr_utility.raise_error;
1893: elsif ( p_to_pay_plan in('XA','XB','XC') and

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

1886: hr_utility.raise_error;
1887: elsif ( p_to_pay_plan in('WJ','WK','WO','WY') and
1888: substr(p_agency_subelement,1,2) <> 'AR' ) then
1889: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1890: hr_utility.set_message_token('PAY_PLAN','WJ,WK,WO or WY');
1891: hr_utility.set_message_token('AGENCY_CODE','AR');
1892: hr_utility.raise_error;
1893: elsif ( p_to_pay_plan in('XA','XB','XC') and
1894: substr(p_agency_subelement,1,2) <> 'IN' ) then

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

1887: elsif ( p_to_pay_plan in('WJ','WK','WO','WY') and
1888: substr(p_agency_subelement,1,2) <> 'AR' ) then
1889: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1890: hr_utility.set_message_token('PAY_PLAN','WJ,WK,WO or WY');
1891: hr_utility.set_message_token('AGENCY_CODE','AR');
1892: hr_utility.raise_error;
1893: elsif ( p_to_pay_plan in('XA','XB','XC') and
1894: substr(p_agency_subelement,1,2) <> 'IN' ) then
1895: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1892: hr_utility.raise_error;

1888: substr(p_agency_subelement,1,2) <> 'AR' ) then
1889: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1890: hr_utility.set_message_token('PAY_PLAN','WJ,WK,WO or WY');
1891: hr_utility.set_message_token('AGENCY_CODE','AR');
1892: hr_utility.raise_error;
1893: elsif ( p_to_pay_plan in('XA','XB','XC') and
1894: substr(p_agency_subelement,1,2) <> 'IN' ) then
1895: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1896: hr_utility.set_message_token('PAY_PLAN','XA,XB or XC');

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

1891: hr_utility.set_message_token('AGENCY_CODE','AR');
1892: hr_utility.raise_error;
1893: elsif ( p_to_pay_plan in('XA','XB','XC') and
1894: substr(p_agency_subelement,1,2) <> 'IN' ) then
1895: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1896: hr_utility.set_message_token('PAY_PLAN','XA,XB or XC');
1897: hr_utility.set_message_token('AGENCY_CODE','IN');
1898: hr_utility.raise_error;
1899: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then

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

1892: hr_utility.raise_error;
1893: elsif ( p_to_pay_plan in('XA','XB','XC') and
1894: substr(p_agency_subelement,1,2) <> 'IN' ) then
1895: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1896: hr_utility.set_message_token('PAY_PLAN','XA,XB or XC');
1897: hr_utility.set_message_token('AGENCY_CODE','IN');
1898: hr_utility.raise_error;
1899: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then
1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1893: elsif ( p_to_pay_plan in('XA','XB','XC') and
1894: substr(p_agency_subelement,1,2) <> 'IN' ) then
1895: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1896: hr_utility.set_message_token('PAY_PLAN','XA,XB or XC');
1897: hr_utility.set_message_token('AGENCY_CODE','IN');
1898: hr_utility.raise_error;
1899: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then
1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1901: hr_utility.set_message_token('PAY_PLAN','XE');

Line 1898: hr_utility.raise_error;

1894: substr(p_agency_subelement,1,2) <> 'IN' ) then
1895: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1896: hr_utility.set_message_token('PAY_PLAN','XA,XB or XC');
1897: hr_utility.set_message_token('AGENCY_CODE','IN');
1898: hr_utility.raise_error;
1899: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then
1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1901: hr_utility.set_message_token('PAY_PLAN','XE');
1902: hr_utility.set_message_token('AGENCY_CODE','IN07');

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

1896: hr_utility.set_message_token('PAY_PLAN','XA,XB or XC');
1897: hr_utility.set_message_token('AGENCY_CODE','IN');
1898: hr_utility.raise_error;
1899: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then
1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1901: hr_utility.set_message_token('PAY_PLAN','XE');
1902: hr_utility.set_message_token('AGENCY_CODE','IN07');
1903: hr_utility.raise_error;
1904: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then

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

1897: hr_utility.set_message_token('AGENCY_CODE','IN');
1898: hr_utility.raise_error;
1899: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then
1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1901: hr_utility.set_message_token('PAY_PLAN','XE');
1902: hr_utility.set_message_token('AGENCY_CODE','IN07');
1903: hr_utility.raise_error;
1904: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then
1905: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1898: hr_utility.raise_error;
1899: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then
1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1901: hr_utility.set_message_token('PAY_PLAN','XE');
1902: hr_utility.set_message_token('AGENCY_CODE','IN07');
1903: hr_utility.raise_error;
1904: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then
1905: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1906: hr_utility.set_message_token('PAY_PLAN','in CG,EO or EM');

Line 1903: hr_utility.raise_error;

1899: elsif ( p_to_pay_plan = 'XE' and p_agency_subelement <> 'IN07' ) then
1900: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1901: hr_utility.set_message_token('PAY_PLAN','XE');
1902: hr_utility.set_message_token('AGENCY_CODE','IN07');
1903: hr_utility.raise_error;
1904: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then
1905: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1906: hr_utility.set_message_token('PAY_PLAN','in CG,EO or EM');
1907: hr_utility.set_message_token('AGENCY_CODE','FD');

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

1901: hr_utility.set_message_token('PAY_PLAN','XE');
1902: hr_utility.set_message_token('AGENCY_CODE','IN07');
1903: hr_utility.raise_error;
1904: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then
1905: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1906: hr_utility.set_message_token('PAY_PLAN','in CG,EO or EM');
1907: hr_utility.set_message_token('AGENCY_CODE','FD');
1908: hr_utility.raise_error;
1909: elsif ( p_to_pay_plan in ('MG','MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then

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

1902: hr_utility.set_message_token('AGENCY_CODE','IN07');
1903: hr_utility.raise_error;
1904: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then
1905: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1906: hr_utility.set_message_token('PAY_PLAN','in CG,EO or EM');
1907: hr_utility.set_message_token('AGENCY_CODE','FD');
1908: hr_utility.raise_error;
1909: elsif ( p_to_pay_plan in ('MG','MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
1910: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1903: hr_utility.raise_error;
1904: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then
1905: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1906: hr_utility.set_message_token('PAY_PLAN','in CG,EO or EM');
1907: hr_utility.set_message_token('AGENCY_CODE','FD');
1908: hr_utility.raise_error;
1909: elsif ( p_to_pay_plan in ('MG','MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
1910: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1911: hr_utility.set_message_token('PAY_PLAN','in MG,MS or MX');

Line 1908: hr_utility.raise_error;

1904: elsif ( p_to_pay_plan in ('CG','EO','EM') and substr(p_agency_subelement,1,2) <> 'FD' ) then
1905: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1906: hr_utility.set_message_token('PAY_PLAN','in CG,EO or EM');
1907: hr_utility.set_message_token('AGENCY_CODE','FD');
1908: hr_utility.raise_error;
1909: elsif ( p_to_pay_plan in ('MG','MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
1910: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1911: hr_utility.set_message_token('PAY_PLAN','in MG,MS or MX');
1912: hr_utility.set_message_token('AGENCY_CODE','HU');

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

1906: hr_utility.set_message_token('PAY_PLAN','in CG,EO or EM');
1907: hr_utility.set_message_token('AGENCY_CODE','FD');
1908: hr_utility.raise_error;
1909: elsif ( p_to_pay_plan in ('MG','MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
1910: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1911: hr_utility.set_message_token('PAY_PLAN','in MG,MS or MX');
1912: hr_utility.set_message_token('AGENCY_CODE','HU');
1913: hr_utility.raise_error;
1914: elsif ( p_to_pay_plan in('ZA','ZP','ZS','ZT') and

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

1907: hr_utility.set_message_token('AGENCY_CODE','FD');
1908: hr_utility.raise_error;
1909: elsif ( p_to_pay_plan in ('MG','MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
1910: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1911: hr_utility.set_message_token('PAY_PLAN','in MG,MS or MX');
1912: hr_utility.set_message_token('AGENCY_CODE','HU');
1913: hr_utility.raise_error;
1914: elsif ( p_to_pay_plan in('ZA','ZP','ZS','ZT') and
1915: p_agency_subelement <> 'CM' ) then

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

1908: hr_utility.raise_error;
1909: elsif ( p_to_pay_plan in ('MG','MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
1910: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1911: hr_utility.set_message_token('PAY_PLAN','in MG,MS or MX');
1912: hr_utility.set_message_token('AGENCY_CODE','HU');
1913: hr_utility.raise_error;
1914: elsif ( p_to_pay_plan in('ZA','ZP','ZS','ZT') and
1915: p_agency_subelement <> 'CM' ) then
1916: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1913: hr_utility.raise_error;

1909: elsif ( p_to_pay_plan in ('MG','MS','MX') and substr(p_agency_subelement,1,2) <> 'HU' ) then
1910: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1911: hr_utility.set_message_token('PAY_PLAN','in MG,MS or MX');
1912: hr_utility.set_message_token('AGENCY_CODE','HU');
1913: hr_utility.raise_error;
1914: elsif ( p_to_pay_plan in('ZA','ZP','ZS','ZT') and
1915: p_agency_subelement <> 'CM' ) then
1916: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1917: hr_utility.set_message_token('PAY_PLAN','in ZA,ZP,ZS or ZT');

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

1912: hr_utility.set_message_token('AGENCY_CODE','HU');
1913: hr_utility.raise_error;
1914: elsif ( p_to_pay_plan in('ZA','ZP','ZS','ZT') and
1915: p_agency_subelement <> 'CM' ) then
1916: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1917: hr_utility.set_message_token('PAY_PLAN','in ZA,ZP,ZS or ZT');
1918: hr_utility.set_message_token('AGENCY_CODE','CM');
1919: hr_utility.raise_error;
1920: elsif ( p_to_pay_plan in('DA','DG','DP','DS','DT') and

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

1913: hr_utility.raise_error;
1914: elsif ( p_to_pay_plan in('ZA','ZP','ZS','ZT') and
1915: p_agency_subelement <> 'CM' ) then
1916: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1917: hr_utility.set_message_token('PAY_PLAN','in ZA,ZP,ZS or ZT');
1918: hr_utility.set_message_token('AGENCY_CODE','CM');
1919: hr_utility.raise_error;
1920: elsif ( p_to_pay_plan in('DA','DG','DP','DS','DT') and
1921: substr(p_agency_subelement,1,2) <> 'NV' ) then

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

1914: elsif ( p_to_pay_plan in('ZA','ZP','ZS','ZT') and
1915: p_agency_subelement <> 'CM' ) then
1916: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1917: hr_utility.set_message_token('PAY_PLAN','in ZA,ZP,ZS or ZT');
1918: hr_utility.set_message_token('AGENCY_CODE','CM');
1919: hr_utility.raise_error;
1920: elsif ( p_to_pay_plan in('DA','DG','DP','DS','DT') and
1921: substr(p_agency_subelement,1,2) <> 'NV' ) then
1922: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1919: hr_utility.raise_error;

1915: p_agency_subelement <> 'CM' ) then
1916: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1917: hr_utility.set_message_token('PAY_PLAN','in ZA,ZP,ZS or ZT');
1918: hr_utility.set_message_token('AGENCY_CODE','CM');
1919: hr_utility.raise_error;
1920: elsif ( p_to_pay_plan in('DA','DG','DP','DS','DT') and
1921: substr(p_agency_subelement,1,2) <> 'NV' ) then
1922: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1923: hr_utility.set_message_token('PAY_PLAN','in DA,DG,DP,DS or DT');

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

1918: hr_utility.set_message_token('AGENCY_CODE','CM');
1919: hr_utility.raise_error;
1920: elsif ( p_to_pay_plan in('DA','DG','DP','DS','DT') and
1921: substr(p_agency_subelement,1,2) <> 'NV' ) then
1922: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1923: hr_utility.set_message_token('PAY_PLAN','in DA,DG,DP,DS or DT');
1924: hr_utility.set_message_token('AGENCY_CODE','NV');
1925: hr_utility.raise_error;
1926: elsif ( p_to_pay_plan in ('NH','NJ','NK') and

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

1919: hr_utility.raise_error;
1920: elsif ( p_to_pay_plan in('DA','DG','DP','DS','DT') and
1921: substr(p_agency_subelement,1,2) <> 'NV' ) then
1922: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1923: hr_utility.set_message_token('PAY_PLAN','in DA,DG,DP,DS or DT');
1924: hr_utility.set_message_token('AGENCY_CODE','NV');
1925: hr_utility.raise_error;
1926: elsif ( p_to_pay_plan in ('NH','NJ','NK') and
1927: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') and

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

1920: elsif ( p_to_pay_plan in('DA','DG','DP','DS','DT') and
1921: substr(p_agency_subelement,1,2) <> 'NV' ) then
1922: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1923: hr_utility.set_message_token('PAY_PLAN','in DA,DG,DP,DS or DT');
1924: hr_utility.set_message_token('AGENCY_CODE','NV');
1925: hr_utility.raise_error;
1926: elsif ( p_to_pay_plan in ('NH','NJ','NK') and
1927: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') and
1928: p_effective_date >= fnd_date.canonical_to_date('1998/03/01') ) then

Line 1925: hr_utility.raise_error;

1921: substr(p_agency_subelement,1,2) <> 'NV' ) then
1922: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1923: hr_utility.set_message_token('PAY_PLAN','in DA,DG,DP,DS or DT');
1924: hr_utility.set_message_token('AGENCY_CODE','NV');
1925: hr_utility.raise_error;
1926: elsif ( p_to_pay_plan in ('NH','NJ','NK') and
1927: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') and
1928: p_effective_date >= fnd_date.canonical_to_date('1998/03/01') ) then
1929: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1925: hr_utility.raise_error;
1926: elsif ( p_to_pay_plan in ('NH','NJ','NK') and
1927: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') and
1928: p_effective_date >= fnd_date.canonical_to_date('1998/03/01') ) then
1929: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1930: hr_utility.set_message_token('PAY_PLAN','in NH,NJ or NK');
1931: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,DD or NV');
1932: hr_utility.raise_error;
1933: elsif ( p_to_pay_plan in ('AT','EV','FV') and

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

1926: elsif ( p_to_pay_plan in ('NH','NJ','NK') and
1927: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') and
1928: p_effective_date >= fnd_date.canonical_to_date('1998/03/01') ) then
1929: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1930: hr_utility.set_message_token('PAY_PLAN','in NH,NJ or NK');
1931: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,DD or NV');
1932: hr_utility.raise_error;
1933: elsif ( p_to_pay_plan in ('AT','EV','FV') and
1934: p_effective_date >= fnd_date.canonical_to_date('1998/10/01') and

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

1927: substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') and
1928: p_effective_date >= fnd_date.canonical_to_date('1998/03/01') ) then
1929: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1930: hr_utility.set_message_token('PAY_PLAN','in NH,NJ or NK');
1931: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,DD or NV');
1932: hr_utility.raise_error;
1933: elsif ( p_to_pay_plan in ('AT','EV','FV') and
1934: p_effective_date >= fnd_date.canonical_to_date('1998/10/01') and
1935: p_agency_subelement <> 'TD03' ) then

Line 1932: hr_utility.raise_error;

1928: p_effective_date >= fnd_date.canonical_to_date('1998/03/01') ) then
1929: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1930: hr_utility.set_message_token('PAY_PLAN','in NH,NJ or NK');
1931: hr_utility.set_message_token('AGENCY_CODE','in AF,AR,DD or NV');
1932: hr_utility.raise_error;
1933: elsif ( p_to_pay_plan in ('AT','EV','FV') and
1934: p_effective_date >= fnd_date.canonical_to_date('1998/10/01') and
1935: p_agency_subelement <> 'TD03' ) then
1936: hr_utility.set_location('In pay plan AT', 12);

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

1932: hr_utility.raise_error;
1933: elsif ( p_to_pay_plan in ('AT','EV','FV') and
1934: p_effective_date >= fnd_date.canonical_to_date('1998/10/01') and
1935: p_agency_subelement <> 'TD03' ) then
1936: hr_utility.set_location('In pay plan AT', 12);
1937: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1938: hr_utility.set_message_token('PAY_PLAN','in AT,EV or FV');
1939: hr_utility.set_message_token('AGENCY_CODE','TD03');
1940: hr_utility.raise_error;

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

1933: elsif ( p_to_pay_plan in ('AT','EV','FV') and
1934: p_effective_date >= fnd_date.canonical_to_date('1998/10/01') and
1935: p_agency_subelement <> 'TD03' ) then
1936: hr_utility.set_location('In pay plan AT', 12);
1937: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1938: hr_utility.set_message_token('PAY_PLAN','in AT,EV or FV');
1939: hr_utility.set_message_token('AGENCY_CODE','TD03');
1940: hr_utility.raise_error;
1941: --

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

1934: p_effective_date >= fnd_date.canonical_to_date('1998/10/01') and
1935: p_agency_subelement <> 'TD03' ) then
1936: hr_utility.set_location('In pay plan AT', 12);
1937: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1938: hr_utility.set_message_token('PAY_PLAN','in AT,EV or FV');
1939: hr_utility.set_message_token('AGENCY_CODE','TD03');
1940: hr_utility.raise_error;
1941: --
1942: -- Deleting entries for Pay Plans - JA,JB,JC,JD,JE. DATE: 14-SEP-2004 for EOY - I

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

1935: p_agency_subelement <> 'TD03' ) then
1936: hr_utility.set_location('In pay plan AT', 12);
1937: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1938: hr_utility.set_message_token('PAY_PLAN','in AT,EV or FV');
1939: hr_utility.set_message_token('AGENCY_CODE','TD03');
1940: hr_utility.raise_error;
1941: --
1942: -- Deleting entries for Pay Plans - JA,JB,JC,JD,JE. DATE: 14-SEP-2004 for EOY - I
1943: --

Line 1940: hr_utility.raise_error;

1936: hr_utility.set_location('In pay plan AT', 12);
1937: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1938: hr_utility.set_message_token('PAY_PLAN','in AT,EV or FV');
1939: hr_utility.set_message_token('AGENCY_CODE','TD03');
1940: hr_utility.raise_error;
1941: --
1942: -- Deleting entries for Pay Plans - JA,JB,JC,JD,JE. DATE: 14-SEP-2004 for EOY - I
1943: --
1944: /* elsif ( p_to_pay_plan in ( 'JA','JB','JC','JD','JE') and p_agency_subelement <> 'DJ02' ) then

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

1941: --
1942: -- Deleting entries for Pay Plans - JA,JB,JC,JD,JE. DATE: 14-SEP-2004 for EOY - I
1943: --
1944: /* elsif ( p_to_pay_plan in ( 'JA','JB','JC','JD','JE') and p_agency_subelement <> 'DJ02' ) then
1945: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1946: hr_utility.set_message_token('PAY_PLAN','in JA,JB,JC,JD or JE');
1947: hr_utility.set_message_token('AGENCY_CODE','DJ02');
1948: hr_utility.raise_error;*/
1949: elsif ( p_to_pay_plan in ( 'EZ') and substr(p_agency_subelement,1,2) <> 'SE' and

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

1942: -- Deleting entries for Pay Plans - JA,JB,JC,JD,JE. DATE: 14-SEP-2004 for EOY - I
1943: --
1944: /* elsif ( p_to_pay_plan in ( 'JA','JB','JC','JD','JE') and p_agency_subelement <> 'DJ02' ) then
1945: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1946: hr_utility.set_message_token('PAY_PLAN','in JA,JB,JC,JD or JE');
1947: hr_utility.set_message_token('AGENCY_CODE','DJ02');
1948: hr_utility.raise_error;*/
1949: elsif ( p_to_pay_plan in ( 'EZ') and substr(p_agency_subelement,1,2) <> 'SE' and
1950: p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') ) then

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

1943: --
1944: /* elsif ( p_to_pay_plan in ( 'JA','JB','JC','JD','JE') and p_agency_subelement <> 'DJ02' ) then
1945: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1946: hr_utility.set_message_token('PAY_PLAN','in JA,JB,JC,JD or JE');
1947: hr_utility.set_message_token('AGENCY_CODE','DJ02');
1948: hr_utility.raise_error;*/
1949: elsif ( p_to_pay_plan in ( 'EZ') and substr(p_agency_subelement,1,2) <> 'SE' and
1950: p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') ) then
1951: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1948: hr_utility.raise_error;*/

1944: /* elsif ( p_to_pay_plan in ( 'JA','JB','JC','JD','JE') and p_agency_subelement <> 'DJ02' ) then
1945: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1946: hr_utility.set_message_token('PAY_PLAN','in JA,JB,JC,JD or JE');
1947: hr_utility.set_message_token('AGENCY_CODE','DJ02');
1948: hr_utility.raise_error;*/
1949: elsif ( p_to_pay_plan in ( 'EZ') and substr(p_agency_subelement,1,2) <> 'SE' and
1950: p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') ) then
1951: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1952: hr_utility.set_message_token('PAY_PLAN','EZ');

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

1947: hr_utility.set_message_token('AGENCY_CODE','DJ02');
1948: hr_utility.raise_error;*/
1949: elsif ( p_to_pay_plan in ( 'EZ') and substr(p_agency_subelement,1,2) <> 'SE' and
1950: p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') ) then
1951: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1952: hr_utility.set_message_token('PAY_PLAN','EZ');
1953: hr_utility.set_message_token('AGENCY_CODE','SE');
1954: hr_utility.raise_error;
1955: elsif ( p_to_pay_plan in ('NC','NO','NP','NR') and substr(p_agency_subelement,1,2) <> 'NV' and

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

1948: hr_utility.raise_error;*/
1949: elsif ( p_to_pay_plan in ( 'EZ') and substr(p_agency_subelement,1,2) <> 'SE' and
1950: p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') ) then
1951: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1952: hr_utility.set_message_token('PAY_PLAN','EZ');
1953: hr_utility.set_message_token('AGENCY_CODE','SE');
1954: hr_utility.raise_error;
1955: elsif ( p_to_pay_plan in ('NC','NO','NP','NR') and substr(p_agency_subelement,1,2) <> 'NV' and
1956: p_effective_date >= fnd_date.canonical_to_date('19'||'99/04/01') )

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

1949: elsif ( p_to_pay_plan in ( 'EZ') and substr(p_agency_subelement,1,2) <> 'SE' and
1950: p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') ) then
1951: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1952: hr_utility.set_message_token('PAY_PLAN','EZ');
1953: hr_utility.set_message_token('AGENCY_CODE','SE');
1954: hr_utility.raise_error;
1955: elsif ( p_to_pay_plan in ('NC','NO','NP','NR') and substr(p_agency_subelement,1,2) <> 'NV' and
1956: p_effective_date >= fnd_date.canonical_to_date('19'||'99/04/01') )
1957: then

Line 1954: hr_utility.raise_error;

1950: p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') ) then
1951: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1952: hr_utility.set_message_token('PAY_PLAN','EZ');
1953: hr_utility.set_message_token('AGENCY_CODE','SE');
1954: hr_utility.raise_error;
1955: elsif ( p_to_pay_plan in ('NC','NO','NP','NR') and substr(p_agency_subelement,1,2) <> 'NV' and
1956: p_effective_date >= fnd_date.canonical_to_date('19'||'99/04/01') )
1957: then
1958: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1954: hr_utility.raise_error;
1955: elsif ( p_to_pay_plan in ('NC','NO','NP','NR') and substr(p_agency_subelement,1,2) <> 'NV' and
1956: p_effective_date >= fnd_date.canonical_to_date('19'||'99/04/01') )
1957: then
1958: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1959: hr_utility.set_message_token('PAY_PLAN','in NC,NO,NP or NR');
1960: hr_utility.set_message_token('AGENCY_CODE','NV');
1961: hr_utility.raise_error;
1962: elsif p_to_pay_plan in ('PD') then

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

1955: elsif ( p_to_pay_plan in ('NC','NO','NP','NR') and substr(p_agency_subelement,1,2) <> 'NV' and
1956: p_effective_date >= fnd_date.canonical_to_date('19'||'99/04/01') )
1957: then
1958: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1959: hr_utility.set_message_token('PAY_PLAN','in NC,NO,NP or NR');
1960: hr_utility.set_message_token('AGENCY_CODE','NV');
1961: hr_utility.raise_error;
1962: elsif p_to_pay_plan in ('PD') then
1963: IF ( p_effective_date >= to_date('1999/10/01','yyyy/mm/dd')

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

1956: p_effective_date >= fnd_date.canonical_to_date('19'||'99/04/01') )
1957: then
1958: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1959: hr_utility.set_message_token('PAY_PLAN','in NC,NO,NP or NR');
1960: hr_utility.set_message_token('AGENCY_CODE','NV');
1961: hr_utility.raise_error;
1962: elsif p_to_pay_plan in ('PD') then
1963: IF ( p_effective_date >= to_date('1999/10/01','yyyy/mm/dd')
1964: and p_agency_subelement not in('TR40','DJ15','HSAD','HSBD')

Line 1961: hr_utility.raise_error;

1957: then
1958: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1959: hr_utility.set_message_token('PAY_PLAN','in NC,NO,NP or NR');
1960: hr_utility.set_message_token('AGENCY_CODE','NV');
1961: hr_utility.raise_error;
1962: elsif p_to_pay_plan in ('PD') then
1963: IF ( p_effective_date >= to_date('1999/10/01','yyyy/mm/dd')
1964: and p_agency_subelement not in('TR40','DJ15','HSAD','HSBD')
1965: ) then

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

1962: elsif p_to_pay_plan in ('PD') then
1963: IF ( p_effective_date >= to_date('1999/10/01','yyyy/mm/dd')
1964: and p_agency_subelement not in('TR40','DJ15','HSAD','HSBD')
1965: ) then
1966: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1967: hr_utility.set_message_token('PAY_PLAN','PD');
1968: hr_utility.set_message_token('AGENCY_CODE','in TR40,DJ15,HSAD or HSBD');
1969: hr_utility.raise_error;
1970: Elsif( p_effective_date < to_date('1999/10/01','yyyy/mm/dd')

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

1963: IF ( p_effective_date >= to_date('1999/10/01','yyyy/mm/dd')
1964: and p_agency_subelement not in('TR40','DJ15','HSAD','HSBD')
1965: ) then
1966: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1967: hr_utility.set_message_token('PAY_PLAN','PD');
1968: hr_utility.set_message_token('AGENCY_CODE','in TR40,DJ15,HSAD or HSBD');
1969: hr_utility.raise_error;
1970: Elsif( p_effective_date < to_date('1999/10/01','yyyy/mm/dd')
1971: and p_agency_subelement not in('DJ15','HSAD','HSBD')

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

1964: and p_agency_subelement not in('TR40','DJ15','HSAD','HSBD')
1965: ) then
1966: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1967: hr_utility.set_message_token('PAY_PLAN','PD');
1968: hr_utility.set_message_token('AGENCY_CODE','in TR40,DJ15,HSAD or HSBD');
1969: hr_utility.raise_error;
1970: Elsif( p_effective_date < to_date('1999/10/01','yyyy/mm/dd')
1971: and p_agency_subelement not in('DJ15','HSAD','HSBD')
1972: ) then

Line 1969: hr_utility.raise_error;

1965: ) then
1966: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1967: hr_utility.set_message_token('PAY_PLAN','PD');
1968: hr_utility.set_message_token('AGENCY_CODE','in TR40,DJ15,HSAD or HSBD');
1969: hr_utility.raise_error;
1970: Elsif( p_effective_date < to_date('1999/10/01','yyyy/mm/dd')
1971: and p_agency_subelement not in('DJ15','HSAD','HSBD')
1972: ) then
1973: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1969: hr_utility.raise_error;
1970: Elsif( p_effective_date < to_date('1999/10/01','yyyy/mm/dd')
1971: and p_agency_subelement not in('DJ15','HSAD','HSBD')
1972: ) then
1973: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1974: hr_utility.set_message_token('PAY_PLAN','PD');
1975: hr_utility.set_message_token('AGENCY_CODE','in DJ15, HSAD or HSBD');
1976: hr_utility.raise_error;
1977: END IF;

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

1970: Elsif( p_effective_date < to_date('1999/10/01','yyyy/mm/dd')
1971: and p_agency_subelement not in('DJ15','HSAD','HSBD')
1972: ) then
1973: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1974: hr_utility.set_message_token('PAY_PLAN','PD');
1975: hr_utility.set_message_token('AGENCY_CODE','in DJ15, HSAD or HSBD');
1976: hr_utility.raise_error;
1977: END IF;
1978: elsif ( p_to_pay_plan in ('SK','SO') and substr(p_agency_subelement,1,2) <> 'SE')

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

1971: and p_agency_subelement not in('DJ15','HSAD','HSBD')
1972: ) then
1973: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1974: hr_utility.set_message_token('PAY_PLAN','PD');
1975: hr_utility.set_message_token('AGENCY_CODE','in DJ15, HSAD or HSBD');
1976: hr_utility.raise_error;
1977: END IF;
1978: elsif ( p_to_pay_plan in ('SK','SO') and substr(p_agency_subelement,1,2) <> 'SE')
1979: then

Line 1976: hr_utility.raise_error;

1972: ) then
1973: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1974: hr_utility.set_message_token('PAY_PLAN','PD');
1975: hr_utility.set_message_token('AGENCY_CODE','in DJ15, HSAD or HSBD');
1976: hr_utility.raise_error;
1977: END IF;
1978: elsif ( p_to_pay_plan in ('SK','SO') and substr(p_agency_subelement,1,2) <> 'SE')
1979: then
1980: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

1976: hr_utility.raise_error;
1977: END IF;
1978: elsif ( p_to_pay_plan in ('SK','SO') and substr(p_agency_subelement,1,2) <> 'SE')
1979: then
1980: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1981: hr_utility.set_message_token('PAY_PLAN','in SK or SO');
1982: hr_utility.set_message_token('AGENCY_CODE','SE');
1983: hr_utility.raise_error;
1984: elsif ( p_to_pay_plan in ('SV','SW') and p_agency_subelement <>'HSBC')

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

1977: END IF;
1978: elsif ( p_to_pay_plan in ('SK','SO') and substr(p_agency_subelement,1,2) <> 'SE')
1979: then
1980: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1981: hr_utility.set_message_token('PAY_PLAN','in SK or SO');
1982: hr_utility.set_message_token('AGENCY_CODE','SE');
1983: hr_utility.raise_error;
1984: elsif ( p_to_pay_plan in ('SV','SW') and p_agency_subelement <>'HSBC')
1985: then

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

1978: elsif ( p_to_pay_plan in ('SK','SO') and substr(p_agency_subelement,1,2) <> 'SE')
1979: then
1980: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1981: hr_utility.set_message_token('PAY_PLAN','in SK or SO');
1982: hr_utility.set_message_token('AGENCY_CODE','SE');
1983: hr_utility.raise_error;
1984: elsif ( p_to_pay_plan in ('SV','SW') and p_agency_subelement <>'HSBC')
1985: then
1986: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1983: hr_utility.raise_error;

1979: then
1980: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1981: hr_utility.set_message_token('PAY_PLAN','in SK or SO');
1982: hr_utility.set_message_token('AGENCY_CODE','SE');
1983: hr_utility.raise_error;
1984: elsif ( p_to_pay_plan in ('SV','SW') and p_agency_subelement <>'HSBC')
1985: then
1986: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1987: hr_utility.set_message_token('PAY_PLAN','in SV or SW');

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

1982: hr_utility.set_message_token('AGENCY_CODE','SE');
1983: hr_utility.raise_error;
1984: elsif ( p_to_pay_plan in ('SV','SW') and p_agency_subelement <>'HSBC')
1985: then
1986: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1987: hr_utility.set_message_token('PAY_PLAN','in SV or SW');
1988: hr_utility.set_message_token('AGENCY_CODE','in HSBC');
1989: hr_utility.raise_error;
1990: elsif ( p_to_pay_plan in ('RE','RP') and p_agency_subelement <> 'TR93')

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

1983: hr_utility.raise_error;
1984: elsif ( p_to_pay_plan in ('SV','SW') and p_agency_subelement <>'HSBC')
1985: then
1986: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1987: hr_utility.set_message_token('PAY_PLAN','in SV or SW');
1988: hr_utility.set_message_token('AGENCY_CODE','in HSBC');
1989: hr_utility.raise_error;
1990: elsif ( p_to_pay_plan in ('RE','RP') and p_agency_subelement <> 'TR93')
1991: then

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

1984: elsif ( p_to_pay_plan in ('SV','SW') and p_agency_subelement <>'HSBC')
1985: then
1986: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1987: hr_utility.set_message_token('PAY_PLAN','in SV or SW');
1988: hr_utility.set_message_token('AGENCY_CODE','in HSBC');
1989: hr_utility.raise_error;
1990: elsif ( p_to_pay_plan in ('RE','RP') and p_agency_subelement <> 'TR93')
1991: then
1992: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1989: hr_utility.raise_error;

1985: then
1986: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1987: hr_utility.set_message_token('PAY_PLAN','in SV or SW');
1988: hr_utility.set_message_token('AGENCY_CODE','in HSBC');
1989: hr_utility.raise_error;
1990: elsif ( p_to_pay_plan in ('RE','RP') and p_agency_subelement <> 'TR93')
1991: then
1992: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1993: hr_utility.set_message_token('PAY_PLAN','in RE or RP');

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

1988: hr_utility.set_message_token('AGENCY_CODE','in HSBC');
1989: hr_utility.raise_error;
1990: elsif ( p_to_pay_plan in ('RE','RP') and p_agency_subelement <> 'TR93')
1991: then
1992: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1993: hr_utility.set_message_token('PAY_PLAN','in RE or RP');
1994: hr_utility.set_message_token('AGENCY_CODE','TR93');
1995: hr_utility.raise_error;
1996: elsif ( p_to_pay_plan in ('TG') and p_agency_subelement <> 'TR35')

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

1989: hr_utility.raise_error;
1990: elsif ( p_to_pay_plan in ('RE','RP') and p_agency_subelement <> 'TR93')
1991: then
1992: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1993: hr_utility.set_message_token('PAY_PLAN','in RE or RP');
1994: hr_utility.set_message_token('AGENCY_CODE','TR93');
1995: hr_utility.raise_error;
1996: elsif ( p_to_pay_plan in ('TG') and p_agency_subelement <> 'TR35')
1997: then

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

1990: elsif ( p_to_pay_plan in ('RE','RP') and p_agency_subelement <> 'TR93')
1991: then
1992: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1993: hr_utility.set_message_token('PAY_PLAN','in RE or RP');
1994: hr_utility.set_message_token('AGENCY_CODE','TR93');
1995: hr_utility.raise_error;
1996: elsif ( p_to_pay_plan in ('TG') and p_agency_subelement <> 'TR35')
1997: then
1998: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 1995: hr_utility.raise_error;

1991: then
1992: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1993: hr_utility.set_message_token('PAY_PLAN','in RE or RP');
1994: hr_utility.set_message_token('AGENCY_CODE','TR93');
1995: hr_utility.raise_error;
1996: elsif ( p_to_pay_plan in ('TG') and p_agency_subelement <> 'TR35')
1997: then
1998: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1999: hr_utility.set_message_token('PAY_PLAN','TG');

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

1994: hr_utility.set_message_token('AGENCY_CODE','TR93');
1995: hr_utility.raise_error;
1996: elsif ( p_to_pay_plan in ('TG') and p_agency_subelement <> 'TR35')
1997: then
1998: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1999: hr_utility.set_message_token('PAY_PLAN','TG');
2000: hr_utility.set_message_token('AGENCY_CODE','TR35');
2001: hr_utility.raise_error;
2002: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and

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

1995: hr_utility.raise_error;
1996: elsif ( p_to_pay_plan in ('TG') and p_agency_subelement <> 'TR35')
1997: then
1998: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1999: hr_utility.set_message_token('PAY_PLAN','TG');
2000: hr_utility.set_message_token('AGENCY_CODE','TR35');
2001: hr_utility.raise_error;
2002: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2003: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')

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

1996: elsif ( p_to_pay_plan in ('TG') and p_agency_subelement <> 'TR35')
1997: then
1998: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1999: hr_utility.set_message_token('PAY_PLAN','TG');
2000: hr_utility.set_message_token('AGENCY_CODE','TR35');
2001: hr_utility.raise_error;
2002: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2003: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')
2004: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST')) )

Line 2001: hr_utility.raise_error;

1997: then
1998: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
1999: hr_utility.set_message_token('PAY_PLAN','TG');
2000: hr_utility.set_message_token('AGENCY_CODE','TR35');
2001: hr_utility.raise_error;
2002: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2003: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')
2004: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST')) )
2005: then

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

2002: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2003: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')
2004: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST')) )
2005: then
2006: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2007: hr_utility.set_message_token('PAY_PLAN','AF');
2008: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB,PU or ST');
2009: hr_utility.raise_error;
2010:

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

2003: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')
2004: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST')) )
2005: then
2006: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2007: hr_utility.set_message_token('PAY_PLAN','AF');
2008: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB,PU or ST');
2009: hr_utility.raise_error;
2010:
2011: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and

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

2004: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST')) )
2005: then
2006: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2007: hr_utility.set_message_token('PAY_PLAN','AF');
2008: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB,PU or ST');
2009: hr_utility.raise_error;
2010:
2011: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2012: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')

Line 2009: hr_utility.raise_error;

2005: then
2006: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2007: hr_utility.set_message_token('PAY_PLAN','AF');
2008: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB,PU or ST');
2009: hr_utility.raise_error;
2010:
2011: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2012: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')
2013: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU')) )

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

2011: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2012: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')
2013: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU')) )
2014: then
2015: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2016: hr_utility.set_message_token('PAY_PLAN','AF');
2017: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB or PU ');
2018: hr_utility.raise_error;
2019: elsif ( p_to_pay_plan in ('AG') and substr(p_agency_subelement,1,2) <> 'FD' )

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

2012: ( p_to_pay_plan in ('AF') and (p_agency_subelement not in ('AG10','CM55')
2013: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU')) )
2014: then
2015: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2016: hr_utility.set_message_token('PAY_PLAN','AF');
2017: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB or PU ');
2018: hr_utility.raise_error;
2019: elsif ( p_to_pay_plan in ('AG') and substr(p_agency_subelement,1,2) <> 'FD' )
2020: then

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

2013: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU')) )
2014: then
2015: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2016: hr_utility.set_message_token('PAY_PLAN','AF');
2017: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB or PU ');
2018: hr_utility.raise_error;
2019: elsif ( p_to_pay_plan in ('AG') and substr(p_agency_subelement,1,2) <> 'FD' )
2020: then
2021: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2018: hr_utility.raise_error;

2014: then
2015: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2016: hr_utility.set_message_token('PAY_PLAN','AF');
2017: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB or PU ');
2018: hr_utility.raise_error;
2019: elsif ( p_to_pay_plan in ('AG') and substr(p_agency_subelement,1,2) <> 'FD' )
2020: then
2021: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2022: hr_utility.set_message_token('PAY_PLAN','AG');

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

2017: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,IB or PU ');
2018: hr_utility.raise_error;
2019: elsif ( p_to_pay_plan in ('AG') and substr(p_agency_subelement,1,2) <> 'FD' )
2020: then
2021: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2022: hr_utility.set_message_token('PAY_PLAN','AG');
2023: hr_utility.set_message_token('AGENCY_CODE','FD');
2024: hr_utility.raise_error;
2025: elsif ( p_to_pay_plan in ('CU') and substr(p_agency_subelement,1,2) <> 'CU' )

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

2018: hr_utility.raise_error;
2019: elsif ( p_to_pay_plan in ('AG') and substr(p_agency_subelement,1,2) <> 'FD' )
2020: then
2021: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2022: hr_utility.set_message_token('PAY_PLAN','AG');
2023: hr_utility.set_message_token('AGENCY_CODE','FD');
2024: hr_utility.raise_error;
2025: elsif ( p_to_pay_plan in ('CU') and substr(p_agency_subelement,1,2) <> 'CU' )
2026: then

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

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

Line 2024: hr_utility.raise_error;

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

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

2023: hr_utility.set_message_token('AGENCY_CODE','FD');
2024: hr_utility.raise_error;
2025: elsif ( p_to_pay_plan in ('CU') and substr(p_agency_subelement,1,2) <> 'CU' )
2026: then
2027: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2028: hr_utility.set_message_token('PAY_PLAN','CU');
2029: hr_utility.set_message_token('AGENCY_CODE','CU');
2030: hr_utility.raise_error;
2031: --

Line 2028: hr_utility.set_message_token('PAY_PLAN','CU');

2024: hr_utility.raise_error;
2025: elsif ( p_to_pay_plan in ('CU') and substr(p_agency_subelement,1,2) <> 'CU' )
2026: then
2027: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2028: hr_utility.set_message_token('PAY_PLAN','CU');
2029: hr_utility.set_message_token('AGENCY_CODE','CU');
2030: hr_utility.raise_error;
2031: --
2032: -- Deleting entries for Pay Plans - DL. DATE: 14-SEP-2004 for EOY - I

Line 2029: hr_utility.set_message_token('AGENCY_CODE','CU');

2025: elsif ( p_to_pay_plan in ('CU') and substr(p_agency_subelement,1,2) <> 'CU' )
2026: then
2027: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2028: hr_utility.set_message_token('PAY_PLAN','CU');
2029: hr_utility.set_message_token('AGENCY_CODE','CU');
2030: hr_utility.raise_error;
2031: --
2032: -- Deleting entries for Pay Plans - DL. DATE: 14-SEP-2004 for EOY - I
2033: --

Line 2030: hr_utility.raise_error;

2026: then
2027: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2028: hr_utility.set_message_token('PAY_PLAN','CU');
2029: hr_utility.set_message_token('AGENCY_CODE','CU');
2030: hr_utility.raise_error;
2031: --
2032: -- Deleting entries for Pay Plans - DL. DATE: 14-SEP-2004 for EOY - I
2033: --
2034: /*elsif ( p_to_pay_plan in ('DL') and substr(p_agency_subelement,1,2) <> 'VA' )

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

2032: -- Deleting entries for Pay Plans - DL. DATE: 14-SEP-2004 for EOY - I
2033: --
2034: /*elsif ( p_to_pay_plan in ('DL') and substr(p_agency_subelement,1,2) <> 'VA' )
2035: then
2036: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2037: hr_utility.set_message_token('PAY_PLAN','DL');
2038: hr_utility.set_message_token('AGENCY_CODE','VA');
2039: hr_utility.raise_error; */
2040: elsif ( p_to_pay_plan in ('DN') and substr(p_agency_subelement,1,2) <> 'BF' )

Line 2037: hr_utility.set_message_token('PAY_PLAN','DL');

2033: --
2034: /*elsif ( p_to_pay_plan in ('DL') and substr(p_agency_subelement,1,2) <> 'VA' )
2035: then
2036: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2037: hr_utility.set_message_token('PAY_PLAN','DL');
2038: hr_utility.set_message_token('AGENCY_CODE','VA');
2039: hr_utility.raise_error; */
2040: elsif ( p_to_pay_plan in ('DN') and substr(p_agency_subelement,1,2) <> 'BF' )
2041: then

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

2034: /*elsif ( p_to_pay_plan in ('DL') and substr(p_agency_subelement,1,2) <> 'VA' )
2035: then
2036: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2037: hr_utility.set_message_token('PAY_PLAN','DL');
2038: hr_utility.set_message_token('AGENCY_CODE','VA');
2039: hr_utility.raise_error; */
2040: elsif ( p_to_pay_plan in ('DN') and substr(p_agency_subelement,1,2) <> 'BF' )
2041: then
2042: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2039: hr_utility.raise_error; */

2035: then
2036: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2037: hr_utility.set_message_token('PAY_PLAN','DL');
2038: hr_utility.set_message_token('AGENCY_CODE','VA');
2039: hr_utility.raise_error; */
2040: elsif ( p_to_pay_plan in ('DN') and substr(p_agency_subelement,1,2) <> 'BF' )
2041: then
2042: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2043: hr_utility.set_message_token('PAY_PLAN','DN');

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

2038: hr_utility.set_message_token('AGENCY_CODE','VA');
2039: hr_utility.raise_error; */
2040: elsif ( p_to_pay_plan in ('DN') and substr(p_agency_subelement,1,2) <> 'BF' )
2041: then
2042: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2043: hr_utility.set_message_token('PAY_PLAN','DN');
2044: hr_utility.set_message_token('AGENCY_CODE','BF');
2045: hr_utility.raise_error;
2046: elsif ( p_to_pay_plan in ('EN') and substr(p_agency_subelement,1,2) <> 'DN' )

Line 2043: hr_utility.set_message_token('PAY_PLAN','DN');

2039: hr_utility.raise_error; */
2040: elsif ( p_to_pay_plan in ('DN') and substr(p_agency_subelement,1,2) <> 'BF' )
2041: then
2042: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2043: hr_utility.set_message_token('PAY_PLAN','DN');
2044: hr_utility.set_message_token('AGENCY_CODE','BF');
2045: hr_utility.raise_error;
2046: elsif ( p_to_pay_plan in ('EN') and substr(p_agency_subelement,1,2) <> 'DN' )
2047: then

Line 2044: hr_utility.set_message_token('AGENCY_CODE','BF');

2040: elsif ( p_to_pay_plan in ('DN') and substr(p_agency_subelement,1,2) <> 'BF' )
2041: then
2042: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2043: hr_utility.set_message_token('PAY_PLAN','DN');
2044: hr_utility.set_message_token('AGENCY_CODE','BF');
2045: hr_utility.raise_error;
2046: elsif ( p_to_pay_plan in ('EN') and substr(p_agency_subelement,1,2) <> 'DN' )
2047: then
2048: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2045: hr_utility.raise_error;

2041: then
2042: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2043: hr_utility.set_message_token('PAY_PLAN','DN');
2044: hr_utility.set_message_token('AGENCY_CODE','BF');
2045: hr_utility.raise_error;
2046: elsif ( p_to_pay_plan in ('EN') and substr(p_agency_subelement,1,2) <> 'DN' )
2047: then
2048: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2049: hr_utility.set_message_token('PAY_PLAN','EN');

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

2044: hr_utility.set_message_token('AGENCY_CODE','BF');
2045: hr_utility.raise_error;
2046: elsif ( p_to_pay_plan in ('EN') and substr(p_agency_subelement,1,2) <> 'DN' )
2047: then
2048: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2049: hr_utility.set_message_token('PAY_PLAN','EN');
2050: hr_utility.set_message_token('AGENCY_CODE','DN');
2051: hr_utility.raise_error;
2052: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and

Line 2049: hr_utility.set_message_token('PAY_PLAN','EN');

2045: hr_utility.raise_error;
2046: elsif ( p_to_pay_plan in ('EN') and substr(p_agency_subelement,1,2) <> 'DN' )
2047: then
2048: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2049: hr_utility.set_message_token('PAY_PLAN','EN');
2050: hr_utility.set_message_token('AGENCY_CODE','DN');
2051: hr_utility.raise_error;
2052: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2053: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')

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

2046: elsif ( p_to_pay_plan in ('EN') and substr(p_agency_subelement,1,2) <> 'DN' )
2047: then
2048: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2049: hr_utility.set_message_token('PAY_PLAN','EN');
2050: hr_utility.set_message_token('AGENCY_CODE','DN');
2051: hr_utility.raise_error;
2052: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2053: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2054: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )

Line 2051: hr_utility.raise_error;

2047: then
2048: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2049: hr_utility.set_message_token('PAY_PLAN','EN');
2050: hr_utility.set_message_token('AGENCY_CODE','DN');
2051: hr_utility.raise_error;
2052: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2053: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2054: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2055: then

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

2052: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2053: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2054: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2055: then
2056: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2057: hr_utility.set_message_token('PAY_PLAN','FE');
2058: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2059: hr_utility.raise_error;
2060: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and

Line 2057: hr_utility.set_message_token('PAY_PLAN','FE');

2053: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2054: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2055: then
2056: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2057: hr_utility.set_message_token('PAY_PLAN','FE');
2058: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2059: hr_utility.raise_error;
2060: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2061: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')

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

2054: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2055: then
2056: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2057: hr_utility.set_message_token('PAY_PLAN','FE');
2058: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2059: hr_utility.raise_error;
2060: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2061: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2062: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )

Line 2059: hr_utility.raise_error;

2055: then
2056: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2057: hr_utility.set_message_token('PAY_PLAN','FE');
2058: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2059: hr_utility.raise_error;
2060: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2061: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2062: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2063: then

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

2060: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2061: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2062: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2063: then
2064: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2065: hr_utility.set_message_token('PAY_PLAN','FE');
2066: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2067: hr_utility.raise_error;
2068: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and

Line 2065: hr_utility.set_message_token('PAY_PLAN','FE');

2061: ( p_to_pay_plan in ('FE') and (p_agency_subelement not in ('AG10','CM55','AG34')
2062: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2063: then
2064: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2065: hr_utility.set_message_token('PAY_PLAN','FE');
2066: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2067: hr_utility.raise_error;
2068: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2069: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')

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

2062: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2063: then
2064: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2065: hr_utility.set_message_token('PAY_PLAN','FE');
2066: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2067: hr_utility.raise_error;
2068: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2069: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2070: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST','HS')) )

Line 2067: hr_utility.raise_error;

2063: then
2064: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2065: hr_utility.set_message_token('PAY_PLAN','FE');
2066: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2067: hr_utility.raise_error;
2068: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2069: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2070: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST','HS')) )
2071: then

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

2068: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2069: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2070: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST','HS')) )
2071: then
2072: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2073: hr_utility.set_message_token('PAY_PLAN','FO');
2074: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU,HS or ST');
2075: hr_utility.raise_error;
2076: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and

Line 2073: hr_utility.set_message_token('PAY_PLAN','FO');

2069: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2070: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST','HS')) )
2071: then
2072: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2073: hr_utility.set_message_token('PAY_PLAN','FO');
2074: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU,HS or ST');
2075: hr_utility.raise_error;
2076: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2077: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')

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

2070: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','ST','HS')) )
2071: then
2072: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2073: hr_utility.set_message_token('PAY_PLAN','FO');
2074: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU,HS or ST');
2075: hr_utility.raise_error;
2076: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2077: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2078: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','HS')) )

Line 2075: hr_utility.raise_error;

2071: then
2072: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2073: hr_utility.set_message_token('PAY_PLAN','FO');
2074: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU,HS or ST');
2075: hr_utility.raise_error;
2076: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2077: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2078: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','HS')) )
2079: then

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

2076: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2077: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2078: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','HS')) )
2079: then
2080: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2081: hr_utility.set_message_token('PAY_PLAN','FO');
2082: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU or HS');
2083: hr_utility.raise_error;
2084: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and

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

2077: ( p_to_pay_plan in ('FO') and (p_agency_subelement not in ('AG10','CM55','AG34')
2078: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','HS')) )
2079: then
2080: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2081: hr_utility.set_message_token('PAY_PLAN','FO');
2082: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU or HS');
2083: hr_utility.raise_error;
2084: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2085: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')

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

2078: and substr(p_agency_subelement,1,2) not in ('AM','IB','PU','HS')) )
2079: then
2080: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2081: hr_utility.set_message_token('PAY_PLAN','FO');
2082: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU or HS');
2083: hr_utility.raise_error;
2084: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2085: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2086: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )

Line 2083: hr_utility.raise_error;

2079: then
2080: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2081: hr_utility.set_message_token('PAY_PLAN','FO');
2082: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,IB,PU or HS');
2083: hr_utility.raise_error;
2084: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2085: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2086: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2087: then

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

2084: elsif p_effective_date < fnd_date.canonical_to_date('2006/05/01') and
2085: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2086: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2087: then
2088: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2089: hr_utility.set_message_token('PAY_PLAN','FP');
2090: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2091: hr_utility.raise_error;
2092: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and

Line 2089: hr_utility.set_message_token('PAY_PLAN','FP');

2085: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2086: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2087: then
2088: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2089: hr_utility.set_message_token('PAY_PLAN','FP');
2090: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2091: hr_utility.raise_error;
2092: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2093: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')

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

2086: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU','ST')) )
2087: then
2088: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2089: hr_utility.set_message_token('PAY_PLAN','FP');
2090: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2091: hr_utility.raise_error;
2092: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2093: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2094: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )

Line 2091: hr_utility.raise_error;

2087: then
2088: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2089: hr_utility.set_message_token('PAY_PLAN','FP');
2090: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB,PU or ST');
2091: hr_utility.raise_error;
2092: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2093: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2094: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2095: then

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

2092: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2093: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2094: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2095: then
2096: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2097: hr_utility.set_message_token('PAY_PLAN','FP');
2098: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2099: hr_utility.raise_error;
2100: elsif ( p_to_pay_plan in ('IE') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )

Line 2097: hr_utility.set_message_token('PAY_PLAN','FP');

2093: ( p_to_pay_plan in ('FP') and (p_agency_subelement not in ('AG10','CM55','AG34')
2094: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2095: then
2096: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2097: hr_utility.set_message_token('PAY_PLAN','FP');
2098: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2099: hr_utility.raise_error;
2100: elsif ( p_to_pay_plan in ('IE') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2101: then

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

2094: and substr(p_agency_subelement,1,2) not in ('AM','HS','IB','PU')) )
2095: then
2096: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2097: hr_utility.set_message_token('PAY_PLAN','FP');
2098: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2099: hr_utility.raise_error;
2100: elsif ( p_to_pay_plan in ('IE') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2101: then
2102: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2099: hr_utility.raise_error;

2095: then
2096: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2097: hr_utility.set_message_token('PAY_PLAN','FP');
2098: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2099: hr_utility.raise_error;
2100: elsif ( p_to_pay_plan in ('IE') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2101: then
2102: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2103: hr_utility.set_message_token('PAY_PLAN','IE');

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

2098: hr_utility.set_message_token('AGENCY_CODE','AG10,AM,CM55,AG34,HS,IB or PU');
2099: hr_utility.raise_error;
2100: elsif ( p_to_pay_plan in ('IE') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2101: then
2102: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2103: hr_utility.set_message_token('PAY_PLAN','IE');
2104: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2105: hr_utility.raise_error;
2106: elsif ( p_to_pay_plan in ('IP') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )

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

2099: hr_utility.raise_error;
2100: elsif ( p_to_pay_plan in ('IE') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2101: then
2102: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2103: hr_utility.set_message_token('PAY_PLAN','IE');
2104: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2105: hr_utility.raise_error;
2106: elsif ( p_to_pay_plan in ('IP') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2107: then

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

2100: elsif ( p_to_pay_plan in ('IE') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2101: then
2102: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2103: hr_utility.set_message_token('PAY_PLAN','IE');
2104: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2105: hr_utility.raise_error;
2106: elsif ( p_to_pay_plan in ('IP') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2107: then
2108: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2105: hr_utility.raise_error;

2101: then
2102: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2103: hr_utility.set_message_token('PAY_PLAN','IE');
2104: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2105: hr_utility.raise_error;
2106: elsif ( p_to_pay_plan in ('IP') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2107: then
2108: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2109: hr_utility.set_message_token('PAY_PLAN','IP');

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

2104: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2105: hr_utility.raise_error;
2106: elsif ( p_to_pay_plan in ('IP') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2107: then
2108: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2109: hr_utility.set_message_token('PAY_PLAN','IP');
2110: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2111: hr_utility.raise_error;
2112: elsif ( p_to_pay_plan in ('PG') and substr(p_agency_subelement,1,2) <> 'LP' )

Line 2109: hr_utility.set_message_token('PAY_PLAN','IP');

2105: hr_utility.raise_error;
2106: elsif ( p_to_pay_plan in ('IP') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2107: then
2108: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2109: hr_utility.set_message_token('PAY_PLAN','IP');
2110: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2111: hr_utility.raise_error;
2112: elsif ( p_to_pay_plan in ('PG') and substr(p_agency_subelement,1,2) <> 'LP' )
2113: then

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

2106: elsif ( p_to_pay_plan in ('IP') and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') )
2107: then
2108: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2109: hr_utility.set_message_token('PAY_PLAN','IP');
2110: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2111: hr_utility.raise_error;
2112: elsif ( p_to_pay_plan in ('PG') and substr(p_agency_subelement,1,2) <> 'LP' )
2113: then
2114: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2111: hr_utility.raise_error;

2107: then
2108: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2109: hr_utility.set_message_token('PAY_PLAN','IP');
2110: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2111: hr_utility.raise_error;
2112: elsif ( p_to_pay_plan in ('PG') and substr(p_agency_subelement,1,2) <> 'LP' )
2113: then
2114: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2115: hr_utility.set_message_token('PAY_PLAN','PG');

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

2110: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2111: hr_utility.raise_error;
2112: elsif ( p_to_pay_plan in ('PG') and substr(p_agency_subelement,1,2) <> 'LP' )
2113: then
2114: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2115: hr_utility.set_message_token('PAY_PLAN','PG');
2116: hr_utility.set_message_token('AGENCY_CODE','LP');
2117: hr_utility.raise_error;
2118: elsif ( p_to_pay_plan in ('RS') and substr(p_agency_subelement,1,2) <> 'HE' )

Line 2115: hr_utility.set_message_token('PAY_PLAN','PG');

2111: hr_utility.raise_error;
2112: elsif ( p_to_pay_plan in ('PG') and substr(p_agency_subelement,1,2) <> 'LP' )
2113: then
2114: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2115: hr_utility.set_message_token('PAY_PLAN','PG');
2116: hr_utility.set_message_token('AGENCY_CODE','LP');
2117: hr_utility.raise_error;
2118: elsif ( p_to_pay_plan in ('RS') and substr(p_agency_subelement,1,2) <> 'HE' )
2119: then

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

2112: elsif ( p_to_pay_plan in ('PG') and substr(p_agency_subelement,1,2) <> 'LP' )
2113: then
2114: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2115: hr_utility.set_message_token('PAY_PLAN','PG');
2116: hr_utility.set_message_token('AGENCY_CODE','LP');
2117: hr_utility.raise_error;
2118: elsif ( p_to_pay_plan in ('RS') and substr(p_agency_subelement,1,2) <> 'HE' )
2119: then
2120: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2117: hr_utility.raise_error;

2113: then
2114: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2115: hr_utility.set_message_token('PAY_PLAN','PG');
2116: hr_utility.set_message_token('AGENCY_CODE','LP');
2117: hr_utility.raise_error;
2118: elsif ( p_to_pay_plan in ('RS') and substr(p_agency_subelement,1,2) <> 'HE' )
2119: then
2120: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2121: hr_utility.set_message_token('PAY_PLAN','RS');

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

2116: hr_utility.set_message_token('AGENCY_CODE','LP');
2117: hr_utility.raise_error;
2118: elsif ( p_to_pay_plan in ('RS') and substr(p_agency_subelement,1,2) <> 'HE' )
2119: then
2120: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2121: hr_utility.set_message_token('PAY_PLAN','RS');
2122: hr_utility.set_message_token('AGENCY_CODE','HE');
2123: hr_utility.raise_error;
2124: elsif ( p_to_pay_plan in ('SS') and substr(p_agency_subelement,1,2) <> 'CU' )

Line 2121: hr_utility.set_message_token('PAY_PLAN','RS');

2117: hr_utility.raise_error;
2118: elsif ( p_to_pay_plan in ('RS') and substr(p_agency_subelement,1,2) <> 'HE' )
2119: then
2120: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2121: hr_utility.set_message_token('PAY_PLAN','RS');
2122: hr_utility.set_message_token('AGENCY_CODE','HE');
2123: hr_utility.raise_error;
2124: elsif ( p_to_pay_plan in ('SS') and substr(p_agency_subelement,1,2) <> 'CU' )
2125: then

Line 2122: hr_utility.set_message_token('AGENCY_CODE','HE');

2118: elsif ( p_to_pay_plan in ('RS') and substr(p_agency_subelement,1,2) <> 'HE' )
2119: then
2120: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2121: hr_utility.set_message_token('PAY_PLAN','RS');
2122: hr_utility.set_message_token('AGENCY_CODE','HE');
2123: hr_utility.raise_error;
2124: elsif ( p_to_pay_plan in ('SS') and substr(p_agency_subelement,1,2) <> 'CU' )
2125: then
2126: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2123: hr_utility.raise_error;

2119: then
2120: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2121: hr_utility.set_message_token('PAY_PLAN','RS');
2122: hr_utility.set_message_token('AGENCY_CODE','HE');
2123: hr_utility.raise_error;
2124: elsif ( p_to_pay_plan in ('SS') and substr(p_agency_subelement,1,2) <> 'CU' )
2125: then
2126: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2127: hr_utility.set_message_token('PAY_PLAN','SS');

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

2122: hr_utility.set_message_token('AGENCY_CODE','HE');
2123: hr_utility.raise_error;
2124: elsif ( p_to_pay_plan in ('SS') and substr(p_agency_subelement,1,2) <> 'CU' )
2125: then
2126: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2127: hr_utility.set_message_token('PAY_PLAN','SS');
2128: hr_utility.set_message_token('AGENCY_CODE','CU');
2129: hr_utility.raise_error;
2130: elsif ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) <> 'FY' )

Line 2127: hr_utility.set_message_token('PAY_PLAN','SS');

2123: hr_utility.raise_error;
2124: elsif ( p_to_pay_plan in ('SS') and substr(p_agency_subelement,1,2) <> 'CU' )
2125: then
2126: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2127: hr_utility.set_message_token('PAY_PLAN','SS');
2128: hr_utility.set_message_token('AGENCY_CODE','CU');
2129: hr_utility.raise_error;
2130: elsif ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) <> 'FY' )
2131: then

Line 2128: hr_utility.set_message_token('AGENCY_CODE','CU');

2124: elsif ( p_to_pay_plan in ('SS') and substr(p_agency_subelement,1,2) <> 'CU' )
2125: then
2126: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2127: hr_utility.set_message_token('PAY_PLAN','SS');
2128: hr_utility.set_message_token('AGENCY_CODE','CU');
2129: hr_utility.raise_error;
2130: elsif ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) <> 'FY' )
2131: then
2132: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2129: hr_utility.raise_error;

2125: then
2126: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2127: hr_utility.set_message_token('PAY_PLAN','SS');
2128: hr_utility.set_message_token('AGENCY_CODE','CU');
2129: hr_utility.raise_error;
2130: elsif ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) <> 'FY' )
2131: then
2132: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2133: hr_utility.set_message_token('PAY_PLAN','TM');

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

2128: hr_utility.set_message_token('AGENCY_CODE','CU');
2129: hr_utility.raise_error;
2130: elsif ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) <> 'FY' )
2131: then
2132: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2133: hr_utility.set_message_token('PAY_PLAN','TM');
2134: hr_utility.set_message_token('AGENCY_CODE','FY');
2135: hr_utility.raise_error;
2136: elsif ( p_to_pay_plan in ('VG') and substr(p_agency_subelement,1,2) not in ('FK','FL') )

Line 2133: hr_utility.set_message_token('PAY_PLAN','TM');

2129: hr_utility.raise_error;
2130: elsif ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) <> 'FY' )
2131: then
2132: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2133: hr_utility.set_message_token('PAY_PLAN','TM');
2134: hr_utility.set_message_token('AGENCY_CODE','FY');
2135: hr_utility.raise_error;
2136: elsif ( p_to_pay_plan in ('VG') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2137: then

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

2130: elsif ( p_to_pay_plan in ('TM') and substr(p_agency_subelement,1,2) <> 'FY' )
2131: then
2132: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2133: hr_utility.set_message_token('PAY_PLAN','TM');
2134: hr_utility.set_message_token('AGENCY_CODE','FY');
2135: hr_utility.raise_error;
2136: elsif ( p_to_pay_plan in ('VG') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2137: then
2138: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2135: hr_utility.raise_error;

2131: then
2132: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2133: hr_utility.set_message_token('PAY_PLAN','TM');
2134: hr_utility.set_message_token('AGENCY_CODE','FY');
2135: hr_utility.raise_error;
2136: elsif ( p_to_pay_plan in ('VG') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2137: then
2138: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2139: hr_utility.set_message_token('PAY_PLAN','VG');

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

2134: hr_utility.set_message_token('AGENCY_CODE','FY');
2135: hr_utility.raise_error;
2136: elsif ( p_to_pay_plan in ('VG') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2137: then
2138: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2139: hr_utility.set_message_token('PAY_PLAN','VG');
2140: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2141: hr_utility.raise_error;
2142: elsif ( p_to_pay_plan in ('VH') and substr(p_agency_subelement,1,2) not in ('FK','FL') )

Line 2139: hr_utility.set_message_token('PAY_PLAN','VG');

2135: hr_utility.raise_error;
2136: elsif ( p_to_pay_plan in ('VG') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2137: then
2138: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2139: hr_utility.set_message_token('PAY_PLAN','VG');
2140: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2141: hr_utility.raise_error;
2142: elsif ( p_to_pay_plan in ('VH') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2143: then

Line 2140: hr_utility.set_message_token('AGENCY_CODE','FK or FL');

2136: elsif ( p_to_pay_plan in ('VG') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2137: then
2138: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2139: hr_utility.set_message_token('PAY_PLAN','VG');
2140: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2141: hr_utility.raise_error;
2142: elsif ( p_to_pay_plan in ('VH') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2143: then
2144: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2141: hr_utility.raise_error;

2137: then
2138: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2139: hr_utility.set_message_token('PAY_PLAN','VG');
2140: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2141: hr_utility.raise_error;
2142: elsif ( p_to_pay_plan in ('VH') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2143: then
2144: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2145: hr_utility.set_message_token('PAY_PLAN','VH');

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

2140: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2141: hr_utility.raise_error;
2142: elsif ( p_to_pay_plan in ('VH') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2143: then
2144: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2145: hr_utility.set_message_token('PAY_PLAN','VH');
2146: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2147: hr_utility.raise_error;
2148: elsif ( p_to_pay_plan in ('XF') and substr(p_agency_subelement,1,2) <> 'AR' )

Line 2145: hr_utility.set_message_token('PAY_PLAN','VH');

2141: hr_utility.raise_error;
2142: elsif ( p_to_pay_plan in ('VH') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2143: then
2144: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2145: hr_utility.set_message_token('PAY_PLAN','VH');
2146: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2147: hr_utility.raise_error;
2148: elsif ( p_to_pay_plan in ('XF') and substr(p_agency_subelement,1,2) <> 'AR' )
2149: then

Line 2146: hr_utility.set_message_token('AGENCY_CODE','FK or FL');

2142: elsif ( p_to_pay_plan in ('VH') and substr(p_agency_subelement,1,2) not in ('FK','FL') )
2143: then
2144: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2145: hr_utility.set_message_token('PAY_PLAN','VH');
2146: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2147: hr_utility.raise_error;
2148: elsif ( p_to_pay_plan in ('XF') and substr(p_agency_subelement,1,2) <> 'AR' )
2149: then
2150: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2147: hr_utility.raise_error;

2143: then
2144: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2145: hr_utility.set_message_token('PAY_PLAN','VH');
2146: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2147: hr_utility.raise_error;
2148: elsif ( p_to_pay_plan in ('XF') and substr(p_agency_subelement,1,2) <> 'AR' )
2149: then
2150: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2151: hr_utility.set_message_token('PAY_PLAN','XF');

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

2146: hr_utility.set_message_token('AGENCY_CODE','FK or FL');
2147: hr_utility.raise_error;
2148: elsif ( p_to_pay_plan in ('XF') and substr(p_agency_subelement,1,2) <> 'AR' )
2149: then
2150: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2151: hr_utility.set_message_token('PAY_PLAN','XF');
2152: hr_utility.set_message_token('AGENCY_CODE','AR');
2153: hr_utility.raise_error;
2154: elsif ( p_to_pay_plan in ('XG') and substr(p_agency_subelement,1,2) <> 'AR' )

Line 2151: hr_utility.set_message_token('PAY_PLAN','XF');

2147: hr_utility.raise_error;
2148: elsif ( p_to_pay_plan in ('XF') and substr(p_agency_subelement,1,2) <> 'AR' )
2149: then
2150: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2151: hr_utility.set_message_token('PAY_PLAN','XF');
2152: hr_utility.set_message_token('AGENCY_CODE','AR');
2153: hr_utility.raise_error;
2154: elsif ( p_to_pay_plan in ('XG') and substr(p_agency_subelement,1,2) <> 'AR' )
2155: then

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

2148: elsif ( p_to_pay_plan in ('XF') and substr(p_agency_subelement,1,2) <> 'AR' )
2149: then
2150: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2151: hr_utility.set_message_token('PAY_PLAN','XF');
2152: hr_utility.set_message_token('AGENCY_CODE','AR');
2153: hr_utility.raise_error;
2154: elsif ( p_to_pay_plan in ('XG') and substr(p_agency_subelement,1,2) <> 'AR' )
2155: then
2156: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2153: hr_utility.raise_error;

2149: then
2150: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2151: hr_utility.set_message_token('PAY_PLAN','XF');
2152: hr_utility.set_message_token('AGENCY_CODE','AR');
2153: hr_utility.raise_error;
2154: elsif ( p_to_pay_plan in ('XG') and substr(p_agency_subelement,1,2) <> 'AR' )
2155: then
2156: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2157: hr_utility.set_message_token('PAY_PLAN','XG');

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

2152: hr_utility.set_message_token('AGENCY_CODE','AR');
2153: hr_utility.raise_error;
2154: elsif ( p_to_pay_plan in ('XG') and substr(p_agency_subelement,1,2) <> 'AR' )
2155: then
2156: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2157: hr_utility.set_message_token('PAY_PLAN','XG');
2158: hr_utility.set_message_token('AGENCY_CODE','AR');
2159: hr_utility.raise_error;
2160: elsif ( p_to_pay_plan in ('XH') and substr(p_agency_subelement,1,2) <> 'AR' )

Line 2157: hr_utility.set_message_token('PAY_PLAN','XG');

2153: hr_utility.raise_error;
2154: elsif ( p_to_pay_plan in ('XG') and substr(p_agency_subelement,1,2) <> 'AR' )
2155: then
2156: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2157: hr_utility.set_message_token('PAY_PLAN','XG');
2158: hr_utility.set_message_token('AGENCY_CODE','AR');
2159: hr_utility.raise_error;
2160: elsif ( p_to_pay_plan in ('XH') and substr(p_agency_subelement,1,2) <> 'AR' )
2161: then

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

2154: elsif ( p_to_pay_plan in ('XG') and substr(p_agency_subelement,1,2) <> 'AR' )
2155: then
2156: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2157: hr_utility.set_message_token('PAY_PLAN','XG');
2158: hr_utility.set_message_token('AGENCY_CODE','AR');
2159: hr_utility.raise_error;
2160: elsif ( p_to_pay_plan in ('XH') and substr(p_agency_subelement,1,2) <> 'AR' )
2161: then
2162: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2159: hr_utility.raise_error;

2155: then
2156: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2157: hr_utility.set_message_token('PAY_PLAN','XG');
2158: hr_utility.set_message_token('AGENCY_CODE','AR');
2159: hr_utility.raise_error;
2160: elsif ( p_to_pay_plan in ('XH') and substr(p_agency_subelement,1,2) <> 'AR' )
2161: then
2162: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2163: hr_utility.set_message_token('PAY_PLAN','XH');

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

2158: hr_utility.set_message_token('AGENCY_CODE','AR');
2159: hr_utility.raise_error;
2160: elsif ( p_to_pay_plan in ('XH') and substr(p_agency_subelement,1,2) <> 'AR' )
2161: then
2162: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2163: hr_utility.set_message_token('PAY_PLAN','XH');
2164: hr_utility.set_message_token('AGENCY_CODE','AR');
2165: hr_utility.raise_error;
2166: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then

Line 2163: hr_utility.set_message_token('PAY_PLAN','XH');

2159: hr_utility.raise_error;
2160: elsif ( p_to_pay_plan in ('XH') and substr(p_agency_subelement,1,2) <> 'AR' )
2161: then
2162: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2163: hr_utility.set_message_token('PAY_PLAN','XH');
2164: hr_utility.set_message_token('AGENCY_CODE','AR');
2165: hr_utility.raise_error;
2166: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then
2167: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

2160: elsif ( p_to_pay_plan in ('XH') and substr(p_agency_subelement,1,2) <> 'AR' )
2161: then
2162: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2163: hr_utility.set_message_token('PAY_PLAN','XH');
2164: hr_utility.set_message_token('AGENCY_CODE','AR');
2165: hr_utility.raise_error;
2166: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then
2167: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2168: hr_utility.set_message_token('PAY_PLAN','CT');

Line 2165: hr_utility.raise_error;

2161: then
2162: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2163: hr_utility.set_message_token('PAY_PLAN','XH');
2164: hr_utility.set_message_token('AGENCY_CODE','AR');
2165: hr_utility.raise_error;
2166: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then
2167: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2168: hr_utility.set_message_token('PAY_PLAN','CT');
2169: hr_utility.set_message_token('AGENCY_CODE','CT');

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

2163: hr_utility.set_message_token('PAY_PLAN','XH');
2164: hr_utility.set_message_token('AGENCY_CODE','AR');
2165: hr_utility.raise_error;
2166: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then
2167: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2168: hr_utility.set_message_token('PAY_PLAN','CT');
2169: hr_utility.set_message_token('AGENCY_CODE','CT');
2170: hr_utility.raise_error;
2171: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then

Line 2168: hr_utility.set_message_token('PAY_PLAN','CT');

2164: hr_utility.set_message_token('AGENCY_CODE','AR');
2165: hr_utility.raise_error;
2166: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then
2167: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2168: hr_utility.set_message_token('PAY_PLAN','CT');
2169: hr_utility.set_message_token('AGENCY_CODE','CT');
2170: hr_utility.raise_error;
2171: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2172: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2169: hr_utility.set_message_token('AGENCY_CODE','CT');

2165: hr_utility.raise_error;
2166: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then
2167: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2168: hr_utility.set_message_token('PAY_PLAN','CT');
2169: hr_utility.set_message_token('AGENCY_CODE','CT');
2170: hr_utility.raise_error;
2171: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2172: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2173: hr_utility.set_message_token('PAY_PLAN','RA');

Line 2170: hr_utility.raise_error;

2166: elsif ( p_to_pay_plan = 'CT' and substr(p_agency_subelement,1,2) <> 'CT') then
2167: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2168: hr_utility.set_message_token('PAY_PLAN','CT');
2169: hr_utility.set_message_token('AGENCY_CODE','CT');
2170: hr_utility.raise_error;
2171: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2172: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2173: hr_utility.set_message_token('PAY_PLAN','RA');
2174: hr_utility.set_message_token('AGENCY_CODE','AG');

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

2168: hr_utility.set_message_token('PAY_PLAN','CT');
2169: hr_utility.set_message_token('AGENCY_CODE','CT');
2170: hr_utility.raise_error;
2171: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2172: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2173: hr_utility.set_message_token('PAY_PLAN','RA');
2174: hr_utility.set_message_token('AGENCY_CODE','AG');
2175: hr_utility.raise_error;
2176: 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 2173: hr_utility.set_message_token('PAY_PLAN','RA');

2169: hr_utility.set_message_token('AGENCY_CODE','CT');
2170: hr_utility.raise_error;
2171: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2172: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2173: hr_utility.set_message_token('PAY_PLAN','RA');
2174: hr_utility.set_message_token('AGENCY_CODE','AG');
2175: hr_utility.raise_error;
2176: elsif ( p_to_pay_plan in ('KB','KE','KI','KJ','KM','KN','KO','KP','KT','KU','KV','KW','KX','KY','PJ','PQ','PU','PZ')
2177: and substr(p_agency_subelement,1,2) <> 'LP' ) then

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

2170: hr_utility.raise_error;
2171: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2172: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2173: hr_utility.set_message_token('PAY_PLAN','RA');
2174: hr_utility.set_message_token('AGENCY_CODE','AG');
2175: hr_utility.raise_error;
2176: elsif ( p_to_pay_plan in ('KB','KE','KI','KJ','KM','KN','KO','KP','KT','KU','KV','KW','KX','KY','PJ','PQ','PU','PZ')
2177: and substr(p_agency_subelement,1,2) <> 'LP' ) then
2178: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2175: hr_utility.raise_error;

2171: elsif ( p_to_pay_plan = 'RA' and substr(p_agency_subelement,1,2) <> 'AG' ) then
2172: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2173: hr_utility.set_message_token('PAY_PLAN','RA');
2174: hr_utility.set_message_token('AGENCY_CODE','AG');
2175: hr_utility.raise_error;
2176: elsif ( p_to_pay_plan in ('KB','KE','KI','KJ','KM','KN','KO','KP','KT','KU','KV','KW','KX','KY','PJ','PQ','PU','PZ')
2177: and substr(p_agency_subelement,1,2) <> 'LP' ) then
2178: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2179: 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 2178: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2174: hr_utility.set_message_token('AGENCY_CODE','AG');
2175: hr_utility.raise_error;
2176: elsif ( p_to_pay_plan in ('KB','KE','KI','KJ','KM','KN','KO','KP','KT','KU','KV','KW','KX','KY','PJ','PQ','PU','PZ')
2177: and substr(p_agency_subelement,1,2) <> 'LP' ) then
2178: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2179: 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');
2180: hr_utility.set_message_token('AGENCY_CODE','LP');
2181: hr_utility.raise_error;
2182: 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 2179: 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');

2175: hr_utility.raise_error;
2176: elsif ( p_to_pay_plan in ('KB','KE','KI','KJ','KM','KN','KO','KP','KT','KU','KV','KW','KX','KY','PJ','PQ','PU','PZ')
2177: and substr(p_agency_subelement,1,2) <> 'LP' ) then
2178: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2179: 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');
2180: hr_utility.set_message_token('AGENCY_CODE','LP');
2181: hr_utility.raise_error;
2182: 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')
2183: and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') ) then

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

2176: elsif ( p_to_pay_plan in ('KB','KE','KI','KJ','KM','KN','KO','KP','KT','KU','KV','KW','KX','KY','PJ','PQ','PU','PZ')
2177: and substr(p_agency_subelement,1,2) <> 'LP' ) then
2178: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2179: 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');
2180: hr_utility.set_message_token('AGENCY_CODE','LP');
2181: hr_utility.raise_error;
2182: 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')
2183: and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') ) then
2184: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2181: hr_utility.raise_error;

2177: and substr(p_agency_subelement,1,2) <> 'LP' ) then
2178: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2179: 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');
2180: hr_utility.set_message_token('AGENCY_CODE','LP');
2181: hr_utility.raise_error;
2182: 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')
2183: and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') ) then
2184: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2185: 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 2184: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2180: hr_utility.set_message_token('AGENCY_CODE','LP');
2181: hr_utility.raise_error;
2182: 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')
2183: and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') ) then
2184: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2185: 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 ');
2186: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2187: hr_utility.raise_error;
2188: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then

Line 2185: 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 ');

2181: hr_utility.raise_error;
2182: 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')
2183: and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') ) then
2184: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2185: 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 ');
2186: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2187: hr_utility.raise_error;
2188: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then
2189: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

2182: 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')
2183: and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') ) then
2184: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2185: 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 ');
2186: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2187: hr_utility.raise_error;
2188: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then
2189: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2190: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');

Line 2187: hr_utility.raise_error;

2183: and substr(p_agency_subelement,1,2) not in ('AF','AR','DD','NV') ) then
2184: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2185: 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 ');
2186: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2187: hr_utility.raise_error;
2188: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then
2189: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2190: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');
2191: hr_utility.set_message_token('AGENCY_CODE','TRAI');

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

2185: 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 ');
2186: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2187: hr_utility.raise_error;
2188: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then
2189: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2190: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');
2191: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2192: hr_utility.raise_error;
2193: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then

Line 2190: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');

2186: hr_utility.set_message_token('AGENCY_CODE','AF,AR,DD or NV');
2187: hr_utility.raise_error;
2188: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then
2189: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2190: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');
2191: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2192: hr_utility.raise_error;
2193: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then
2194: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

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

2187: hr_utility.raise_error;
2188: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then
2189: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2190: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');
2191: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2192: hr_utility.raise_error;
2193: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then
2194: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2195: hr_utility.set_message_token('PAY_PLAN','NZ');

Line 2192: hr_utility.raise_error;

2188: elsif ( p_to_pay_plan in ('XI','XJ','XK') and p_agency_subelement <> 'TRAI' ) then
2189: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2190: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');
2191: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2192: hr_utility.raise_error;
2193: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then
2194: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2195: hr_utility.set_message_token('PAY_PLAN','NZ');
2196: hr_utility.set_message_token('AGENCY_CODE','SM03');

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

2190: hr_utility.set_message_token('PAY_PLAN','XI, XJ or XK ');
2191: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2192: hr_utility.raise_error;
2193: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then
2194: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2195: hr_utility.set_message_token('PAY_PLAN','NZ');
2196: hr_utility.set_message_token('AGENCY_CODE','SM03');
2197: hr_utility.raise_error;
2198: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN

Line 2195: hr_utility.set_message_token('PAY_PLAN','NZ');

2191: hr_utility.set_message_token('AGENCY_CODE','TRAI');
2192: hr_utility.raise_error;
2193: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then
2194: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2195: hr_utility.set_message_token('PAY_PLAN','NZ');
2196: hr_utility.set_message_token('AGENCY_CODE','SM03');
2197: hr_utility.raise_error;
2198: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN
2199: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2196: hr_utility.set_message_token('AGENCY_CODE','SM03');

2192: hr_utility.raise_error;
2193: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then
2194: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2195: hr_utility.set_message_token('PAY_PLAN','NZ');
2196: hr_utility.set_message_token('AGENCY_CODE','SM03');
2197: hr_utility.raise_error;
2198: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN
2199: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2200: hr_utility.set_message_token('PAY_PLAN','GE or GI');

Line 2197: hr_utility.raise_error;

2193: elsif ( p_to_pay_plan in ('NZ') and p_agency_subelement <> 'SM03' ) then
2194: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2195: hr_utility.set_message_token('PAY_PLAN','NZ');
2196: hr_utility.set_message_token('AGENCY_CODE','SM03');
2197: hr_utility.raise_error;
2198: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN
2199: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2200: hr_utility.set_message_token('PAY_PLAN','GE or GI');
2201: hr_utility.set_message_token('AGENCY_CODE','LP');

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

2195: hr_utility.set_message_token('PAY_PLAN','NZ');
2196: hr_utility.set_message_token('AGENCY_CODE','SM03');
2197: hr_utility.raise_error;
2198: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN
2199: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2200: hr_utility.set_message_token('PAY_PLAN','GE or GI');
2201: hr_utility.set_message_token('AGENCY_CODE','LP');
2202: hr_utility.raise_error;
2203: elsif p_effective_date < to_date('2007/05/01','RRRR/MM/DD') AND -- Bug# 6469079

Line 2200: hr_utility.set_message_token('PAY_PLAN','GE or GI');

2196: hr_utility.set_message_token('AGENCY_CODE','SM03');
2197: hr_utility.raise_error;
2198: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN
2199: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2200: hr_utility.set_message_token('PAY_PLAN','GE or GI');
2201: hr_utility.set_message_token('AGENCY_CODE','LP');
2202: hr_utility.raise_error;
2203: elsif p_effective_date < to_date('2007/05/01','RRRR/MM/DD') AND -- Bug# 6469079
2204: ( p_to_pay_plan = 'OF' and p_agency_subelement <> 'HUFH') THEN

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

2197: hr_utility.raise_error;
2198: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN
2199: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2200: hr_utility.set_message_token('PAY_PLAN','GE or GI');
2201: hr_utility.set_message_token('AGENCY_CODE','LP');
2202: hr_utility.raise_error;
2203: elsif p_effective_date < to_date('2007/05/01','RRRR/MM/DD') AND -- Bug# 6469079
2204: ( p_to_pay_plan = 'OF' and p_agency_subelement <> 'HUFH') THEN
2205: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2202: hr_utility.raise_error;

2198: elsif ( p_to_pay_plan in ('GE','GI') and substr(p_agency_subelement,1,2) <> 'LP') THEN
2199: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2200: hr_utility.set_message_token('PAY_PLAN','GE or GI');
2201: hr_utility.set_message_token('AGENCY_CODE','LP');
2202: hr_utility.raise_error;
2203: elsif p_effective_date < to_date('2007/05/01','RRRR/MM/DD') AND -- Bug# 6469079
2204: ( p_to_pay_plan = 'OF' and p_agency_subelement <> 'HUFH') THEN
2205: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2206: hr_utility.set_message_token('PAY_PLAN','OF');

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

2201: hr_utility.set_message_token('AGENCY_CODE','LP');
2202: hr_utility.raise_error;
2203: elsif p_effective_date < to_date('2007/05/01','RRRR/MM/DD') AND -- Bug# 6469079
2204: ( p_to_pay_plan = 'OF' and p_agency_subelement <> 'HUFH') THEN
2205: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2206: hr_utility.set_message_token('PAY_PLAN','OF');
2207: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2208: hr_utility.raise_error;
2209: --Begin Bug#6469079

Line 2206: hr_utility.set_message_token('PAY_PLAN','OF');

2202: hr_utility.raise_error;
2203: elsif p_effective_date < to_date('2007/05/01','RRRR/MM/DD') AND -- Bug# 6469079
2204: ( p_to_pay_plan = 'OF' and p_agency_subelement <> 'HUFH') THEN
2205: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2206: hr_utility.set_message_token('PAY_PLAN','OF');
2207: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2208: hr_utility.raise_error;
2209: --Begin Bug#6469079
2210: elsif ( p_to_pay_plan in('OE','OF') and p_agency_subelement <> 'HUFH') THEN

Line 2207: hr_utility.set_message_token('AGENCY_CODE','HUFH');

2203: elsif p_effective_date < to_date('2007/05/01','RRRR/MM/DD') AND -- Bug# 6469079
2204: ( p_to_pay_plan = 'OF' and p_agency_subelement <> 'HUFH') THEN
2205: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2206: hr_utility.set_message_token('PAY_PLAN','OF');
2207: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2208: hr_utility.raise_error;
2209: --Begin Bug#6469079
2210: elsif ( p_to_pay_plan in('OE','OF') and p_agency_subelement <> 'HUFH') THEN
2211: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

Line 2208: hr_utility.raise_error;

2204: ( p_to_pay_plan = 'OF' and p_agency_subelement <> 'HUFH') THEN
2205: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2206: hr_utility.set_message_token('PAY_PLAN','OF');
2207: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2208: hr_utility.raise_error;
2209: --Begin Bug#6469079
2210: elsif ( p_to_pay_plan in('OE','OF') and p_agency_subelement <> 'HUFH') THEN
2211: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2212: hr_utility.set_message_token('PAY_PLAN','OE or OF');

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

2207: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2208: hr_utility.raise_error;
2209: --Begin Bug#6469079
2210: elsif ( p_to_pay_plan in('OE','OF') and p_agency_subelement <> 'HUFH') THEN
2211: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2212: hr_utility.set_message_token('PAY_PLAN','OE or OF');
2213: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2214: hr_utility.raise_error;
2215: --End Bug#6469079

Line 2212: hr_utility.set_message_token('PAY_PLAN','OE or OF');

2208: hr_utility.raise_error;
2209: --Begin Bug#6469079
2210: elsif ( p_to_pay_plan in('OE','OF') and p_agency_subelement <> 'HUFH') THEN
2211: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2212: hr_utility.set_message_token('PAY_PLAN','OE or OF');
2213: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2214: hr_utility.raise_error;
2215: --End Bug#6469079
2216: --Begin Bug# 5073313

Line 2213: hr_utility.set_message_token('AGENCY_CODE','HUFH');

2209: --Begin Bug#6469079
2210: elsif ( p_to_pay_plan in('OE','OF') and p_agency_subelement <> 'HUFH') THEN
2211: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2212: hr_utility.set_message_token('PAY_PLAN','OE or OF');
2213: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2214: hr_utility.raise_error;
2215: --End Bug#6469079
2216: --Begin Bug# 5073313
2217: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and

Line 2214: hr_utility.raise_error;

2210: elsif ( p_to_pay_plan in('OE','OF') and p_agency_subelement <> 'HUFH') THEN
2211: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2212: hr_utility.set_message_token('PAY_PLAN','OE or OF');
2213: hr_utility.set_message_token('AGENCY_CODE','HUFH');
2214: hr_utility.raise_error;
2215: --End Bug#6469079
2216: --Begin Bug# 5073313
2217: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2218: ( p_to_pay_plan in ('HE','HH','HL','HS','HT','HW') and substr(p_agency_subelement,1,2) <> 'HS' )

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

2216: --Begin Bug# 5073313
2217: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2218: ( p_to_pay_plan in ('HE','HH','HL','HS','HT','HW') and substr(p_agency_subelement,1,2) <> 'HS' )
2219: then
2220: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2221: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2222: hr_utility.set_message_token('AGENCY_CODE','HS');
2223: hr_utility.raise_error;
2224: --End bug# 5073313

Line 2221: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);

2217: elsif p_effective_date >= fnd_date.canonical_to_date('2006/05/01') and
2218: ( p_to_pay_plan in ('HE','HH','HL','HS','HT','HW') and substr(p_agency_subelement,1,2) <> 'HS' )
2219: then
2220: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2221: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2222: hr_utility.set_message_token('AGENCY_CODE','HS');
2223: hr_utility.raise_error;
2224: --End bug# 5073313
2225: --Begin Bug# 5745356

Line 2222: hr_utility.set_message_token('AGENCY_CODE','HS');

2218: ( p_to_pay_plan in ('HE','HH','HL','HS','HT','HW') and substr(p_agency_subelement,1,2) <> 'HS' )
2219: then
2220: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2221: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2222: hr_utility.set_message_token('AGENCY_CODE','HS');
2223: hr_utility.raise_error;
2224: --End bug# 5073313
2225: --Begin Bug# 5745356
2226: elsif p_effective_date >= fnd_date.canonical_to_date('2006/10/01') and

Line 2223: hr_utility.raise_error;

2219: then
2220: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2221: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2222: hr_utility.set_message_token('AGENCY_CODE','HS');
2223: hr_utility.raise_error;
2224: --End bug# 5073313
2225: --Begin Bug# 5745356
2226: elsif p_effective_date >= fnd_date.canonical_to_date('2006/10/01') and
2227: ( 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 2229: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');

2225: --Begin Bug# 5745356
2226: elsif p_effective_date >= fnd_date.canonical_to_date('2006/10/01') and
2227: ( 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' )
2228: then
2229: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2230: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2231: hr_utility.set_message_token('AGENCY_CODE','HS');
2232: hr_utility.raise_error;
2233: --End bug# 5745356

Line 2230: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);

2226: elsif p_effective_date >= fnd_date.canonical_to_date('2006/10/01') and
2227: ( 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' )
2228: then
2229: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2230: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2231: hr_utility.set_message_token('AGENCY_CODE','HS');
2232: hr_utility.raise_error;
2233: --End bug# 5745356
2234: else

Line 2231: hr_utility.set_message_token('AGENCY_CODE','HS');

2227: ( 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' )
2228: then
2229: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2230: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2231: hr_utility.set_message_token('AGENCY_CODE','HS');
2232: hr_utility.raise_error;
2233: --End bug# 5745356
2234: else
2235: hr_utility.set_location('No error',14);

Line 2232: hr_utility.raise_error;

2228: then
2229: hr_utility.set_message(8301,'GHR_37879_ALL_PROCEDURE_FAIL');
2230: hr_utility.set_message_token('PAY_PLAN',p_to_pay_plan);
2231: hr_utility.set_message_token('AGENCY_CODE','HS');
2232: hr_utility.raise_error;
2233: --End bug# 5745356
2234: else
2235: hr_utility.set_location('No error',14);
2236: end if;

Line 2235: hr_utility.set_location('No error',14);

2231: hr_utility.set_message_token('AGENCY_CODE','HS');
2232: hr_utility.raise_error;
2233: --End bug# 5745356
2234: else
2235: hr_utility.set_location('No error',14);
2236: end if;
2237:
2238: -- 440.04.3
2239: -- added the following personal office identifiers on 9-oct-98

Line 2254: hr_utility.set_message(8301, 'GHR_37247_ALL_PROCEDURE_FAIL');

2250: p_pers_office_identifier not in ('2256','2267','2336','2415','2431',
2251: '2562','2614','2896','3231','3322','4219','4221','4252')
2252: )
2253: then
2254: hr_utility.set_message(8301, 'GHR_37247_ALL_PROCEDURE_FAIL');
2255: hr_utility.raise_error;
2256: end if;
2257: end if;
2258: -- 420.05.3

Line 2255: hr_utility.raise_error;

2251: '2562','2614','2896','3231','3322','4219','4221','4252')
2252: )
2253: then
2254: hr_utility.set_message(8301, 'GHR_37247_ALL_PROCEDURE_FAIL');
2255: hr_utility.raise_error;
2256: end if;
2257: end if;
2258: -- 420.05.3
2259: -- 11/5 12/14/99 vravikan 01-Aug-1999 Delete the Pay Plan DG

Line 2280: hr_utility.set_message(8301, 'GHR_37410_ALL_PROCEDURE_FAIL');

2276: and
2277: p_to_grade_or_level not in ('01','02','03','04','05')
2278: )
2279: then
2280: hr_utility.set_message(8301, 'GHR_37410_ALL_PROCEDURE_FAIL');
2281: hr_utility.raise_error;
2282: end if;
2283: else
2284: if (

Line 2281: hr_utility.raise_error;

2277: p_to_grade_or_level not in ('01','02','03','04','05')
2278: )
2279: then
2280: hr_utility.set_message(8301, 'GHR_37410_ALL_PROCEDURE_FAIL');
2281: hr_utility.raise_error;
2282: end if;
2283: else
2284: if (
2285: p_to_pay_plan in ('DA','DS','DT')

Line 2318: hr_utility.set_message(8301, 'GHR_37248_ALL_PROCEDURE_FAIL');

2314: and
2315: p_to_grade_or_level not in ('01','02','03','04','05')
2316: )
2317: then
2318: hr_utility.set_message(8301, 'GHR_37248_ALL_PROCEDURE_FAIL');
2319: hr_utility.raise_error;
2320: end if;
2321: end if;
2322: -- 440.10.2

Line 2319: hr_utility.raise_error;

2315: p_to_grade_or_level not in ('01','02','03','04','05')
2316: )
2317: then
2318: hr_utility.set_message(8301, 'GHR_37248_ALL_PROCEDURE_FAIL');
2319: hr_utility.raise_error;
2320: end if;
2321: end if;
2322: -- 440.10.2
2323: If (

Line 2333: hr_utility.set_message(8301, 'GHR_37249_ALL_PROCEDURE_FAIL');

2329: p_to_pay_plan <>'FE'
2330: and
2331: p_to_pay_plan is not null
2332: then
2333: hr_utility.set_message(8301, 'GHR_37249_ALL_PROCEDURE_FAIL');
2334: hr_utility.raise_error;
2335: end if;
2336:
2337: -- 440.12.2

Line 2334: hr_utility.raise_error;

2330: and
2331: p_to_pay_plan is not null
2332: then
2333: hr_utility.set_message(8301, 'GHR_37249_ALL_PROCEDURE_FAIL');
2334: hr_utility.raise_error;
2335: end if;
2336:
2337: -- 440.12.2
2338: -- Update Date By Effective Date Comment

Line 2342: hr_utility.set_location('to pay plan is ' || p_to_pay_plan ,10);

2338: -- Update Date By Effective Date Comment
2339: -- 9 05/03/99 vravikan Added Pay Plan MS
2340: -- 10/30/03 Ashley Deleted Pay Plan EO
2341:
2342: hr_utility.set_location('to pay plan is ' || p_to_pay_plan ,10);
2343: hr_utility.set_location('from pay plan is ' || p_prior_pay_plan ,10);
2344: If p_first_NOAC_Lookup_Code = '879'
2345: and
2346: p_to_pay_plan not in ('ES','FE','MS','TF','TX')

Line 2343: hr_utility.set_location('from pay plan is ' || p_prior_pay_plan ,10);

2339: -- 9 05/03/99 vravikan Added Pay Plan MS
2340: -- 10/30/03 Ashley Deleted Pay Plan EO
2341:
2342: hr_utility.set_location('to pay plan is ' || p_to_pay_plan ,10);
2343: hr_utility.set_location('from pay plan is ' || p_prior_pay_plan ,10);
2344: If p_first_NOAC_Lookup_Code = '879'
2345: and
2346: p_to_pay_plan not in ('ES','FE','MS','TF','TX')
2347: and

Line 2352: hr_utility.set_message(8301, 'GHR_37250_ALL_PROCEDURE_FAIL');

2348: p_to_pay_plan is not null
2349: and
2350: p_Pay_Rate_Determinant_Code <> 'S'
2351: then
2352: hr_utility.set_message(8301, 'GHR_37250_ALL_PROCEDURE_FAIL');
2353: hr_utility.raise_error;
2354: end if;
2355:
2356: -- 440.13.2

Line 2353: hr_utility.raise_error;

2349: and
2350: p_Pay_Rate_Determinant_Code <> 'S'
2351: then
2352: hr_utility.set_message(8301, 'GHR_37250_ALL_PROCEDURE_FAIL');
2353: hr_utility.raise_error;
2354: end if;
2355:
2356: -- 440.13.2
2357: -- Update/Change Date By Effective Date Comment

Line 2374: hr_utility.set_message(8301, 'GHR_37412_ALL_PROCEDURE_FAIL');

2370: 'NB','PD','TM','VH','ZA','ZP','ZS','ZT') and
2371: substr(p_to_pay_plan,1,1) <>'D' and
2372: p_to_pay_plan is not null
2373: then
2374: hr_utility.set_message(8301, 'GHR_37412_ALL_PROCEDURE_FAIL');
2375: hr_utility.raise_error;
2376: end if;
2377: elsif p_effective_date >= to_date('1999/04/01', 'yyyy/mm/dd') then
2378: If p_first_NOAC_Lookup_Code = '891' and

Line 2375: hr_utility.raise_error;

2371: substr(p_to_pay_plan,1,1) <>'D' and
2372: p_to_pay_plan is not null
2373: then
2374: hr_utility.set_message(8301, 'GHR_37412_ALL_PROCEDURE_FAIL');
2375: hr_utility.raise_error;
2376: end if;
2377: elsif p_effective_date >= to_date('1999/04/01', 'yyyy/mm/dd') then
2378: If p_first_NOAC_Lookup_Code = '891' and
2379: p_to_pay_plan not in ('CG','CM','EM','EO','FM','GH','GM',

Line 2384: hr_utility.set_message(8301, 'GHR_37070_ALL_PROCEDURE_FAIL');

2380: 'NC','ND','NG','NH','NJ','NK','NO','NP','NR','NT',
2381: 'NB','TM','VH','ZA','ZP','ZS','ZT') and
2382: substr(p_to_pay_plan,1,1) <>'D' and
2383: p_to_pay_plan is not null then
2384: hr_utility.set_message(8301, 'GHR_37070_ALL_PROCEDURE_FAIL');
2385: hr_utility.raise_error;
2386: end if;
2387: elsif p_effective_date >= to_date('1998/10/01', 'yyyy/mm/dd') then
2388: If p_first_NOAC_Lookup_Code = '891' and

Line 2385: hr_utility.raise_error;

2381: 'NB','TM','VH','ZA','ZP','ZS','ZT') and
2382: substr(p_to_pay_plan,1,1) <>'D' and
2383: p_to_pay_plan is not null then
2384: hr_utility.set_message(8301, 'GHR_37070_ALL_PROCEDURE_FAIL');
2385: hr_utility.raise_error;
2386: end if;
2387: elsif p_effective_date >= to_date('1998/10/01', 'yyyy/mm/dd') then
2388: If p_first_NOAC_Lookup_Code = '891' and
2389: p_to_pay_plan not in ('CG','CM','EM','EO','FM','GH','GM',

Line 2393: hr_utility.set_message(8301, 'GHR_37058_ALL_PROCEDURE_FAIL');

2389: p_to_pay_plan not in ('CG','CM','EM','EO','FM','GH','GM',
2390: 'ND','NG','NH','NJ','NK','NT','NB','TM','VH','ZA','ZP','ZS','ZT') and
2391: substr(p_to_pay_plan,1,1) <>'D' and
2392: p_to_pay_plan is not null then
2393: hr_utility.set_message(8301, 'GHR_37058_ALL_PROCEDURE_FAIL');
2394: hr_utility.raise_error;
2395: end if;
2396: else
2397: If p_first_NOAC_Lookup_Code = '891' and

Line 2394: hr_utility.raise_error;

2390: 'ND','NG','NH','NJ','NK','NT','NB','TM','VH','ZA','ZP','ZS','ZT') and
2391: substr(p_to_pay_plan,1,1) <>'D' and
2392: p_to_pay_plan is not null then
2393: hr_utility.set_message(8301, 'GHR_37058_ALL_PROCEDURE_FAIL');
2394: hr_utility.raise_error;
2395: end if;
2396: else
2397: If p_first_NOAC_Lookup_Code = '891' and
2398: p_to_pay_plan not in ('CM','EM','FM','GH','GM','NB','TM','VH','ZA','ZP','ZS','ZT') and

Line 2401: hr_utility.set_message(8301, 'GHR_37251_ALL_PROCEDURE_FAIL');

2397: If p_first_NOAC_Lookup_Code = '891' and
2398: p_to_pay_plan not in ('CM','EM','FM','GH','GM','NB','TM','VH','ZA','ZP','ZS','ZT') and
2399: substr(p_to_pay_plan,1,1) <>'D' and
2400: p_to_pay_plan is not null then
2401: hr_utility.set_message(8301, 'GHR_37251_ALL_PROCEDURE_FAIL');
2402: hr_utility.raise_error;
2403: end if;
2404: end if;
2405: end if;

Line 2402: hr_utility.raise_error;

2398: p_to_pay_plan not in ('CM','EM','FM','GH','GM','NB','TM','VH','ZA','ZP','ZS','ZT') and
2399: substr(p_to_pay_plan,1,1) <>'D' and
2400: p_to_pay_plan is not null then
2401: hr_utility.set_message(8301, 'GHR_37251_ALL_PROCEDURE_FAIL');
2402: hr_utility.raise_error;
2403: end if;
2404: end if;
2405: end if;
2406:

Line 2415: hr_utility.set_message(8301, 'GHR_37252_ALL_PROCEDURE_FAIL');

2411: p_to_pay_plan not in ('ES','FB','FE','FJ','FX')
2412: and
2413: p_to_pay_plan is not null
2414: then
2415: hr_utility.set_message(8301, 'GHR_37252_ALL_PROCEDURE_FAIL');
2416: hr_utility.raise_error;
2417: end if;
2418:
2419: -- 440.25.2

Line 2416: hr_utility.raise_error;

2412: and
2413: p_to_pay_plan is not null
2414: then
2415: hr_utility.set_message(8301, 'GHR_37252_ALL_PROCEDURE_FAIL');
2416: hr_utility.raise_error;
2417: end if;
2418:
2419: -- 440.25.2
2420: --upd47 26-Jun-06 Raju From 01-Apr-2003 Terminate the edit

Line 2424: hr_utility.set_message(8301, 'GHR_37253_ALL_PROCEDURE_FAIL');

2420: --upd47 26-Jun-06 Raju From 01-Apr-2003 Terminate the edit
2421: if p_effective_date < fnd_date.canonical_to_date('2003/04/01') then
2422: If p_first_NOAC_Lookup_Code ='893' and
2423: p_to_pay_plan ='GM' then
2424: hr_utility.set_message(8301, 'GHR_37253_ALL_PROCEDURE_FAIL');
2425: hr_utility.raise_error;
2426: end if;
2427: end if;
2428:

Line 2425: hr_utility.raise_error;

2421: if p_effective_date < fnd_date.canonical_to_date('2003/04/01') then
2422: If p_first_NOAC_Lookup_Code ='893' and
2423: p_to_pay_plan ='GM' then
2424: hr_utility.set_message(8301, 'GHR_37253_ALL_PROCEDURE_FAIL');
2425: hr_utility.raise_error;
2426: end if;
2427: end if;
2428:
2429: -- 440.30.2

Line 2438: hr_utility.set_message(8301, 'GHR_37254_ALL_PROCEDURE_FAIL');

2434: p_agency not in ('AF','AR','DD','NV')
2435: and
2436: p_to_pay_plan = 'GM'
2437: then
2438: hr_utility.set_message(8301, 'GHR_37254_ALL_PROCEDURE_FAIL');
2439: hr_utility.raise_error;
2440: end if;
2441:
2442: -- 440.35.2

Line 2439: hr_utility.raise_error;

2435: and
2436: p_to_pay_plan = 'GM'
2437: then
2438: hr_utility.set_message(8301, 'GHR_37254_ALL_PROCEDURE_FAIL');
2439: hr_utility.raise_error;
2440: end if;
2441:
2442: -- 440.35.2
2443: -- Delete the first line of the edit (If effective date is later than october 31, 1993)

Line 2456: hr_utility.set_message(8301, 'GHR_37255_ALL_PROCEDURE_FAIL');

2452: )
2453: and
2454: p_to_pay_plan = 'GM'
2455: then
2456: hr_utility.set_message(8301, 'GHR_37255_ALL_PROCEDURE_FAIL');
2457: hr_utility.raise_error;
2458: end if;
2459:
2460:

Line 2457: hr_utility.raise_error;

2453: and
2454: p_to_pay_plan = 'GM'
2455: then
2456: hr_utility.set_message(8301, 'GHR_37255_ALL_PROCEDURE_FAIL');
2457: hr_utility.raise_error;
2458: end if;
2459:
2460:
2461: -- 440.40.2

Line 2470: hr_utility.set_message(8301, 'GHR_37256_ALL_PROCEDURE_FAIL');

2466: If p_first_NOAC_Lookup_Code in ('702','703','713','740')
2467: and p_to_pay_plan is not null
2468: and p_to_pay_plan = 'GM'
2469: then
2470: hr_utility.set_message(8301, 'GHR_37256_ALL_PROCEDURE_FAIL');
2471: hr_utility.raise_error;
2472: end if;
2473:
2474: -- 440.45.3

Line 2471: hr_utility.raise_error;

2467: and p_to_pay_plan is not null
2468: and p_to_pay_plan = 'GM'
2469: then
2470: hr_utility.set_message(8301, 'GHR_37256_ALL_PROCEDURE_FAIL');
2471: hr_utility.raise_error;
2472: end if;
2473:
2474: -- 440.45.3
2475:

Line 2482: hr_utility.set_message(8301, 'GHR_37257_ALL_PROCEDURE_FAIL');

2478: p_Cur_Appt_Auth_2 = 'UAM' )
2479: and
2480: p_to_pay_plan = 'GS'
2481: then
2482: hr_utility.set_message(8301, 'GHR_37257_ALL_PROCEDURE_FAIL');
2483: hr_utility.raise_error;
2484: end if;
2485:
2486: -- 440.46.2

Line 2483: hr_utility.raise_error;

2479: and
2480: p_to_pay_plan = 'GS'
2481: then
2482: hr_utility.set_message(8301, 'GHR_37257_ALL_PROCEDURE_FAIL');
2483: hr_utility.raise_error;
2484: end if;
2485:
2486: -- 440.46.2
2487: -- 12/8/00 vravikan 01-Oct-2000 New Edit

Line 2492: hr_utility.set_message(8301, 'GHR_37677_ALL_PROCEDURE_FAIL');

2488: -- If nature of action is 871, Then pay plan must be GG
2489: if l_effective_date >= fnd_date.canonical_to_date('2000/10/01') then
2490: if p_first_NOAC_Lookup_Code = '871' and
2491: p_to_pay_plan <> 'GG' then
2492: hr_utility.set_message(8301, 'GHR_37677_ALL_PROCEDURE_FAIL');
2493: hr_utility.raise_error;
2494: end if;
2495: end if;
2496: end chk_pay_plan;

Line 2493: hr_utility.raise_error;

2489: if l_effective_date >= fnd_date.canonical_to_date('2000/10/01') then
2490: if p_first_NOAC_Lookup_Code = '871' and
2491: p_to_pay_plan <> 'GG' then
2492: hr_utility.set_message(8301, 'GHR_37677_ALL_PROCEDURE_FAIL');
2493: hr_utility.raise_error;
2494: end if;
2495: end if;
2496: end chk_pay_plan;
2497:

Line 2520: hr_utility.set_message(8301, 'GHR_37258_ALL_PROCEDURE_FAIL');

2516: substr(p_to_pay_plan, 1, 1) = 'W' or
2517: substr(p_to_pay_plan, 1, 1) = 'X'
2518: )
2519: then
2520: hr_utility.set_message(8301, 'GHR_37258_ALL_PROCEDURE_FAIL');
2521: hr_utility.raise_error;
2522: end if;
2523:
2524: -- 450.03.2

Line 2521: hr_utility.raise_error;

2517: substr(p_to_pay_plan, 1, 1) = 'X'
2518: )
2519: then
2520: hr_utility.set_message(8301, 'GHR_37258_ALL_PROCEDURE_FAIL');
2521: hr_utility.raise_error;
2522: end if;
2523:
2524: -- 450.03.2
2525: -- Update Date By Effective Date Bug Comment

Line 2543: hr_utility.set_message(8301, 'GHR_37259_ALL_PROCEDURE_FAIL');

2539: p_prior_pay_rate_det_code is null
2540: ) )
2541: )
2542: then
2543: hr_utility.set_message(8301, 'GHR_37259_ALL_PROCEDURE_FAIL');
2544: hr_utility.raise_error;
2545: end if;
2546:
2547: -- 450.04.3

Line 2544: hr_utility.raise_error;

2540: ) )
2541: )
2542: then
2543: hr_utility.set_message(8301, 'GHR_37259_ALL_PROCEDURE_FAIL');
2544: hr_utility.raise_error;
2545: end if;
2546:
2547: -- 450.04.3
2548: --upd47 26-Jun-06 Raju From 01-Apr-2003 Terminate the edit

Line 2553: hr_utility.set_message(8301, 'GHR_37260_ALL_PROCEDURE_FAIL');

2549: if p_effective_date < fnd_date.canonical_to_date('2003/04/01') then
2550: if (p_to_pay_plan = 'FA' or p_to_pay_plan = 'EX') and
2551: p_pay_rate_determinant_code not in ('C','S','0') and
2552: p_pay_rate_determinant_code is not null then
2553: hr_utility.set_message(8301, 'GHR_37260_ALL_PROCEDURE_FAIL');
2554: hr_utility.raise_error;
2555: end if;
2556: end if;
2557:

Line 2554: hr_utility.raise_error;

2550: if (p_to_pay_plan = 'FA' or p_to_pay_plan = 'EX') and
2551: p_pay_rate_determinant_code not in ('C','S','0') and
2552: p_pay_rate_determinant_code is not null then
2553: hr_utility.set_message(8301, 'GHR_37260_ALL_PROCEDURE_FAIL');
2554: hr_utility.raise_error;
2555: end if;
2556: end if;
2557:
2558: -- 450.05.3

Line 2569: hr_utility.set_message(8301, 'GHR_37859_ALL_PROCEDURE_FAIL');

2565: p_pay_rate_determinant_code in ('A','B','E','F','U','V')
2566: and
2567: p_pay_rate_determinant_code is not null
2568: then
2569: hr_utility.set_message(8301, 'GHR_37859_ALL_PROCEDURE_FAIL');
2570: hr_utility.raise_error;
2571: END IF;
2572: END IF;
2573:

Line 2570: hr_utility.raise_error;

2566: and
2567: p_pay_rate_determinant_code is not null
2568: then
2569: hr_utility.set_message(8301, 'GHR_37859_ALL_PROCEDURE_FAIL');
2570: hr_utility.raise_error;
2571: END IF;
2572: END IF;
2573:
2574:

Line 2582: hr_utility.set_message(8301, 'GHR_37261_ALL_PROCEDURE_FAIL');

2578: p_to_pay_plan in ('ED','EE','EF','EG','EH','EI','ZZ')
2579: or
2580: substr(p_to_pay_plan,1,1) in ('B','W','X')
2581: ) then
2582: hr_utility.set_message(8301, 'GHR_37261_ALL_PROCEDURE_FAIL');
2583: hr_utility.raise_error;
2584: end if;
2585:
2586: -- 450.19.3

Line 2583: hr_utility.raise_error;

2579: or
2580: substr(p_to_pay_plan,1,1) in ('B','W','X')
2581: ) then
2582: hr_utility.set_message(8301, 'GHR_37261_ALL_PROCEDURE_FAIL');
2583: hr_utility.raise_error;
2584: end if;
2585:
2586: -- 450.19.3
2587: -- UPDATE_DATE UPDATED_BY EFFECTIVE_DATE COMMENTS

Line 2606: hr_utility.set_message(8301, 'GHR_37262_ALL_PROCEDURE_FAIL');

2602: p_pay_rate_determinant_code <> 'D'--Bug# 7633560
2603: and
2604: p_pay_rate_determinant_code is not null
2605: then
2606: hr_utility.set_message(8301, 'GHR_37262_ALL_PROCEDURE_FAIL');
2607: hr_utility.raise_error;
2608: end if;
2609:
2610: -- 450.22.2

Line 2607: hr_utility.raise_error;

2603: and
2604: p_pay_rate_determinant_code is not null
2605: then
2606: hr_utility.set_message(8301, 'GHR_37262_ALL_PROCEDURE_FAIL');
2607: hr_utility.raise_error;
2608: end if;
2609:
2610: -- 450.22.2
2611: if p_effective_date < to_date('2005/05/01','yyyy/mm/dd') then

Line 2625: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');

2621: 'M','U','V')
2622: and
2623: p_prior_pay_rate_det_code is not null
2624: then
2625: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');
2626: hr_utility.set_message_token('PRD_LIST','A, B, E, F, M, U, or V');
2627: hr_utility.raise_error;
2628: end if;
2629: elsif p_effective_date >= to_date('2005/05/01','yyyy/mm/dd') then

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

2622: and
2623: p_prior_pay_rate_det_code is not null
2624: then
2625: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');
2626: hr_utility.set_message_token('PRD_LIST','A, B, E, F, M, U, or V');
2627: hr_utility.raise_error;
2628: end if;
2629: elsif p_effective_date >= to_date('2005/05/01','yyyy/mm/dd') then
2630: if ( p_first_noa_lookup_code= '740' or

Line 2627: hr_utility.raise_error;

2623: p_prior_pay_rate_det_code is not null
2624: then
2625: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');
2626: hr_utility.set_message_token('PRD_LIST','A, B, E, F, M, U, or V');
2627: hr_utility.raise_error;
2628: end if;
2629: elsif p_effective_date >= to_date('2005/05/01','yyyy/mm/dd') then
2630: if ( p_first_noa_lookup_code= '740' or
2631: p_first_noa_lookup_code= '741') and

Line 2636: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');

2632: p_pay_rate_determinant_code not in ('A','B','E','F','U','V') and
2633: p_pay_rate_determinant_code is not null and
2634: p_prior_pay_rate_det_code not in ('A','B','E','F','U','V') and
2635: p_prior_pay_rate_det_code is not null then
2636: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');
2637: hr_utility.set_message_token('PRD_LIST','A, B, E, F, U, or V');
2638: hr_utility.raise_error;
2639: end if;
2640: end if;

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

2633: p_pay_rate_determinant_code is not null and
2634: p_prior_pay_rate_det_code not in ('A','B','E','F','U','V') and
2635: p_prior_pay_rate_det_code is not null then
2636: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');
2637: hr_utility.set_message_token('PRD_LIST','A, B, E, F, U, or V');
2638: hr_utility.raise_error;
2639: end if;
2640: end if;
2641:

Line 2638: hr_utility.raise_error;

2634: p_prior_pay_rate_det_code not in ('A','B','E','F','U','V') and
2635: p_prior_pay_rate_det_code is not null then
2636: hr_utility.set_message(8301, 'GHR_37263_ALL_PROCEDURE_FAIL');
2637: hr_utility.set_message_token('PRD_LIST','A, B, E, F, U, or V');
2638: hr_utility.raise_error;
2639: end if;
2640: end if;
2641:
2642: -- 450.25.2

Line 2647: hr_utility.set_message(8301, 'GHR_37264_ALL_PROCEDURE_FAIL');

2643: if (p_first_noa_lookup_code ='702' or
2644: p_first_noa_lookup_code ='721')
2645: and
2646: p_pay_rate_determinant_code in ('A','B','E','F','U','V') then
2647: hr_utility.set_message(8301, 'GHR_37264_ALL_PROCEDURE_FAIL');
2648: hr_utility.raise_error;
2649: end if;
2650:
2651: -- 450.28.2

Line 2648: hr_utility.raise_error;

2644: p_first_noa_lookup_code ='721')
2645: and
2646: p_pay_rate_determinant_code in ('A','B','E','F','U','V') then
2647: hr_utility.set_message(8301, 'GHR_37264_ALL_PROCEDURE_FAIL');
2648: hr_utility.raise_error;
2649: end if;
2650:
2651: -- 450.28.2
2652: -- Update/Change Date By Effective Date Comment

Line 2663: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');

2659: p_first_noa_lookup_code = '893') and
2660: p_pay_rate_determinant_code not in ('0','5','6','7','A','B','E','F','T') and
2661: p_pay_rate_determinant_code is not null
2662: then
2663: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');
2664: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F or T');
2665: hr_utility.raise_error;
2666: end if;
2667: elsIf p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') then

Line 2664: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F or T');

2660: p_pay_rate_determinant_code not in ('0','5','6','7','A','B','E','F','T') and
2661: p_pay_rate_determinant_code is not null
2662: then
2663: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');
2664: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F or T');
2665: hr_utility.raise_error;
2666: end if;
2667: elsIf p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') then
2668: if (p_first_noa_lookup_code = '892' or

Line 2665: hr_utility.raise_error;

2661: p_pay_rate_determinant_code is not null
2662: then
2663: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');
2664: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F or T');
2665: hr_utility.raise_error;
2666: end if;
2667: elsIf p_effective_date >= fnd_date.canonical_to_date('19'||'99/03/01') then
2668: if (p_first_noa_lookup_code = '892' or
2669: p_first_noa_lookup_code = '893') and

Line 2673: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');

2669: p_first_noa_lookup_code = '893') and
2670: p_pay_rate_determinant_code not in ('0','5','6','7','A','B','E','F','M','T') and
2671: p_pay_rate_determinant_code is not null
2672: then
2673: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');
2674: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F, M or T');
2675: hr_utility.raise_error;
2676: end if;
2677: else

Line 2674: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F, M or T');

2670: p_pay_rate_determinant_code not in ('0','5','6','7','A','B','E','F','M','T') and
2671: p_pay_rate_determinant_code is not null
2672: then
2673: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');
2674: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F, M or T');
2675: hr_utility.raise_error;
2676: end if;
2677: else
2678: if (p_first_noa_lookup_code = '892' or

Line 2675: hr_utility.raise_error;

2671: p_pay_rate_determinant_code is not null
2672: then
2673: hr_utility.set_message(8301, 'GHR_37061_ALL_PROCEDURE_FAIL');
2674: hr_utility.set_message_token('PRD_LIST','0, 5, 6, 7, A, B, E, F, M or T');
2675: hr_utility.raise_error;
2676: end if;
2677: else
2678: if (p_first_noa_lookup_code = '892' or
2679: p_first_noa_lookup_code = '893') and

Line 2684: hr_utility.set_message(8301, 'GHR_37265_ALL_PROCEDURE_FAIL');

2680: p_pay_rate_determinant_code not in ('0','5','6','7','A',
2681: 'B','E','F','M') and
2682: p_pay_rate_determinant_code is not null
2683: then
2684: hr_utility.set_message(8301, 'GHR_37265_ALL_PROCEDURE_FAIL');
2685: hr_utility.raise_error;
2686: end if;
2687: end if;
2688: end if;

Line 2685: hr_utility.raise_error;

2681: 'B','E','F','M') and
2682: p_pay_rate_determinant_code is not null
2683: then
2684: hr_utility.set_message(8301, 'GHR_37265_ALL_PROCEDURE_FAIL');
2685: hr_utility.raise_error;
2686: end if;
2687: end if;
2688: end if;
2689:

Line 2859: hr_utility.set_message(8301, 'GHR_37266_ALL_PROCEDURE_FAIL');

2855: substr(p_duty_station_lookup_code,1,2) = '54' and
2856: substr(p_duty_station_lookup_code,7,3) not in ('003','037')
2857: )
2858: ) then
2859: hr_utility.set_message(8301, 'GHR_37266_ALL_PROCEDURE_FAIL');
2860: hr_utility.raise_error;
2861: end if;
2862: END IF;
2863: -------------------------------------------------------------------------------

Line 2860: hr_utility.raise_error;

2856: substr(p_duty_station_lookup_code,7,3) not in ('003','037')
2857: )
2858: ) then
2859: hr_utility.set_message(8301, 'GHR_37266_ALL_PROCEDURE_FAIL');
2860: hr_utility.raise_error;
2861: end if;
2862: END IF;
2863: -------------------------------------------------------------------------------
2864:

Line 2868: hr_utility.set_message(8301, 'GHR_37267_ALL_PROCEDURE_FAIL');

2864:
2865: -- 450.40.3
2866: if p_pay_rate_determinant_code = 'P' and
2867: p_agency <>'VA' then
2868: hr_utility.set_message(8301, 'GHR_37267_ALL_PROCEDURE_FAIL');
2869: hr_utility.raise_error;
2870: end if;
2871:
2872: -- 450.42.3

Line 2869: hr_utility.raise_error;

2865: -- 450.40.3
2866: if p_pay_rate_determinant_code = 'P' and
2867: p_agency <>'VA' then
2868: hr_utility.set_message(8301, 'GHR_37267_ALL_PROCEDURE_FAIL');
2869: hr_utility.raise_error;
2870: end if;
2871:
2872: -- 450.42.3
2873: -------------------------------------------------------------------------------

Line 2882: hr_utility.set_message(8301, 'GHR_37062_ALL_PROCEDURE_FAIL');

2878: if (p_to_pay_plan= 'GM' or
2879: p_to_pay_plan= 'GS'
2880: ) and
2881: p_pay_rate_determinant_code in ('P','T') then
2882: hr_utility.set_message(8301, 'GHR_37062_ALL_PROCEDURE_FAIL');
2883: hr_utility.raise_error;
2884: end if;
2885: else
2886: if (p_to_pay_plan= 'GM' or

Line 2883: hr_utility.raise_error;

2879: p_to_pay_plan= 'GS'
2880: ) and
2881: p_pay_rate_determinant_code in ('P','T') then
2882: hr_utility.set_message(8301, 'GHR_37062_ALL_PROCEDURE_FAIL');
2883: hr_utility.raise_error;
2884: end if;
2885: else
2886: if (p_to_pay_plan= 'GM' or
2887: p_to_pay_plan= 'GS'

Line 2890: hr_utility.set_message(8301, 'GHR_37268_ALL_PROCEDURE_FAIL');

2886: if (p_to_pay_plan= 'GM' or
2887: p_to_pay_plan= 'GS'
2888: ) and
2889: p_pay_rate_determinant_code = 'P' then
2890: hr_utility.set_message(8301, 'GHR_37268_ALL_PROCEDURE_FAIL');
2891: hr_utility.raise_error;
2892: end if;
2893: end if;
2894:

Line 2891: hr_utility.raise_error;

2887: p_to_pay_plan= 'GS'
2888: ) and
2889: p_pay_rate_determinant_code = 'P' then
2890: hr_utility.set_message(8301, 'GHR_37268_ALL_PROCEDURE_FAIL');
2891: hr_utility.raise_error;
2892: end if;
2893: end if;
2894:
2895: -- 450.43.3

Line 2909: hr_utility.set_message(8301, 'GHR_38841_ALL_PROCEDURE_FAIL');

2905:
2906: IF p_pay_rate_determinant_code = 'Z' AND
2907: p_to_pay_plan IN ('FO','FP') AND p_agency NOT IN ('AM','GY','ST') AND
2908: substr(p_duty_station_lookup_code,1,2) NOT IN ('CA','MX') THEN
2909: hr_utility.set_message(8301, 'GHR_38841_ALL_PROCEDURE_FAIL');
2910: hr_utility.raise_error;
2911: END IF;
2912:
2913: end chk_pay_rate_determinant;

Line 2910: hr_utility.raise_error;

2906: IF p_pay_rate_determinant_code = 'Z' AND
2907: p_to_pay_plan IN ('FO','FP') AND p_agency NOT IN ('AM','GY','ST') AND
2908: substr(p_duty_station_lookup_code,1,2) NOT IN ('CA','MX') THEN
2909: hr_utility.set_message(8301, 'GHR_38841_ALL_PROCEDURE_FAIL');
2910: hr_utility.raise_error;
2911: END IF;
2912:
2913: end chk_pay_rate_determinant;
2914: