185: -- Internal Row Handler Use Only.
186: --
187: -- ----------------------------------------------------------------------------
188: procedure chk_df
189: (p_rec in pqh_crd_shd.g_rec_type
190: ) is
191: --
192: l_proc varchar2(72) := g_package || 'chk_df';
193: --
194: begin
195: hr_utility.set_location('Entering:'||l_proc,10);
196: --
197: if ((p_rec.criteria_rate_defn_id is not null) and (
198: nvl(pqh_crd_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(pqh_crd_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(pqh_crd_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
196: --
197: if ((p_rec.criteria_rate_defn_id is not null) and (
198: nvl(pqh_crd_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(pqh_crd_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(pqh_crd_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(pqh_crd_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
198: nvl(pqh_crd_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(pqh_crd_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(pqh_crd_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(pqh_crd_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(pqh_crd_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
200: nvl(pqh_crd_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(pqh_crd_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(pqh_crd_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(pqh_crd_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(pqh_crd_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
202: nvl(pqh_crd_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(pqh_crd_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(pqh_crd_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(pqh_crd_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(pqh_crd_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
204: nvl(pqh_crd_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(pqh_crd_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(pqh_crd_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(pqh_crd_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(pqh_crd_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
206: nvl(pqh_crd_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(pqh_crd_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(pqh_crd_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(pqh_crd_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(pqh_crd_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
208: nvl(pqh_crd_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(pqh_crd_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(pqh_crd_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(pqh_crd_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(pqh_crd_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
210: nvl(pqh_crd_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(pqh_crd_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(pqh_crd_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(pqh_crd_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(pqh_crd_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
212: nvl(pqh_crd_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(pqh_crd_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(pqh_crd_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(pqh_crd_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(pqh_crd_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
214: nvl(pqh_crd_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(pqh_crd_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(pqh_crd_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(pqh_crd_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(pqh_crd_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
216: nvl(pqh_crd_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(pqh_crd_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(pqh_crd_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(pqh_crd_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(pqh_crd_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
218: nvl(pqh_crd_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(pqh_crd_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(pqh_crd_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(pqh_crd_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(pqh_crd_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
220: nvl(pqh_crd_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(pqh_crd_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(pqh_crd_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(pqh_crd_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(pqh_crd_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
222: nvl(pqh_crd_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(pqh_crd_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(pqh_crd_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(pqh_crd_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) or
230: nvl(pqh_crd_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
224: nvl(pqh_crd_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(pqh_crd_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(pqh_crd_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) or
230: nvl(pqh_crd_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute16, hr_api.g_varchar2) or
232: nvl(pqh_crd_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
226: nvl(pqh_crd_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(pqh_crd_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) or
230: nvl(pqh_crd_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute16, hr_api.g_varchar2) or
232: nvl(pqh_crd_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute17, hr_api.g_varchar2) or
234: nvl(pqh_crd_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
228: nvl(pqh_crd_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) or
230: nvl(pqh_crd_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute16, hr_api.g_varchar2) or
232: nvl(pqh_crd_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute17, hr_api.g_varchar2) or
234: nvl(pqh_crd_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute18, hr_api.g_varchar2) or
236: nvl(pqh_crd_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
230: nvl(pqh_crd_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute16, hr_api.g_varchar2) or
232: nvl(pqh_crd_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute17, hr_api.g_varchar2) or
234: nvl(pqh_crd_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute18, hr_api.g_varchar2) or
236: nvl(pqh_crd_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute19, hr_api.g_varchar2) or
238: nvl(pqh_crd_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
232: nvl(pqh_crd_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute17, hr_api.g_varchar2) or
234: nvl(pqh_crd_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute18, hr_api.g_varchar2) or
236: nvl(pqh_crd_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute19, hr_api.g_varchar2) or
238: nvl(pqh_crd_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute20, hr_api.g_varchar2) or
240: nvl(pqh_crd_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
234: nvl(pqh_crd_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute18, hr_api.g_varchar2) or
236: nvl(pqh_crd_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute19, hr_api.g_varchar2) or
238: nvl(pqh_crd_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute20, hr_api.g_varchar2) or
240: nvl(pqh_crd_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute21, hr_api.g_varchar2) or
242: nvl(pqh_crd_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
236: nvl(pqh_crd_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute19, hr_api.g_varchar2) or
238: nvl(pqh_crd_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute20, hr_api.g_varchar2) or
240: nvl(pqh_crd_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute21, hr_api.g_varchar2) or
242: nvl(pqh_crd_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute22, hr_api.g_varchar2) or
244: nvl(pqh_crd_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
238: nvl(pqh_crd_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute20, hr_api.g_varchar2) or
240: nvl(pqh_crd_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute21, hr_api.g_varchar2) or
242: nvl(pqh_crd_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute22, hr_api.g_varchar2) or
244: nvl(pqh_crd_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute23, hr_api.g_varchar2) or
246: nvl(pqh_crd_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
240: nvl(pqh_crd_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute21, hr_api.g_varchar2) or
242: nvl(pqh_crd_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute22, hr_api.g_varchar2) or
244: nvl(pqh_crd_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute23, hr_api.g_varchar2) or
246: nvl(pqh_crd_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute24, hr_api.g_varchar2) or
248: nvl(pqh_crd_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
242: nvl(pqh_crd_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute22, hr_api.g_varchar2) or
244: nvl(pqh_crd_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute23, hr_api.g_varchar2) or
246: nvl(pqh_crd_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute24, hr_api.g_varchar2) or
248: nvl(pqh_crd_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute25, hr_api.g_varchar2) or
250: nvl(pqh_crd_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
244: nvl(pqh_crd_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute23, hr_api.g_varchar2) or
246: nvl(pqh_crd_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute24, hr_api.g_varchar2) or
248: nvl(pqh_crd_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute25, hr_api.g_varchar2) or
250: nvl(pqh_crd_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute26, hr_api.g_varchar2) or
252: nvl(pqh_crd_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
246: nvl(pqh_crd_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute24, hr_api.g_varchar2) or
248: nvl(pqh_crd_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute25, hr_api.g_varchar2) or
250: nvl(pqh_crd_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute26, hr_api.g_varchar2) or
252: nvl(pqh_crd_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute27, hr_api.g_varchar2) or
254: nvl(pqh_crd_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
248: nvl(pqh_crd_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute25, hr_api.g_varchar2) or
250: nvl(pqh_crd_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute26, hr_api.g_varchar2) or
252: nvl(pqh_crd_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute27, hr_api.g_varchar2) or
254: nvl(pqh_crd_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute28, hr_api.g_varchar2) or
256: nvl(pqh_crd_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
250: nvl(pqh_crd_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute26, hr_api.g_varchar2) or
252: nvl(pqh_crd_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute27, hr_api.g_varchar2) or
254: nvl(pqh_crd_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute28, hr_api.g_varchar2) or
256: nvl(pqh_crd_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute29, hr_api.g_varchar2) or
258: nvl(pqh_crd_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
252: nvl(pqh_crd_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute27, hr_api.g_varchar2) or
254: nvl(pqh_crd_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute28, hr_api.g_varchar2) or
256: nvl(pqh_crd_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute29, hr_api.g_varchar2) or
258: nvl(pqh_crd_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute30, hr_api.g_varchar2) ))
260: or (p_rec.criteria_rate_defn_id is null) then
254: nvl(pqh_crd_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute28, hr_api.g_varchar2) or
256: nvl(pqh_crd_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute29, hr_api.g_varchar2) or
258: nvl(pqh_crd_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute30, hr_api.g_varchar2) ))
260: or (p_rec.criteria_rate_defn_id is null) then
261: --
262: -- Only execute the validation if absolutely necessary:
362: -- {End Of Comments}
363: -- ----------------------------------------------------------------------------
364: Procedure chk_non_updateable_args
365: (p_effective_date in date
366: ,p_rec in pqh_crd_shd.g_rec_type
367: ) IS
368: --
369: l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
370: --
372: --
373: -- Only proceed with the validation if a row exists for the current
374: -- record in the HR Schema.
375: --
376: IF NOT pqh_crd_shd.api_updating
377: (p_criteria_rate_defn_id => p_rec.criteria_rate_defn_id
378: ,p_object_version_number => p_rec.object_version_number
379: ) THEN
380: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
386: -- EDIT_HERE: Add checks to ensure non-updateable args have
387: -- not been updated.
388: --
389: if nvl(p_rec.business_group_id, hr_api.g_number) <>
390: nvl(pqh_crd_shd.g_old_rec.business_group_id
391: ,hr_api.g_number
392: ) then
393: hr_api.argument_changed_error
394: (p_api_name => l_proc
392: ) then
393: hr_api.argument_changed_error
394: (p_api_name => l_proc
395: ,p_argument => 'BUSINESS_GROUP_ID'
396: ,p_base_table => pqh_crd_shd.g_tab_nam
397: );
398: end if;
399: --
400: End chk_non_updateable_args;
456: Begin
457: --
458: hr_utility.set_location('Entering:'||l_proc, 5);
459: --
460: l_api_updating := pqh_crd_shd.api_updating
461: (p_criteria_rate_defn_id => p_criteria_rate_defn_id,
462: p_object_version_number => p_object_version_number);
463: --
464: if (l_api_updating
462: p_object_version_number => p_object_version_number);
463: --
464: if (l_api_updating
465: and p_reference_period_cd
466: <> nvl(pqh_crd_shd.g_old_rec.reference_period_cd,hr_api.g_varchar2)
467: or not l_api_updating)
468: and p_reference_period_cd is not null then
469: --
470: -- check if value of lookup falls within lookup type.
503: Begin
504: --
505: hr_utility.set_location('Entering:'||l_proc, 5);
506: --
507: l_api_updating := pqh_crd_shd.api_updating
508: (p_criteria_rate_defn_id => p_criteria_rate_defn_id,
509: p_object_version_number => p_object_version_number);
510: --
511: if (l_api_updating
509: p_object_version_number => p_object_version_number);
510: --
511: if (l_api_updating
512: and p_rate_calc_cd
513: <> nvl(pqh_crd_shd.g_old_rec.rate_calc_cd,hr_api.g_varchar2)
514: or not l_api_updating)
515: and p_rate_calc_cd is not null then
516: --
517: -- check if value of lookup falls within lookup type.
550: Begin
551: --
552: hr_utility.set_location('Entering:'||l_proc, 5);
553: --
554: l_api_updating := pqh_crd_shd.api_updating
555: (p_criteria_rate_defn_id => p_criteria_rate_defn_id,
556: p_object_version_number => p_object_version_number);
557: --
558: if (l_api_updating
556: p_object_version_number => p_object_version_number);
557: --
558: if (l_api_updating
559: and p_uom
560: <> nvl(pqh_crd_shd.g_old_rec.uom,hr_api.g_varchar2)
561: or not l_api_updating)
562: and p_uom is not null then
563: --
564: -- check if value of lookup falls within lookup type.
597: Begin
598: --
599: hr_utility.set_location('Entering:'||l_proc, 5);
600: --
601: l_api_updating := pqh_crd_shd.api_updating
602: (p_criteria_rate_defn_id => p_criteria_rate_defn_id,
603: p_object_version_number => p_object_version_number);
604: --
605: if (l_api_updating
603: p_object_version_number => p_object_version_number);
604: --
605: if (l_api_updating
606: and p_preferential_rate_cd
607: <> nvl(pqh_crd_shd.g_old_rec.preferential_rate_cd,hr_api.g_varchar2)
608: or not l_api_updating)
609: and p_preferential_rate_cd is not null then
610: --
611: -- check if value of lookup falls within lookup type.
644: Begin
645: --
646: hr_utility.set_location('Entering:'||l_proc, 5);
647: --
648: l_api_updating := pqh_crd_shd.api_updating
649: (p_criteria_rate_defn_id => p_criteria_rate_defn_id,
650: p_object_version_number => p_object_version_number);
651: --
652: if (l_api_updating
650: p_object_version_number => p_object_version_number);
651: --
652: if (l_api_updating
653: and p_rounding_cd
654: <> nvl(pqh_crd_shd.g_old_rec.rounding_cd,hr_api.g_varchar2)
655: or not l_api_updating)
656: and p_rounding_cd is not null then
657: --
658: -- check if value of lookup falls within lookup type.
687: Begin
688: --
689: hr_utility.set_location('Entering:'||l_proc, 5);
690: --
691: l_api_updating := pqh_crd_shd.api_updating
692: (p_criteria_rate_defn_id => p_criteria_rate_defn_id,
693: p_object_version_number => p_object_version_number);
694: --
695: if p_business_group_id is null then
711: -- |---------------------------< insert_validate >----------------------------|
712: -- ----------------------------------------------------------------------------
713: Procedure insert_validate
714: (p_effective_date in date
715: ,p_rec in pqh_crd_shd.g_rec_type
716: ) is
717: --
718: l_proc varchar2(72) := g_package||'insert_validate';
719: --
734: --
735: if p_rec.business_group_id is not null and p_rec.legislation_code is null then
736: hr_api.validate_bus_grp_id
737: (p_business_group_id => p_rec.business_group_id
738: ,p_associated_column1 => pqh_crd_shd.g_tab_nam
739: || '.BUSINESS_GROUP_ID');
740: End if;
741: --
742: -- after validating the set of important attributes,
790: -- |---------------------------< update_validate >----------------------------|
791: -- ----------------------------------------------------------------------------
792: Procedure update_validate
793: (p_effective_date in date
794: ,p_rec in pqh_crd_shd.g_rec_type
795: ) is
796: --
797: l_proc varchar2(72) := g_package||'update_validate';
798: --
813: --
814: if p_rec.business_group_id is not null and p_rec.legislation_code is null then
815: hr_api.validate_bus_grp_id
816: (p_business_group_id => p_rec.business_group_id
817: ,p_associated_column1 => pqh_crd_shd.g_tab_nam
818: || '.BUSINESS_GROUP_ID');
819: End if;
820: --
821: -- After validating the set of important attributes,
870: -- ----------------------------------------------------------------------------
871: -- |---------------------------< delete_validate >----------------------------|
872: -- ----------------------------------------------------------------------------
873: Procedure delete_validate
874: (p_rec in pqh_crd_shd.g_rec_type
875: ) is
876: --
877: l_proc varchar2(72) := g_package||'delete_validate';
878: --
880: hr_utility.set_location('Entering:'||l_proc, 5);
881: --
882: --
883: chk_startup_action(false
884: ,pqh_crd_shd.g_old_rec.business_group_id
885: ,pqh_crd_shd.g_old_rec.legislation_code
886: );
887: IF hr_startup_data_api_support.g_startup_mode
888: NOT IN ('GENERIC','STARTUP') THEN
881: --
882: --
883: chk_startup_action(false
884: ,pqh_crd_shd.g_old_rec.business_group_id
885: ,pqh_crd_shd.g_old_rec.legislation_code
886: );
887: IF hr_startup_data_api_support.g_startup_mode
888: NOT IN ('GENERIC','STARTUP') THEN
889: --