43: hr_utility.set_location('Entering:'|| l_proc, 10);
44: --
45: -- Ensure that all the mandatory parameter are not null
46: --
47: hr_api.mandatory_arg_error
48: (p_api_name => l_proc
49: ,p_argument => 'lp_enrollment_id'
50: ,p_argument_value => p_lp_enrollment_id
51: );
70: close csr_sec_grp;
71: --
72: -- Set the security_group_id in CLIENT_INFO
73: --
74: hr_api.set_security_group_id
75: (p_security_group_id => l_security_group_id
76: );
77: --
78: -- Set the sessions legislation context in HR_SESSION_DATA
76: );
77: --
78: -- Set the sessions legislation context in HR_SESSION_DATA
79: --
80: hr_api.set_legislation_context(l_legislation_code);
81: end if;
82: --
83: hr_utility.set_location(' Leaving:'|| l_proc, 20);
84: --
112: hr_utility.set_location('Entering:'|| l_proc, 10);
113: --
114: -- Ensure that all the mandatory parameter are not null
115: --
116: hr_api.mandatory_arg_error
117: (p_api_name => l_proc
118: ,p_argument => 'lp_enrollment_id'
119: ,p_argument_value => p_lp_enrollment_id
120: );
118: ,p_argument => 'lp_enrollment_id'
119: ,p_argument_value => p_lp_enrollment_id
120: );
121: --
122: if ( nvl(ota_lpe_bus.g_lp_enrollment_id, hr_api.g_number)
123: = p_lp_enrollment_id) then
124: --
125: -- The legislation code has already been found with a previous
126: -- call to this function. Just return the value in the global
194: begin
195: hr_utility.set_location('Entering:'||l_proc,10);
196: --
197: if ((p_rec.lp_enrollment_id is not null) and (
198: nvl(ota_lpe_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(ota_lpe_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(ota_lpe_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
195: hr_utility.set_location('Entering:'||l_proc,10);
196: --
197: if ((p_rec.lp_enrollment_id is not null) and (
198: nvl(ota_lpe_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(ota_lpe_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(ota_lpe_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
196: --
197: if ((p_rec.lp_enrollment_id is not null) and (
198: nvl(ota_lpe_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(ota_lpe_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(ota_lpe_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(ota_lpe_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
197: if ((p_rec.lp_enrollment_id is not null) and (
198: nvl(ota_lpe_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(ota_lpe_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(ota_lpe_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(ota_lpe_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
198: nvl(ota_lpe_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(ota_lpe_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(ota_lpe_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(ota_lpe_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(ota_lpe_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(ota_lpe_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(ota_lpe_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(ota_lpe_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(ota_lpe_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
200: nvl(ota_lpe_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(ota_lpe_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(ota_lpe_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(ota_lpe_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(ota_lpe_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(ota_lpe_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(ota_lpe_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(ota_lpe_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(ota_lpe_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
202: nvl(ota_lpe_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(ota_lpe_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(ota_lpe_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(ota_lpe_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(ota_lpe_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(ota_lpe_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(ota_lpe_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(ota_lpe_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(ota_lpe_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
204: nvl(ota_lpe_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(ota_lpe_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(ota_lpe_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(ota_lpe_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(ota_lpe_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(ota_lpe_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(ota_lpe_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(ota_lpe_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(ota_lpe_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
206: nvl(ota_lpe_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(ota_lpe_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(ota_lpe_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(ota_lpe_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(ota_lpe_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(ota_lpe_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(ota_lpe_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(ota_lpe_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(ota_lpe_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
208: nvl(ota_lpe_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(ota_lpe_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(ota_lpe_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(ota_lpe_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(ota_lpe_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(ota_lpe_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(ota_lpe_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(ota_lpe_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(ota_lpe_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
210: nvl(ota_lpe_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(ota_lpe_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(ota_lpe_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(ota_lpe_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(ota_lpe_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(ota_lpe_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(ota_lpe_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(ota_lpe_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(ota_lpe_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
212: nvl(ota_lpe_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(ota_lpe_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(ota_lpe_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(ota_lpe_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(ota_lpe_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(ota_lpe_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(ota_lpe_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(ota_lpe_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(ota_lpe_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
214: nvl(ota_lpe_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(ota_lpe_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(ota_lpe_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(ota_lpe_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(ota_lpe_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(ota_lpe_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(ota_lpe_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(ota_lpe_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(ota_lpe_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
216: nvl(ota_lpe_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(ota_lpe_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(ota_lpe_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(ota_lpe_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(ota_lpe_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(ota_lpe_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(ota_lpe_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(ota_lpe_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(ota_lpe_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
218: nvl(ota_lpe_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(ota_lpe_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(ota_lpe_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(ota_lpe_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(ota_lpe_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(ota_lpe_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(ota_lpe_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(ota_lpe_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(ota_lpe_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
220: nvl(ota_lpe_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(ota_lpe_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(ota_lpe_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(ota_lpe_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(ota_lpe_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(ota_lpe_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(ota_lpe_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(ota_lpe_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(ota_lpe_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) or
222: nvl(ota_lpe_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(ota_lpe_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(ota_lpe_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(ota_lpe_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) or
230: nvl(ota_lpe_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(ota_lpe_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(ota_lpe_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(ota_lpe_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) or
230: nvl(ota_lpe_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute16, hr_api.g_varchar2) or
224: nvl(ota_lpe_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(ota_lpe_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(ota_lpe_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) or
230: nvl(ota_lpe_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute16, hr_api.g_varchar2) or
232: nvl(ota_lpe_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(ota_lpe_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(ota_lpe_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) or
230: nvl(ota_lpe_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute16, hr_api.g_varchar2) or
232: nvl(ota_lpe_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute17, hr_api.g_varchar2) or
226: nvl(ota_lpe_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(ota_lpe_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) or
230: nvl(ota_lpe_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute16, hr_api.g_varchar2) or
232: nvl(ota_lpe_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute17, hr_api.g_varchar2) or
234: nvl(ota_lpe_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(ota_lpe_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) or
230: nvl(ota_lpe_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute16, hr_api.g_varchar2) or
232: nvl(ota_lpe_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute17, hr_api.g_varchar2) or
234: nvl(ota_lpe_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute18, hr_api.g_varchar2) or
228: nvl(ota_lpe_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) or
230: nvl(ota_lpe_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute16, hr_api.g_varchar2) or
232: nvl(ota_lpe_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute17, hr_api.g_varchar2) or
234: nvl(ota_lpe_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute18, hr_api.g_varchar2) or
236: nvl(ota_lpe_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) or
230: nvl(ota_lpe_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute16, hr_api.g_varchar2) or
232: nvl(ota_lpe_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute17, hr_api.g_varchar2) or
234: nvl(ota_lpe_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute18, hr_api.g_varchar2) or
236: nvl(ota_lpe_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute19, hr_api.g_varchar2) or
230: nvl(ota_lpe_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute16, hr_api.g_varchar2) or
232: nvl(ota_lpe_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute17, hr_api.g_varchar2) or
234: nvl(ota_lpe_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute18, hr_api.g_varchar2) or
236: nvl(ota_lpe_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute19, hr_api.g_varchar2) or
238: nvl(ota_lpe_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute16, hr_api.g_varchar2) or
232: nvl(ota_lpe_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute17, hr_api.g_varchar2) or
234: nvl(ota_lpe_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute18, hr_api.g_varchar2) or
236: nvl(ota_lpe_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute19, hr_api.g_varchar2) or
238: nvl(ota_lpe_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute20, hr_api.g_varchar2) or
232: nvl(ota_lpe_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute17, hr_api.g_varchar2) or
234: nvl(ota_lpe_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute18, hr_api.g_varchar2) or
236: nvl(ota_lpe_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute19, hr_api.g_varchar2) or
238: nvl(ota_lpe_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute20, hr_api.g_varchar2) or
240: nvl(ota_lpe_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute17, hr_api.g_varchar2) or
234: nvl(ota_lpe_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute18, hr_api.g_varchar2) or
236: nvl(ota_lpe_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute19, hr_api.g_varchar2) or
238: nvl(ota_lpe_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute20, hr_api.g_varchar2) or
240: nvl(ota_lpe_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute21, hr_api.g_varchar2) or
234: nvl(ota_lpe_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute18, hr_api.g_varchar2) or
236: nvl(ota_lpe_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute19, hr_api.g_varchar2) or
238: nvl(ota_lpe_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute20, hr_api.g_varchar2) or
240: nvl(ota_lpe_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute21, hr_api.g_varchar2) or
242: nvl(ota_lpe_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute18, hr_api.g_varchar2) or
236: nvl(ota_lpe_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute19, hr_api.g_varchar2) or
238: nvl(ota_lpe_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute20, hr_api.g_varchar2) or
240: nvl(ota_lpe_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute21, hr_api.g_varchar2) or
242: nvl(ota_lpe_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute22, hr_api.g_varchar2) or
236: nvl(ota_lpe_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute19, hr_api.g_varchar2) or
238: nvl(ota_lpe_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute20, hr_api.g_varchar2) or
240: nvl(ota_lpe_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute21, hr_api.g_varchar2) or
242: nvl(ota_lpe_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute22, hr_api.g_varchar2) or
244: nvl(ota_lpe_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute19, hr_api.g_varchar2) or
238: nvl(ota_lpe_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute20, hr_api.g_varchar2) or
240: nvl(ota_lpe_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute21, hr_api.g_varchar2) or
242: nvl(ota_lpe_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute22, hr_api.g_varchar2) or
244: nvl(ota_lpe_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute23, hr_api.g_varchar2) or
238: nvl(ota_lpe_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute20, hr_api.g_varchar2) or
240: nvl(ota_lpe_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute21, hr_api.g_varchar2) or
242: nvl(ota_lpe_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute22, hr_api.g_varchar2) or
244: nvl(ota_lpe_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute23, hr_api.g_varchar2) or
246: nvl(ota_lpe_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute20, hr_api.g_varchar2) or
240: nvl(ota_lpe_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute21, hr_api.g_varchar2) or
242: nvl(ota_lpe_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute22, hr_api.g_varchar2) or
244: nvl(ota_lpe_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute23, hr_api.g_varchar2) or
246: nvl(ota_lpe_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute24, hr_api.g_varchar2) or
240: nvl(ota_lpe_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute21, hr_api.g_varchar2) or
242: nvl(ota_lpe_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute22, hr_api.g_varchar2) or
244: nvl(ota_lpe_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute23, hr_api.g_varchar2) or
246: nvl(ota_lpe_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute24, hr_api.g_varchar2) or
248: nvl(ota_lpe_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute21, hr_api.g_varchar2) or
242: nvl(ota_lpe_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute22, hr_api.g_varchar2) or
244: nvl(ota_lpe_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute23, hr_api.g_varchar2) or
246: nvl(ota_lpe_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute24, hr_api.g_varchar2) or
248: nvl(ota_lpe_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute25, hr_api.g_varchar2) or
242: nvl(ota_lpe_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute22, hr_api.g_varchar2) or
244: nvl(ota_lpe_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute23, hr_api.g_varchar2) or
246: nvl(ota_lpe_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute24, hr_api.g_varchar2) or
248: nvl(ota_lpe_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute25, hr_api.g_varchar2) or
250: nvl(ota_lpe_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute22, hr_api.g_varchar2) or
244: nvl(ota_lpe_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute23, hr_api.g_varchar2) or
246: nvl(ota_lpe_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute24, hr_api.g_varchar2) or
248: nvl(ota_lpe_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute25, hr_api.g_varchar2) or
250: nvl(ota_lpe_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute26, hr_api.g_varchar2) or
244: nvl(ota_lpe_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute23, hr_api.g_varchar2) or
246: nvl(ota_lpe_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute24, hr_api.g_varchar2) or
248: nvl(ota_lpe_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute25, hr_api.g_varchar2) or
250: nvl(ota_lpe_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute26, hr_api.g_varchar2) or
252: nvl(ota_lpe_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute23, hr_api.g_varchar2) or
246: nvl(ota_lpe_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute24, hr_api.g_varchar2) or
248: nvl(ota_lpe_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute25, hr_api.g_varchar2) or
250: nvl(ota_lpe_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute26, hr_api.g_varchar2) or
252: nvl(ota_lpe_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute27, hr_api.g_varchar2) or
246: nvl(ota_lpe_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute24, hr_api.g_varchar2) or
248: nvl(ota_lpe_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute25, hr_api.g_varchar2) or
250: nvl(ota_lpe_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute26, hr_api.g_varchar2) or
252: nvl(ota_lpe_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute27, hr_api.g_varchar2) or
254: nvl(ota_lpe_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute24, hr_api.g_varchar2) or
248: nvl(ota_lpe_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute25, hr_api.g_varchar2) or
250: nvl(ota_lpe_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute26, hr_api.g_varchar2) or
252: nvl(ota_lpe_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute27, hr_api.g_varchar2) or
254: nvl(ota_lpe_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute28, hr_api.g_varchar2) or
248: nvl(ota_lpe_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute25, hr_api.g_varchar2) or
250: nvl(ota_lpe_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute26, hr_api.g_varchar2) or
252: nvl(ota_lpe_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute27, hr_api.g_varchar2) or
254: nvl(ota_lpe_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute28, hr_api.g_varchar2) or
256: nvl(ota_lpe_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute25, hr_api.g_varchar2) or
250: nvl(ota_lpe_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute26, hr_api.g_varchar2) or
252: nvl(ota_lpe_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute27, hr_api.g_varchar2) or
254: nvl(ota_lpe_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute28, hr_api.g_varchar2) or
256: nvl(ota_lpe_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute29, hr_api.g_varchar2) or
250: nvl(ota_lpe_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute26, hr_api.g_varchar2) or
252: nvl(ota_lpe_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute27, hr_api.g_varchar2) or
254: nvl(ota_lpe_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute28, hr_api.g_varchar2) or
256: nvl(ota_lpe_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute29, hr_api.g_varchar2) or
258: nvl(ota_lpe_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute26, hr_api.g_varchar2) or
252: nvl(ota_lpe_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute27, hr_api.g_varchar2) or
254: nvl(ota_lpe_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute28, hr_api.g_varchar2) or
256: nvl(ota_lpe_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute29, hr_api.g_varchar2) or
258: nvl(ota_lpe_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute30, hr_api.g_varchar2) ))
252: nvl(ota_lpe_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute27, hr_api.g_varchar2) or
254: nvl(ota_lpe_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute28, hr_api.g_varchar2) or
256: nvl(ota_lpe_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute29, hr_api.g_varchar2) or
258: nvl(ota_lpe_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute30, hr_api.g_varchar2) ))
260: or (p_rec.lp_enrollment_id is null) then
253: nvl(p_rec.attribute27, hr_api.g_varchar2) or
254: nvl(ota_lpe_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute28, hr_api.g_varchar2) or
256: nvl(ota_lpe_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute29, hr_api.g_varchar2) or
258: nvl(ota_lpe_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute30, hr_api.g_varchar2) ))
260: or (p_rec.lp_enrollment_id is null) then
261: --
254: nvl(ota_lpe_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute28, hr_api.g_varchar2) or
256: nvl(ota_lpe_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute29, hr_api.g_varchar2) or
258: nvl(ota_lpe_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute30, hr_api.g_varchar2) ))
260: or (p_rec.lp_enrollment_id is null) then
261: --
262: -- Only execute the validation if absolutely necessary:
255: nvl(p_rec.attribute28, hr_api.g_varchar2) or
256: nvl(ota_lpe_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute29, hr_api.g_varchar2) or
258: nvl(ota_lpe_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute30, hr_api.g_varchar2) ))
260: or (p_rec.lp_enrollment_id is null) then
261: --
262: -- Only execute the validation if absolutely necessary:
263: -- a) During update, the structure column value or any
505: --
506: -- check mandatory parameters have been set
507: --
508: hr_utility.set_location(' Step:'|| l_proc, 10);
509: hr_api.mandatory_arg_error
510: (p_api_name => l_proc
511: ,p_argument => 'p_path_status_code'
512: ,p_argument_value => p_path_status_code
513: );
512: ,p_argument_value => p_path_status_code
513: );
514: --
515: hr_utility.set_location(' Step:'|| l_proc, 20);
516: IF hr_api.not_exists_in_hr_lookups
517: (p_effective_date => p_effective_date
518: ,p_lookup_type => 'OTA_LEARNING_PATH_STATUS'
519: ,p_lookup_code => p_path_status_code
520: ) THEN
553: --
554: -- check mandatory parameters have been set
555: --
556: hr_utility.set_location(' Step:'|| l_proc, 10);
557: hr_api.mandatory_arg_error
558: (p_api_name => l_proc
559: ,p_argument => 'p_enrollment_source_code'
560: ,p_argument_value => p_enrollment_source_code
561: );
560: ,p_argument_value => p_enrollment_source_code
561: );
562: --
563: hr_utility.set_location(' Step:'|| l_proc, 20);
564: IF hr_api.not_exists_in_hr_lookups
565: (p_effective_date => p_effective_date
566: ,p_lookup_type => 'OTA_TRAINING_PLAN_SOURCE'
567: ,p_lookup_code => p_enrollment_source_code
568: ) THEN
607: --
608: -- check mandatory parameters have been set
609: --
610: hr_utility.set_location(' Step:'|| l_proc, 10);
611: hr_api.mandatory_arg_error
612: (p_api_name => l_proc
613: ,p_argument => 'p_lp_enrollment_id'
614: ,p_argument_value => p_lp_enrollment_id
615: );
669: --
670: -- check mandatory parameters have been set
671: --
672: hr_utility.set_location(' Step:'|| l_proc, 10);
673: hr_api.mandatory_arg_error
674: (p_api_name => l_proc
675: ,p_argument => 'p_learning_path_id'
676: ,p_argument_value => p_learning_path_id
677: );
719: hr_utility.set_location('Entering:'||l_proc, 5);
720: --
721: -- Call all supporting business operations
722: --
723: hr_api.validate_bus_grp_id
724: (p_business_group_id => p_rec.business_group_id
725: ,p_associated_column1 => ota_lpe_shd.g_tab_nam
726: || '.BUSINESS_GROUP_ID');
727: --
771: hr_utility.set_location('Entering:'||l_proc, 5);
772: --
773: -- Call all supporting business operations
774: --
775: hr_api.validate_bus_grp_id
776: (p_business_group_id => p_rec.business_group_id
777: ,p_associated_column1 => ota_lpe_shd.g_tab_nam
778: || '.BUSINESS_GROUP_ID');
779: --