168: -- Internal Row Handler Use Only.
169: --
170: -- ----------------------------------------------------------------------------
171: procedure chk_df
172: (p_rec in per_bpd_shd.g_rec_type
173: ) is
174: --
175: l_proc varchar2(72) := g_package || 'chk_df';
176: --
177: begin
178: hr_utility.set_location('Entering:'||l_proc,10);
179: --
180: if ((p_rec.payment_detail_id is not null) and (
181: nvl(per_bpd_shd.g_old_rec.bpd_attribute_category, hr_api.g_varchar2) <>
182: nvl(p_rec.bpd_attribute_category, hr_api.g_varchar2) or
183: nvl(per_bpd_shd.g_old_rec.bpd_attribute1, hr_api.g_varchar2) <>
184: nvl(p_rec.bpd_attribute1, hr_api.g_varchar2) or
185: nvl(per_bpd_shd.g_old_rec.bpd_attribute2, hr_api.g_varchar2) <>
179: --
180: if ((p_rec.payment_detail_id is not null) and (
181: nvl(per_bpd_shd.g_old_rec.bpd_attribute_category, hr_api.g_varchar2) <>
182: nvl(p_rec.bpd_attribute_category, hr_api.g_varchar2) or
183: nvl(per_bpd_shd.g_old_rec.bpd_attribute1, hr_api.g_varchar2) <>
184: nvl(p_rec.bpd_attribute1, hr_api.g_varchar2) or
185: nvl(per_bpd_shd.g_old_rec.bpd_attribute2, hr_api.g_varchar2) <>
186: nvl(p_rec.bpd_attribute2, hr_api.g_varchar2) or
187: nvl(per_bpd_shd.g_old_rec.bpd_attribute3, hr_api.g_varchar2) <>
181: nvl(per_bpd_shd.g_old_rec.bpd_attribute_category, hr_api.g_varchar2) <>
182: nvl(p_rec.bpd_attribute_category, hr_api.g_varchar2) or
183: nvl(per_bpd_shd.g_old_rec.bpd_attribute1, hr_api.g_varchar2) <>
184: nvl(p_rec.bpd_attribute1, hr_api.g_varchar2) or
185: nvl(per_bpd_shd.g_old_rec.bpd_attribute2, hr_api.g_varchar2) <>
186: nvl(p_rec.bpd_attribute2, hr_api.g_varchar2) or
187: nvl(per_bpd_shd.g_old_rec.bpd_attribute3, hr_api.g_varchar2) <>
188: nvl(p_rec.bpd_attribute3, hr_api.g_varchar2) or
189: nvl(per_bpd_shd.g_old_rec.bpd_attribute4, hr_api.g_varchar2) <>
183: nvl(per_bpd_shd.g_old_rec.bpd_attribute1, hr_api.g_varchar2) <>
184: nvl(p_rec.bpd_attribute1, hr_api.g_varchar2) or
185: nvl(per_bpd_shd.g_old_rec.bpd_attribute2, hr_api.g_varchar2) <>
186: nvl(p_rec.bpd_attribute2, hr_api.g_varchar2) or
187: nvl(per_bpd_shd.g_old_rec.bpd_attribute3, hr_api.g_varchar2) <>
188: nvl(p_rec.bpd_attribute3, hr_api.g_varchar2) or
189: nvl(per_bpd_shd.g_old_rec.bpd_attribute4, hr_api.g_varchar2) <>
190: nvl(p_rec.bpd_attribute4, hr_api.g_varchar2) or
191: nvl(per_bpd_shd.g_old_rec.bpd_attribute5, hr_api.g_varchar2) <>
185: nvl(per_bpd_shd.g_old_rec.bpd_attribute2, hr_api.g_varchar2) <>
186: nvl(p_rec.bpd_attribute2, hr_api.g_varchar2) or
187: nvl(per_bpd_shd.g_old_rec.bpd_attribute3, hr_api.g_varchar2) <>
188: nvl(p_rec.bpd_attribute3, hr_api.g_varchar2) or
189: nvl(per_bpd_shd.g_old_rec.bpd_attribute4, hr_api.g_varchar2) <>
190: nvl(p_rec.bpd_attribute4, hr_api.g_varchar2) or
191: nvl(per_bpd_shd.g_old_rec.bpd_attribute5, hr_api.g_varchar2) <>
192: nvl(p_rec.bpd_attribute5, hr_api.g_varchar2) or
193: nvl(per_bpd_shd.g_old_rec.bpd_attribute6, hr_api.g_varchar2) <>
187: nvl(per_bpd_shd.g_old_rec.bpd_attribute3, hr_api.g_varchar2) <>
188: nvl(p_rec.bpd_attribute3, hr_api.g_varchar2) or
189: nvl(per_bpd_shd.g_old_rec.bpd_attribute4, hr_api.g_varchar2) <>
190: nvl(p_rec.bpd_attribute4, hr_api.g_varchar2) or
191: nvl(per_bpd_shd.g_old_rec.bpd_attribute5, hr_api.g_varchar2) <>
192: nvl(p_rec.bpd_attribute5, hr_api.g_varchar2) or
193: nvl(per_bpd_shd.g_old_rec.bpd_attribute6, hr_api.g_varchar2) <>
194: nvl(p_rec.bpd_attribute6, hr_api.g_varchar2) or
195: nvl(per_bpd_shd.g_old_rec.bpd_attribute7, hr_api.g_varchar2) <>
189: nvl(per_bpd_shd.g_old_rec.bpd_attribute4, hr_api.g_varchar2) <>
190: nvl(p_rec.bpd_attribute4, hr_api.g_varchar2) or
191: nvl(per_bpd_shd.g_old_rec.bpd_attribute5, hr_api.g_varchar2) <>
192: nvl(p_rec.bpd_attribute5, hr_api.g_varchar2) or
193: nvl(per_bpd_shd.g_old_rec.bpd_attribute6, hr_api.g_varchar2) <>
194: nvl(p_rec.bpd_attribute6, hr_api.g_varchar2) or
195: nvl(per_bpd_shd.g_old_rec.bpd_attribute7, hr_api.g_varchar2) <>
196: nvl(p_rec.bpd_attribute7, hr_api.g_varchar2) or
197: nvl(per_bpd_shd.g_old_rec.bpd_attribute8, hr_api.g_varchar2) <>
191: nvl(per_bpd_shd.g_old_rec.bpd_attribute5, hr_api.g_varchar2) <>
192: nvl(p_rec.bpd_attribute5, hr_api.g_varchar2) or
193: nvl(per_bpd_shd.g_old_rec.bpd_attribute6, hr_api.g_varchar2) <>
194: nvl(p_rec.bpd_attribute6, hr_api.g_varchar2) or
195: nvl(per_bpd_shd.g_old_rec.bpd_attribute7, hr_api.g_varchar2) <>
196: nvl(p_rec.bpd_attribute7, hr_api.g_varchar2) or
197: nvl(per_bpd_shd.g_old_rec.bpd_attribute8, hr_api.g_varchar2) <>
198: nvl(p_rec.bpd_attribute8, hr_api.g_varchar2) or
199: nvl(per_bpd_shd.g_old_rec.bpd_attribute9, hr_api.g_varchar2) <>
193: nvl(per_bpd_shd.g_old_rec.bpd_attribute6, hr_api.g_varchar2) <>
194: nvl(p_rec.bpd_attribute6, hr_api.g_varchar2) or
195: nvl(per_bpd_shd.g_old_rec.bpd_attribute7, hr_api.g_varchar2) <>
196: nvl(p_rec.bpd_attribute7, hr_api.g_varchar2) or
197: nvl(per_bpd_shd.g_old_rec.bpd_attribute8, hr_api.g_varchar2) <>
198: nvl(p_rec.bpd_attribute8, hr_api.g_varchar2) or
199: nvl(per_bpd_shd.g_old_rec.bpd_attribute9, hr_api.g_varchar2) <>
200: nvl(p_rec.bpd_attribute9, hr_api.g_varchar2) or
201: nvl(per_bpd_shd.g_old_rec.bpd_attribute10, hr_api.g_varchar2) <>
195: nvl(per_bpd_shd.g_old_rec.bpd_attribute7, hr_api.g_varchar2) <>
196: nvl(p_rec.bpd_attribute7, hr_api.g_varchar2) or
197: nvl(per_bpd_shd.g_old_rec.bpd_attribute8, hr_api.g_varchar2) <>
198: nvl(p_rec.bpd_attribute8, hr_api.g_varchar2) or
199: nvl(per_bpd_shd.g_old_rec.bpd_attribute9, hr_api.g_varchar2) <>
200: nvl(p_rec.bpd_attribute9, hr_api.g_varchar2) or
201: nvl(per_bpd_shd.g_old_rec.bpd_attribute10, hr_api.g_varchar2) <>
202: nvl(p_rec.bpd_attribute10, hr_api.g_varchar2) or
203: nvl(per_bpd_shd.g_old_rec.bpd_attribute11, hr_api.g_varchar2) <>
197: nvl(per_bpd_shd.g_old_rec.bpd_attribute8, hr_api.g_varchar2) <>
198: nvl(p_rec.bpd_attribute8, hr_api.g_varchar2) or
199: nvl(per_bpd_shd.g_old_rec.bpd_attribute9, hr_api.g_varchar2) <>
200: nvl(p_rec.bpd_attribute9, hr_api.g_varchar2) or
201: nvl(per_bpd_shd.g_old_rec.bpd_attribute10, hr_api.g_varchar2) <>
202: nvl(p_rec.bpd_attribute10, hr_api.g_varchar2) or
203: nvl(per_bpd_shd.g_old_rec.bpd_attribute11, hr_api.g_varchar2) <>
204: nvl(p_rec.bpd_attribute11, hr_api.g_varchar2) or
205: nvl(per_bpd_shd.g_old_rec.bpd_attribute12, hr_api.g_varchar2) <>
199: nvl(per_bpd_shd.g_old_rec.bpd_attribute9, hr_api.g_varchar2) <>
200: nvl(p_rec.bpd_attribute9, hr_api.g_varchar2) or
201: nvl(per_bpd_shd.g_old_rec.bpd_attribute10, hr_api.g_varchar2) <>
202: nvl(p_rec.bpd_attribute10, hr_api.g_varchar2) or
203: nvl(per_bpd_shd.g_old_rec.bpd_attribute11, hr_api.g_varchar2) <>
204: nvl(p_rec.bpd_attribute11, hr_api.g_varchar2) or
205: nvl(per_bpd_shd.g_old_rec.bpd_attribute12, hr_api.g_varchar2) <>
206: nvl(p_rec.bpd_attribute12, hr_api.g_varchar2) or
207: nvl(per_bpd_shd.g_old_rec.bpd_attribute13, hr_api.g_varchar2) <>
201: nvl(per_bpd_shd.g_old_rec.bpd_attribute10, hr_api.g_varchar2) <>
202: nvl(p_rec.bpd_attribute10, hr_api.g_varchar2) or
203: nvl(per_bpd_shd.g_old_rec.bpd_attribute11, hr_api.g_varchar2) <>
204: nvl(p_rec.bpd_attribute11, hr_api.g_varchar2) or
205: nvl(per_bpd_shd.g_old_rec.bpd_attribute12, hr_api.g_varchar2) <>
206: nvl(p_rec.bpd_attribute12, hr_api.g_varchar2) or
207: nvl(per_bpd_shd.g_old_rec.bpd_attribute13, hr_api.g_varchar2) <>
208: nvl(p_rec.bpd_attribute13, hr_api.g_varchar2) or
209: nvl(per_bpd_shd.g_old_rec.bpd_attribute14, hr_api.g_varchar2) <>
203: nvl(per_bpd_shd.g_old_rec.bpd_attribute11, hr_api.g_varchar2) <>
204: nvl(p_rec.bpd_attribute11, hr_api.g_varchar2) or
205: nvl(per_bpd_shd.g_old_rec.bpd_attribute12, hr_api.g_varchar2) <>
206: nvl(p_rec.bpd_attribute12, hr_api.g_varchar2) or
207: nvl(per_bpd_shd.g_old_rec.bpd_attribute13, hr_api.g_varchar2) <>
208: nvl(p_rec.bpd_attribute13, hr_api.g_varchar2) or
209: nvl(per_bpd_shd.g_old_rec.bpd_attribute14, hr_api.g_varchar2) <>
210: nvl(p_rec.bpd_attribute14, hr_api.g_varchar2) or
211: nvl(per_bpd_shd.g_old_rec.bpd_attribute15, hr_api.g_varchar2) <>
205: nvl(per_bpd_shd.g_old_rec.bpd_attribute12, hr_api.g_varchar2) <>
206: nvl(p_rec.bpd_attribute12, hr_api.g_varchar2) or
207: nvl(per_bpd_shd.g_old_rec.bpd_attribute13, hr_api.g_varchar2) <>
208: nvl(p_rec.bpd_attribute13, hr_api.g_varchar2) or
209: nvl(per_bpd_shd.g_old_rec.bpd_attribute14, hr_api.g_varchar2) <>
210: nvl(p_rec.bpd_attribute14, hr_api.g_varchar2) or
211: nvl(per_bpd_shd.g_old_rec.bpd_attribute15, hr_api.g_varchar2) <>
212: nvl(p_rec.bpd_attribute15, hr_api.g_varchar2) or
213: nvl(per_bpd_shd.g_old_rec.bpd_attribute16, hr_api.g_varchar2) <>
207: nvl(per_bpd_shd.g_old_rec.bpd_attribute13, hr_api.g_varchar2) <>
208: nvl(p_rec.bpd_attribute13, hr_api.g_varchar2) or
209: nvl(per_bpd_shd.g_old_rec.bpd_attribute14, hr_api.g_varchar2) <>
210: nvl(p_rec.bpd_attribute14, hr_api.g_varchar2) or
211: nvl(per_bpd_shd.g_old_rec.bpd_attribute15, hr_api.g_varchar2) <>
212: nvl(p_rec.bpd_attribute15, hr_api.g_varchar2) or
213: nvl(per_bpd_shd.g_old_rec.bpd_attribute16, hr_api.g_varchar2) <>
214: nvl(p_rec.bpd_attribute16, hr_api.g_varchar2) or
215: nvl(per_bpd_shd.g_old_rec.bpd_attribute17, hr_api.g_varchar2) <>
209: nvl(per_bpd_shd.g_old_rec.bpd_attribute14, hr_api.g_varchar2) <>
210: nvl(p_rec.bpd_attribute14, hr_api.g_varchar2) or
211: nvl(per_bpd_shd.g_old_rec.bpd_attribute15, hr_api.g_varchar2) <>
212: nvl(p_rec.bpd_attribute15, hr_api.g_varchar2) or
213: nvl(per_bpd_shd.g_old_rec.bpd_attribute16, hr_api.g_varchar2) <>
214: nvl(p_rec.bpd_attribute16, hr_api.g_varchar2) or
215: nvl(per_bpd_shd.g_old_rec.bpd_attribute17, hr_api.g_varchar2) <>
216: nvl(p_rec.bpd_attribute17, hr_api.g_varchar2) or
217: nvl(per_bpd_shd.g_old_rec.bpd_attribute18, hr_api.g_varchar2) <>
211: nvl(per_bpd_shd.g_old_rec.bpd_attribute15, hr_api.g_varchar2) <>
212: nvl(p_rec.bpd_attribute15, hr_api.g_varchar2) or
213: nvl(per_bpd_shd.g_old_rec.bpd_attribute16, hr_api.g_varchar2) <>
214: nvl(p_rec.bpd_attribute16, hr_api.g_varchar2) or
215: nvl(per_bpd_shd.g_old_rec.bpd_attribute17, hr_api.g_varchar2) <>
216: nvl(p_rec.bpd_attribute17, hr_api.g_varchar2) or
217: nvl(per_bpd_shd.g_old_rec.bpd_attribute18, hr_api.g_varchar2) <>
218: nvl(p_rec.bpd_attribute18, hr_api.g_varchar2) or
219: nvl(per_bpd_shd.g_old_rec.bpd_attribute19, hr_api.g_varchar2) <>
213: nvl(per_bpd_shd.g_old_rec.bpd_attribute16, hr_api.g_varchar2) <>
214: nvl(p_rec.bpd_attribute16, hr_api.g_varchar2) or
215: nvl(per_bpd_shd.g_old_rec.bpd_attribute17, hr_api.g_varchar2) <>
216: nvl(p_rec.bpd_attribute17, hr_api.g_varchar2) or
217: nvl(per_bpd_shd.g_old_rec.bpd_attribute18, hr_api.g_varchar2) <>
218: nvl(p_rec.bpd_attribute18, hr_api.g_varchar2) or
219: nvl(per_bpd_shd.g_old_rec.bpd_attribute19, hr_api.g_varchar2) <>
220: nvl(p_rec.bpd_attribute19, hr_api.g_varchar2) or
221: nvl(per_bpd_shd.g_old_rec.bpd_attribute20, hr_api.g_varchar2) <>
215: nvl(per_bpd_shd.g_old_rec.bpd_attribute17, hr_api.g_varchar2) <>
216: nvl(p_rec.bpd_attribute17, hr_api.g_varchar2) or
217: nvl(per_bpd_shd.g_old_rec.bpd_attribute18, hr_api.g_varchar2) <>
218: nvl(p_rec.bpd_attribute18, hr_api.g_varchar2) or
219: nvl(per_bpd_shd.g_old_rec.bpd_attribute19, hr_api.g_varchar2) <>
220: nvl(p_rec.bpd_attribute19, hr_api.g_varchar2) or
221: nvl(per_bpd_shd.g_old_rec.bpd_attribute20, hr_api.g_varchar2) <>
222: nvl(p_rec.bpd_attribute20, hr_api.g_varchar2) or
223: nvl(per_bpd_shd.g_old_rec.bpd_attribute21, hr_api.g_varchar2) <>
217: nvl(per_bpd_shd.g_old_rec.bpd_attribute18, hr_api.g_varchar2) <>
218: nvl(p_rec.bpd_attribute18, hr_api.g_varchar2) or
219: nvl(per_bpd_shd.g_old_rec.bpd_attribute19, hr_api.g_varchar2) <>
220: nvl(p_rec.bpd_attribute19, hr_api.g_varchar2) or
221: nvl(per_bpd_shd.g_old_rec.bpd_attribute20, hr_api.g_varchar2) <>
222: nvl(p_rec.bpd_attribute20, hr_api.g_varchar2) or
223: nvl(per_bpd_shd.g_old_rec.bpd_attribute21, hr_api.g_varchar2) <>
224: nvl(p_rec.bpd_attribute21, hr_api.g_varchar2) or
225: nvl(per_bpd_shd.g_old_rec.bpd_attribute22, hr_api.g_varchar2) <>
219: nvl(per_bpd_shd.g_old_rec.bpd_attribute19, hr_api.g_varchar2) <>
220: nvl(p_rec.bpd_attribute19, hr_api.g_varchar2) or
221: nvl(per_bpd_shd.g_old_rec.bpd_attribute20, hr_api.g_varchar2) <>
222: nvl(p_rec.bpd_attribute20, hr_api.g_varchar2) or
223: nvl(per_bpd_shd.g_old_rec.bpd_attribute21, hr_api.g_varchar2) <>
224: nvl(p_rec.bpd_attribute21, hr_api.g_varchar2) or
225: nvl(per_bpd_shd.g_old_rec.bpd_attribute22, hr_api.g_varchar2) <>
226: nvl(p_rec.bpd_attribute22, hr_api.g_varchar2) or
227: nvl(per_bpd_shd.g_old_rec.bpd_attribute23, hr_api.g_varchar2) <>
221: nvl(per_bpd_shd.g_old_rec.bpd_attribute20, hr_api.g_varchar2) <>
222: nvl(p_rec.bpd_attribute20, hr_api.g_varchar2) or
223: nvl(per_bpd_shd.g_old_rec.bpd_attribute21, hr_api.g_varchar2) <>
224: nvl(p_rec.bpd_attribute21, hr_api.g_varchar2) or
225: nvl(per_bpd_shd.g_old_rec.bpd_attribute22, hr_api.g_varchar2) <>
226: nvl(p_rec.bpd_attribute22, hr_api.g_varchar2) or
227: nvl(per_bpd_shd.g_old_rec.bpd_attribute23, hr_api.g_varchar2) <>
228: nvl(p_rec.bpd_attribute23, hr_api.g_varchar2) or
229: nvl(per_bpd_shd.g_old_rec.bpd_attribute24, hr_api.g_varchar2) <>
223: nvl(per_bpd_shd.g_old_rec.bpd_attribute21, hr_api.g_varchar2) <>
224: nvl(p_rec.bpd_attribute21, hr_api.g_varchar2) or
225: nvl(per_bpd_shd.g_old_rec.bpd_attribute22, hr_api.g_varchar2) <>
226: nvl(p_rec.bpd_attribute22, hr_api.g_varchar2) or
227: nvl(per_bpd_shd.g_old_rec.bpd_attribute23, hr_api.g_varchar2) <>
228: nvl(p_rec.bpd_attribute23, hr_api.g_varchar2) or
229: nvl(per_bpd_shd.g_old_rec.bpd_attribute24, hr_api.g_varchar2) <>
230: nvl(p_rec.bpd_attribute24, hr_api.g_varchar2) or
231: nvl(per_bpd_shd.g_old_rec.bpd_attribute25, hr_api.g_varchar2) <>
225: nvl(per_bpd_shd.g_old_rec.bpd_attribute22, hr_api.g_varchar2) <>
226: nvl(p_rec.bpd_attribute22, hr_api.g_varchar2) or
227: nvl(per_bpd_shd.g_old_rec.bpd_attribute23, hr_api.g_varchar2) <>
228: nvl(p_rec.bpd_attribute23, hr_api.g_varchar2) or
229: nvl(per_bpd_shd.g_old_rec.bpd_attribute24, hr_api.g_varchar2) <>
230: nvl(p_rec.bpd_attribute24, hr_api.g_varchar2) or
231: nvl(per_bpd_shd.g_old_rec.bpd_attribute25, hr_api.g_varchar2) <>
232: nvl(p_rec.bpd_attribute25, hr_api.g_varchar2) or
233: nvl(per_bpd_shd.g_old_rec.bpd_attribute26, hr_api.g_varchar2) <>
227: nvl(per_bpd_shd.g_old_rec.bpd_attribute23, hr_api.g_varchar2) <>
228: nvl(p_rec.bpd_attribute23, hr_api.g_varchar2) or
229: nvl(per_bpd_shd.g_old_rec.bpd_attribute24, hr_api.g_varchar2) <>
230: nvl(p_rec.bpd_attribute24, hr_api.g_varchar2) or
231: nvl(per_bpd_shd.g_old_rec.bpd_attribute25, hr_api.g_varchar2) <>
232: nvl(p_rec.bpd_attribute25, hr_api.g_varchar2) or
233: nvl(per_bpd_shd.g_old_rec.bpd_attribute26, hr_api.g_varchar2) <>
234: nvl(p_rec.bpd_attribute26, hr_api.g_varchar2) or
235: nvl(per_bpd_shd.g_old_rec.bpd_attribute27, hr_api.g_varchar2) <>
229: nvl(per_bpd_shd.g_old_rec.bpd_attribute24, hr_api.g_varchar2) <>
230: nvl(p_rec.bpd_attribute24, hr_api.g_varchar2) or
231: nvl(per_bpd_shd.g_old_rec.bpd_attribute25, hr_api.g_varchar2) <>
232: nvl(p_rec.bpd_attribute25, hr_api.g_varchar2) or
233: nvl(per_bpd_shd.g_old_rec.bpd_attribute26, hr_api.g_varchar2) <>
234: nvl(p_rec.bpd_attribute26, hr_api.g_varchar2) or
235: nvl(per_bpd_shd.g_old_rec.bpd_attribute27, hr_api.g_varchar2) <>
236: nvl(p_rec.bpd_attribute27, hr_api.g_varchar2) or
237: nvl(per_bpd_shd.g_old_rec.bpd_attribute28, hr_api.g_varchar2) <>
231: nvl(per_bpd_shd.g_old_rec.bpd_attribute25, hr_api.g_varchar2) <>
232: nvl(p_rec.bpd_attribute25, hr_api.g_varchar2) or
233: nvl(per_bpd_shd.g_old_rec.bpd_attribute26, hr_api.g_varchar2) <>
234: nvl(p_rec.bpd_attribute26, hr_api.g_varchar2) or
235: nvl(per_bpd_shd.g_old_rec.bpd_attribute27, hr_api.g_varchar2) <>
236: nvl(p_rec.bpd_attribute27, hr_api.g_varchar2) or
237: nvl(per_bpd_shd.g_old_rec.bpd_attribute28, hr_api.g_varchar2) <>
238: nvl(p_rec.bpd_attribute28, hr_api.g_varchar2) or
239: nvl(per_bpd_shd.g_old_rec.bpd_attribute29, hr_api.g_varchar2) <>
233: nvl(per_bpd_shd.g_old_rec.bpd_attribute26, hr_api.g_varchar2) <>
234: nvl(p_rec.bpd_attribute26, hr_api.g_varchar2) or
235: nvl(per_bpd_shd.g_old_rec.bpd_attribute27, hr_api.g_varchar2) <>
236: nvl(p_rec.bpd_attribute27, hr_api.g_varchar2) or
237: nvl(per_bpd_shd.g_old_rec.bpd_attribute28, hr_api.g_varchar2) <>
238: nvl(p_rec.bpd_attribute28, hr_api.g_varchar2) or
239: nvl(per_bpd_shd.g_old_rec.bpd_attribute29, hr_api.g_varchar2) <>
240: nvl(p_rec.bpd_attribute29, hr_api.g_varchar2) or
241: nvl(per_bpd_shd.g_old_rec.bpd_attribute30, hr_api.g_varchar2) <>
235: nvl(per_bpd_shd.g_old_rec.bpd_attribute27, hr_api.g_varchar2) <>
236: nvl(p_rec.bpd_attribute27, hr_api.g_varchar2) or
237: nvl(per_bpd_shd.g_old_rec.bpd_attribute28, hr_api.g_varchar2) <>
238: nvl(p_rec.bpd_attribute28, hr_api.g_varchar2) or
239: nvl(per_bpd_shd.g_old_rec.bpd_attribute29, hr_api.g_varchar2) <>
240: nvl(p_rec.bpd_attribute29, hr_api.g_varchar2) or
241: nvl(per_bpd_shd.g_old_rec.bpd_attribute30, hr_api.g_varchar2) <>
242: nvl(p_rec.bpd_attribute30, hr_api.g_varchar2) ))
243: or (p_rec.payment_detail_id is null) then
237: nvl(per_bpd_shd.g_old_rec.bpd_attribute28, hr_api.g_varchar2) <>
238: nvl(p_rec.bpd_attribute28, hr_api.g_varchar2) or
239: nvl(per_bpd_shd.g_old_rec.bpd_attribute29, hr_api.g_varchar2) <>
240: nvl(p_rec.bpd_attribute29, hr_api.g_varchar2) or
241: nvl(per_bpd_shd.g_old_rec.bpd_attribute30, hr_api.g_varchar2) <>
242: nvl(p_rec.bpd_attribute30, hr_api.g_varchar2) ))
243: or (p_rec.payment_detail_id is null) then
244: --
245: -- Only execute the validation if absolutely necessary:
343: -- have been altered.
344: --
345: -- {End Of Comments}
346: -- ----------------------------------------------------------------------------
347: Procedure chk_non_updateable_args(p_rec in per_bpd_shd.g_rec_type) IS
348: --
349: l_proc varchar2(72) := g_package || 'check_non_updateable_args';
350: l_error EXCEPTION;
351: l_argument varchar2(30);
355: --
356: -- Only proceed with the validation if a row exists for the current
357: -- record in the HR Schema.
358: --
359: IF NOT per_bpd_shd.api_updating
360: (p_payment_detail_id => p_rec.payment_detail_id
361: ,p_object_version_number => p_rec.object_version_number
362: ) THEN
363: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
367: --
368: hr_utility.set_location(l_proc,10);
369: --
370: IF nvl(p_rec.processed_assignment_id, hr_api.g_number) <>
371: per_bpd_shd.g_old_rec.processed_assignment_id then
372: l_argument:='processed_assignment_id';
373: raise l_error;
374: END IF;
375: hr_utility.set_location(l_proc,20);
374: END IF;
375: hr_utility.set_location(l_proc,20);
376: --
377: IF nvl(p_rec.personal_payment_method_id, hr_api.g_number) <>
378: per_bpd_shd.g_old_rec.personal_payment_method_id then
379: l_argument:='personal_payment_method_id';
380: raise l_error;
381: END IF;
382: hr_utility.set_location(l_proc,30);
381: END IF;
382: hr_utility.set_location(l_proc,30);
383: --
384: IF nvl(p_rec.business_group_id, hr_api.g_number) <>
385: per_bpd_shd.g_old_rec.business_group_id then
386: l_argument:='business_group_id';
387: raise l_error;
388: END IF;
389: hr_utility.set_location(l_proc,40);
539: BEGIN
540: --
541: -- Only perform the tests if a check_type exists and we are inserting
542: --
543: l_api_updating := per_bpd_shd.api_updating
544: (p_payment_detail_id => p_payment_detail_id
545: ,p_object_version_number => p_object_version_number);
546: --
547: IF p_check_type IS NOT NULL AND NOT l_api_updating THEN
611: fetch csr_unique_ids into l_exists;
612: if csr_unique_ids%FOUND then
613: --ids are not unique - raise error by calling constraint error
614: close csr_unique_ids;
615: per_bpd_shd.constraint_error('PER_BF_PAYMENT_DETAILS_UK1');
616: end if;
617: close csr_unique_ids;
618: --
619: hr_utility.set_location(' Leaving: '||l_proc, 50);
622: -- ----------------------------------------------------------------------------
623: -- |---------------------------< insert_validate >----------------------------|
624: -- ----------------------------------------------------------------------------
625: Procedure insert_validate(p_effective_date in date,
626: p_rec in per_bpd_shd.g_rec_type
627: ) is
628: --
629: l_proc varchar2(72) := g_package||'insert_validate';
630: --
665: -- ----------------------------------------------------------------------------
666: -- |---------------------------< update_validate >----------------------------|
667: -- ----------------------------------------------------------------------------
668: Procedure update_validate(p_effective_date in date,
669: p_rec in per_bpd_shd.g_rec_type
670: ) is
671: --
672: l_proc varchar2(72) := g_package||'update_validate';
673: --
696: --
697: -- ----------------------------------------------------------------------------
698: -- |---------------------------< delete_validate >----------------------------|
699: -- ----------------------------------------------------------------------------
700: Procedure delete_validate(p_rec in per_bpd_shd.g_rec_type) is
701: --
702: l_proc varchar2(72) := g_package||'delete_validate';
703: --
704: Begin