42: hr_utility.set_location('Entering:'|| l_proc, 10);
43: --
44: -- Ensure that all the mandatory parameter are not null
45: --
46: hr_api.mandatory_arg_error
47: (p_api_name => l_proc
48: ,p_argument => 'training_plan_id'
49: ,p_argument_value => p_training_plan_id
50: );
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: END IF;
108: hr_utility.set_location('Entering:'|| l_proc, 10);
109: --
110: -- Ensure that all the mandatory parameter are not null
111: --
112: hr_api.mandatory_arg_error
113: (p_api_name => l_proc
114: ,p_argument => 'training_plan_id'
115: ,p_argument_value => p_training_plan_id
116: );
114: ,p_argument => 'training_plan_id'
115: ,p_argument_value => p_training_plan_id
116: );
117: --
118: IF ( NVL(ota_tps_bus.g_training_plan_id, hr_api.g_number)
119: = p_training_plan_id) THEN
120: --
121: -- The legislation code has already been found with a previous
122: -- call to this function. Just return the value in the global
190: BEGIN
191: hr_utility.set_location('Entering:'||l_proc,10);
192: --
193: IF ((p_rec.training_plan_id IS NOT NULL) AND (
194: NVL(ota_tps_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
195: NVL(p_rec.attribute_category, hr_api.g_varchar2) OR
196: NVL(ota_tps_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
197: NVL(p_rec.attribute1, hr_api.g_varchar2) OR
198: NVL(ota_tps_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
191: hr_utility.set_location('Entering:'||l_proc,10);
192: --
193: IF ((p_rec.training_plan_id IS NOT NULL) AND (
194: NVL(ota_tps_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
195: NVL(p_rec.attribute_category, hr_api.g_varchar2) OR
196: NVL(ota_tps_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
197: NVL(p_rec.attribute1, hr_api.g_varchar2) OR
198: NVL(ota_tps_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
199: NVL(p_rec.attribute2, hr_api.g_varchar2) OR
192: --
193: IF ((p_rec.training_plan_id IS NOT NULL) AND (
194: NVL(ota_tps_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
195: NVL(p_rec.attribute_category, hr_api.g_varchar2) OR
196: NVL(ota_tps_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
197: NVL(p_rec.attribute1, hr_api.g_varchar2) OR
198: NVL(ota_tps_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
199: NVL(p_rec.attribute2, hr_api.g_varchar2) OR
200: NVL(ota_tps_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
193: IF ((p_rec.training_plan_id IS NOT NULL) AND (
194: NVL(ota_tps_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
195: NVL(p_rec.attribute_category, hr_api.g_varchar2) OR
196: NVL(ota_tps_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
197: NVL(p_rec.attribute1, hr_api.g_varchar2) OR
198: NVL(ota_tps_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
199: NVL(p_rec.attribute2, hr_api.g_varchar2) OR
200: NVL(ota_tps_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
201: NVL(p_rec.attribute3, hr_api.g_varchar2) OR
194: NVL(ota_tps_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
195: NVL(p_rec.attribute_category, hr_api.g_varchar2) OR
196: NVL(ota_tps_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
197: NVL(p_rec.attribute1, hr_api.g_varchar2) OR
198: NVL(ota_tps_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
199: NVL(p_rec.attribute2, hr_api.g_varchar2) OR
200: NVL(ota_tps_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
201: NVL(p_rec.attribute3, hr_api.g_varchar2) OR
202: NVL(ota_tps_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
195: NVL(p_rec.attribute_category, hr_api.g_varchar2) OR
196: NVL(ota_tps_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
197: NVL(p_rec.attribute1, hr_api.g_varchar2) OR
198: NVL(ota_tps_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
199: NVL(p_rec.attribute2, hr_api.g_varchar2) OR
200: NVL(ota_tps_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
201: NVL(p_rec.attribute3, hr_api.g_varchar2) OR
202: NVL(ota_tps_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
203: NVL(p_rec.attribute4, hr_api.g_varchar2) OR
196: NVL(ota_tps_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
197: NVL(p_rec.attribute1, hr_api.g_varchar2) OR
198: NVL(ota_tps_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
199: NVL(p_rec.attribute2, hr_api.g_varchar2) OR
200: NVL(ota_tps_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
201: NVL(p_rec.attribute3, hr_api.g_varchar2) OR
202: NVL(ota_tps_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
203: NVL(p_rec.attribute4, hr_api.g_varchar2) OR
204: NVL(ota_tps_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
197: NVL(p_rec.attribute1, hr_api.g_varchar2) OR
198: NVL(ota_tps_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
199: NVL(p_rec.attribute2, hr_api.g_varchar2) OR
200: NVL(ota_tps_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
201: NVL(p_rec.attribute3, hr_api.g_varchar2) OR
202: NVL(ota_tps_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
203: NVL(p_rec.attribute4, hr_api.g_varchar2) OR
204: NVL(ota_tps_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
205: NVL(p_rec.attribute5, hr_api.g_varchar2) OR
198: NVL(ota_tps_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
199: NVL(p_rec.attribute2, hr_api.g_varchar2) OR
200: NVL(ota_tps_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
201: NVL(p_rec.attribute3, hr_api.g_varchar2) OR
202: NVL(ota_tps_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
203: NVL(p_rec.attribute4, hr_api.g_varchar2) OR
204: NVL(ota_tps_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
205: NVL(p_rec.attribute5, hr_api.g_varchar2) OR
206: NVL(ota_tps_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
199: NVL(p_rec.attribute2, hr_api.g_varchar2) OR
200: NVL(ota_tps_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
201: NVL(p_rec.attribute3, hr_api.g_varchar2) OR
202: NVL(ota_tps_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
203: NVL(p_rec.attribute4, hr_api.g_varchar2) OR
204: NVL(ota_tps_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
205: NVL(p_rec.attribute5, hr_api.g_varchar2) OR
206: NVL(ota_tps_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
207: NVL(p_rec.attribute6, hr_api.g_varchar2) OR
200: NVL(ota_tps_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
201: NVL(p_rec.attribute3, hr_api.g_varchar2) OR
202: NVL(ota_tps_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
203: NVL(p_rec.attribute4, hr_api.g_varchar2) OR
204: NVL(ota_tps_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
205: NVL(p_rec.attribute5, hr_api.g_varchar2) OR
206: NVL(ota_tps_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
207: NVL(p_rec.attribute6, hr_api.g_varchar2) OR
208: NVL(ota_tps_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
201: NVL(p_rec.attribute3, hr_api.g_varchar2) OR
202: NVL(ota_tps_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
203: NVL(p_rec.attribute4, hr_api.g_varchar2) OR
204: NVL(ota_tps_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
205: NVL(p_rec.attribute5, hr_api.g_varchar2) OR
206: NVL(ota_tps_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
207: NVL(p_rec.attribute6, hr_api.g_varchar2) OR
208: NVL(ota_tps_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
209: NVL(p_rec.attribute7, hr_api.g_varchar2) OR
202: NVL(ota_tps_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
203: NVL(p_rec.attribute4, hr_api.g_varchar2) OR
204: NVL(ota_tps_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
205: NVL(p_rec.attribute5, hr_api.g_varchar2) OR
206: NVL(ota_tps_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
207: NVL(p_rec.attribute6, hr_api.g_varchar2) OR
208: NVL(ota_tps_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
209: NVL(p_rec.attribute7, hr_api.g_varchar2) OR
210: NVL(ota_tps_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
203: NVL(p_rec.attribute4, hr_api.g_varchar2) OR
204: NVL(ota_tps_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
205: NVL(p_rec.attribute5, hr_api.g_varchar2) OR
206: NVL(ota_tps_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
207: NVL(p_rec.attribute6, hr_api.g_varchar2) OR
208: NVL(ota_tps_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
209: NVL(p_rec.attribute7, hr_api.g_varchar2) OR
210: NVL(ota_tps_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
211: NVL(p_rec.attribute8, hr_api.g_varchar2) OR
204: NVL(ota_tps_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
205: NVL(p_rec.attribute5, hr_api.g_varchar2) OR
206: NVL(ota_tps_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
207: NVL(p_rec.attribute6, hr_api.g_varchar2) OR
208: NVL(ota_tps_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
209: NVL(p_rec.attribute7, hr_api.g_varchar2) OR
210: NVL(ota_tps_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
211: NVL(p_rec.attribute8, hr_api.g_varchar2) OR
212: NVL(ota_tps_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
205: NVL(p_rec.attribute5, hr_api.g_varchar2) OR
206: NVL(ota_tps_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
207: NVL(p_rec.attribute6, hr_api.g_varchar2) OR
208: NVL(ota_tps_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
209: NVL(p_rec.attribute7, hr_api.g_varchar2) OR
210: NVL(ota_tps_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
211: NVL(p_rec.attribute8, hr_api.g_varchar2) OR
212: NVL(ota_tps_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
213: NVL(p_rec.attribute9, hr_api.g_varchar2) OR
206: NVL(ota_tps_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
207: NVL(p_rec.attribute6, hr_api.g_varchar2) OR
208: NVL(ota_tps_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
209: NVL(p_rec.attribute7, hr_api.g_varchar2) OR
210: NVL(ota_tps_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
211: NVL(p_rec.attribute8, hr_api.g_varchar2) OR
212: NVL(ota_tps_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
213: NVL(p_rec.attribute9, hr_api.g_varchar2) OR
214: NVL(ota_tps_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
207: NVL(p_rec.attribute6, hr_api.g_varchar2) OR
208: NVL(ota_tps_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
209: NVL(p_rec.attribute7, hr_api.g_varchar2) OR
210: NVL(ota_tps_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
211: NVL(p_rec.attribute8, hr_api.g_varchar2) OR
212: NVL(ota_tps_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
213: NVL(p_rec.attribute9, hr_api.g_varchar2) OR
214: NVL(ota_tps_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
215: NVL(p_rec.attribute10, hr_api.g_varchar2) OR
208: NVL(ota_tps_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
209: NVL(p_rec.attribute7, hr_api.g_varchar2) OR
210: NVL(ota_tps_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
211: NVL(p_rec.attribute8, hr_api.g_varchar2) OR
212: NVL(ota_tps_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
213: NVL(p_rec.attribute9, hr_api.g_varchar2) OR
214: NVL(ota_tps_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
215: NVL(p_rec.attribute10, hr_api.g_varchar2) OR
216: NVL(ota_tps_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
209: NVL(p_rec.attribute7, hr_api.g_varchar2) OR
210: NVL(ota_tps_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
211: NVL(p_rec.attribute8, hr_api.g_varchar2) OR
212: NVL(ota_tps_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
213: NVL(p_rec.attribute9, hr_api.g_varchar2) OR
214: NVL(ota_tps_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
215: NVL(p_rec.attribute10, hr_api.g_varchar2) OR
216: NVL(ota_tps_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
217: NVL(p_rec.attribute11, hr_api.g_varchar2) OR
210: NVL(ota_tps_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
211: NVL(p_rec.attribute8, hr_api.g_varchar2) OR
212: NVL(ota_tps_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
213: NVL(p_rec.attribute9, hr_api.g_varchar2) OR
214: NVL(ota_tps_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
215: NVL(p_rec.attribute10, hr_api.g_varchar2) OR
216: NVL(ota_tps_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
217: NVL(p_rec.attribute11, hr_api.g_varchar2) OR
218: NVL(ota_tps_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
211: NVL(p_rec.attribute8, hr_api.g_varchar2) OR
212: NVL(ota_tps_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
213: NVL(p_rec.attribute9, hr_api.g_varchar2) OR
214: NVL(ota_tps_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
215: NVL(p_rec.attribute10, hr_api.g_varchar2) OR
216: NVL(ota_tps_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
217: NVL(p_rec.attribute11, hr_api.g_varchar2) OR
218: NVL(ota_tps_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
219: NVL(p_rec.attribute12, hr_api.g_varchar2) OR
212: NVL(ota_tps_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
213: NVL(p_rec.attribute9, hr_api.g_varchar2) OR
214: NVL(ota_tps_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
215: NVL(p_rec.attribute10, hr_api.g_varchar2) OR
216: NVL(ota_tps_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
217: NVL(p_rec.attribute11, hr_api.g_varchar2) OR
218: NVL(ota_tps_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
219: NVL(p_rec.attribute12, hr_api.g_varchar2) OR
220: NVL(ota_tps_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
213: NVL(p_rec.attribute9, hr_api.g_varchar2) OR
214: NVL(ota_tps_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
215: NVL(p_rec.attribute10, hr_api.g_varchar2) OR
216: NVL(ota_tps_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
217: NVL(p_rec.attribute11, hr_api.g_varchar2) OR
218: NVL(ota_tps_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
219: NVL(p_rec.attribute12, hr_api.g_varchar2) OR
220: NVL(ota_tps_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
221: NVL(p_rec.attribute13, hr_api.g_varchar2) OR
214: NVL(ota_tps_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
215: NVL(p_rec.attribute10, hr_api.g_varchar2) OR
216: NVL(ota_tps_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
217: NVL(p_rec.attribute11, hr_api.g_varchar2) OR
218: NVL(ota_tps_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
219: NVL(p_rec.attribute12, hr_api.g_varchar2) OR
220: NVL(ota_tps_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
221: NVL(p_rec.attribute13, hr_api.g_varchar2) OR
222: NVL(ota_tps_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
215: NVL(p_rec.attribute10, hr_api.g_varchar2) OR
216: NVL(ota_tps_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
217: NVL(p_rec.attribute11, hr_api.g_varchar2) OR
218: NVL(ota_tps_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
219: NVL(p_rec.attribute12, hr_api.g_varchar2) OR
220: NVL(ota_tps_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
221: NVL(p_rec.attribute13, hr_api.g_varchar2) OR
222: NVL(ota_tps_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
223: NVL(p_rec.attribute14, hr_api.g_varchar2) OR
216: NVL(ota_tps_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
217: NVL(p_rec.attribute11, hr_api.g_varchar2) OR
218: NVL(ota_tps_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
219: NVL(p_rec.attribute12, hr_api.g_varchar2) OR
220: NVL(ota_tps_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
221: NVL(p_rec.attribute13, hr_api.g_varchar2) OR
222: NVL(ota_tps_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
223: NVL(p_rec.attribute14, hr_api.g_varchar2) OR
224: NVL(ota_tps_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
217: NVL(p_rec.attribute11, hr_api.g_varchar2) OR
218: NVL(ota_tps_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
219: NVL(p_rec.attribute12, hr_api.g_varchar2) OR
220: NVL(ota_tps_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
221: NVL(p_rec.attribute13, hr_api.g_varchar2) OR
222: NVL(ota_tps_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
223: NVL(p_rec.attribute14, hr_api.g_varchar2) OR
224: NVL(ota_tps_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
225: NVL(p_rec.attribute15, hr_api.g_varchar2) OR
218: NVL(ota_tps_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
219: NVL(p_rec.attribute12, hr_api.g_varchar2) OR
220: NVL(ota_tps_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
221: NVL(p_rec.attribute13, hr_api.g_varchar2) OR
222: NVL(ota_tps_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
223: NVL(p_rec.attribute14, hr_api.g_varchar2) OR
224: NVL(ota_tps_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
225: NVL(p_rec.attribute15, hr_api.g_varchar2) OR
226: NVL(ota_tps_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
219: NVL(p_rec.attribute12, hr_api.g_varchar2) OR
220: NVL(ota_tps_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
221: NVL(p_rec.attribute13, hr_api.g_varchar2) OR
222: NVL(ota_tps_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
223: NVL(p_rec.attribute14, hr_api.g_varchar2) OR
224: NVL(ota_tps_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
225: NVL(p_rec.attribute15, hr_api.g_varchar2) OR
226: NVL(ota_tps_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
227: NVL(p_rec.attribute16, hr_api.g_varchar2) OR
220: NVL(ota_tps_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
221: NVL(p_rec.attribute13, hr_api.g_varchar2) OR
222: NVL(ota_tps_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
223: NVL(p_rec.attribute14, hr_api.g_varchar2) OR
224: NVL(ota_tps_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
225: NVL(p_rec.attribute15, hr_api.g_varchar2) OR
226: NVL(ota_tps_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
227: NVL(p_rec.attribute16, hr_api.g_varchar2) OR
228: NVL(ota_tps_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
221: NVL(p_rec.attribute13, hr_api.g_varchar2) OR
222: NVL(ota_tps_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
223: NVL(p_rec.attribute14, hr_api.g_varchar2) OR
224: NVL(ota_tps_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
225: NVL(p_rec.attribute15, hr_api.g_varchar2) OR
226: NVL(ota_tps_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
227: NVL(p_rec.attribute16, hr_api.g_varchar2) OR
228: NVL(ota_tps_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
229: NVL(p_rec.attribute17, hr_api.g_varchar2) OR
222: NVL(ota_tps_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
223: NVL(p_rec.attribute14, hr_api.g_varchar2) OR
224: NVL(ota_tps_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
225: NVL(p_rec.attribute15, hr_api.g_varchar2) OR
226: NVL(ota_tps_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
227: NVL(p_rec.attribute16, hr_api.g_varchar2) OR
228: NVL(ota_tps_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
229: NVL(p_rec.attribute17, hr_api.g_varchar2) OR
230: NVL(ota_tps_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
223: NVL(p_rec.attribute14, hr_api.g_varchar2) OR
224: NVL(ota_tps_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
225: NVL(p_rec.attribute15, hr_api.g_varchar2) OR
226: NVL(ota_tps_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
227: NVL(p_rec.attribute16, hr_api.g_varchar2) OR
228: NVL(ota_tps_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
229: NVL(p_rec.attribute17, hr_api.g_varchar2) OR
230: NVL(ota_tps_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
231: NVL(p_rec.attribute18, hr_api.g_varchar2) OR
224: NVL(ota_tps_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
225: NVL(p_rec.attribute15, hr_api.g_varchar2) OR
226: NVL(ota_tps_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
227: NVL(p_rec.attribute16, hr_api.g_varchar2) OR
228: NVL(ota_tps_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
229: NVL(p_rec.attribute17, hr_api.g_varchar2) OR
230: NVL(ota_tps_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
231: NVL(p_rec.attribute18, hr_api.g_varchar2) OR
232: NVL(ota_tps_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
225: NVL(p_rec.attribute15, hr_api.g_varchar2) OR
226: NVL(ota_tps_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
227: NVL(p_rec.attribute16, hr_api.g_varchar2) OR
228: NVL(ota_tps_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
229: NVL(p_rec.attribute17, hr_api.g_varchar2) OR
230: NVL(ota_tps_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
231: NVL(p_rec.attribute18, hr_api.g_varchar2) OR
232: NVL(ota_tps_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
233: NVL(p_rec.attribute19, hr_api.g_varchar2) OR
226: NVL(ota_tps_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
227: NVL(p_rec.attribute16, hr_api.g_varchar2) OR
228: NVL(ota_tps_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
229: NVL(p_rec.attribute17, hr_api.g_varchar2) OR
230: NVL(ota_tps_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
231: NVL(p_rec.attribute18, hr_api.g_varchar2) OR
232: NVL(ota_tps_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
233: NVL(p_rec.attribute19, hr_api.g_varchar2) OR
234: NVL(ota_tps_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
227: NVL(p_rec.attribute16, hr_api.g_varchar2) OR
228: NVL(ota_tps_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
229: NVL(p_rec.attribute17, hr_api.g_varchar2) OR
230: NVL(ota_tps_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
231: NVL(p_rec.attribute18, hr_api.g_varchar2) OR
232: NVL(ota_tps_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
233: NVL(p_rec.attribute19, hr_api.g_varchar2) OR
234: NVL(ota_tps_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
235: NVL(p_rec.attribute20, hr_api.g_varchar2) OR
228: NVL(ota_tps_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
229: NVL(p_rec.attribute17, hr_api.g_varchar2) OR
230: NVL(ota_tps_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
231: NVL(p_rec.attribute18, hr_api.g_varchar2) OR
232: NVL(ota_tps_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
233: NVL(p_rec.attribute19, hr_api.g_varchar2) OR
234: NVL(ota_tps_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
235: NVL(p_rec.attribute20, hr_api.g_varchar2) OR
236: NVL(ota_tps_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
229: NVL(p_rec.attribute17, hr_api.g_varchar2) OR
230: NVL(ota_tps_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
231: NVL(p_rec.attribute18, hr_api.g_varchar2) OR
232: NVL(ota_tps_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
233: NVL(p_rec.attribute19, hr_api.g_varchar2) OR
234: NVL(ota_tps_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
235: NVL(p_rec.attribute20, hr_api.g_varchar2) OR
236: NVL(ota_tps_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
237: NVL(p_rec.attribute21, hr_api.g_varchar2) OR
230: NVL(ota_tps_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
231: NVL(p_rec.attribute18, hr_api.g_varchar2) OR
232: NVL(ota_tps_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
233: NVL(p_rec.attribute19, hr_api.g_varchar2) OR
234: NVL(ota_tps_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
235: NVL(p_rec.attribute20, hr_api.g_varchar2) OR
236: NVL(ota_tps_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
237: NVL(p_rec.attribute21, hr_api.g_varchar2) OR
238: NVL(ota_tps_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
231: NVL(p_rec.attribute18, hr_api.g_varchar2) OR
232: NVL(ota_tps_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
233: NVL(p_rec.attribute19, hr_api.g_varchar2) OR
234: NVL(ota_tps_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
235: NVL(p_rec.attribute20, hr_api.g_varchar2) OR
236: NVL(ota_tps_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
237: NVL(p_rec.attribute21, hr_api.g_varchar2) OR
238: NVL(ota_tps_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
239: NVL(p_rec.attribute22, hr_api.g_varchar2) OR
232: NVL(ota_tps_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
233: NVL(p_rec.attribute19, hr_api.g_varchar2) OR
234: NVL(ota_tps_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
235: NVL(p_rec.attribute20, hr_api.g_varchar2) OR
236: NVL(ota_tps_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
237: NVL(p_rec.attribute21, hr_api.g_varchar2) OR
238: NVL(ota_tps_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
239: NVL(p_rec.attribute22, hr_api.g_varchar2) OR
240: NVL(ota_tps_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
233: NVL(p_rec.attribute19, hr_api.g_varchar2) OR
234: NVL(ota_tps_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
235: NVL(p_rec.attribute20, hr_api.g_varchar2) OR
236: NVL(ota_tps_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
237: NVL(p_rec.attribute21, hr_api.g_varchar2) OR
238: NVL(ota_tps_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
239: NVL(p_rec.attribute22, hr_api.g_varchar2) OR
240: NVL(ota_tps_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
241: NVL(p_rec.attribute23, hr_api.g_varchar2) OR
234: NVL(ota_tps_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
235: NVL(p_rec.attribute20, hr_api.g_varchar2) OR
236: NVL(ota_tps_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
237: NVL(p_rec.attribute21, hr_api.g_varchar2) OR
238: NVL(ota_tps_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
239: NVL(p_rec.attribute22, hr_api.g_varchar2) OR
240: NVL(ota_tps_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
241: NVL(p_rec.attribute23, hr_api.g_varchar2) OR
242: NVL(ota_tps_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
235: NVL(p_rec.attribute20, hr_api.g_varchar2) OR
236: NVL(ota_tps_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
237: NVL(p_rec.attribute21, hr_api.g_varchar2) OR
238: NVL(ota_tps_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
239: NVL(p_rec.attribute22, hr_api.g_varchar2) OR
240: NVL(ota_tps_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
241: NVL(p_rec.attribute23, hr_api.g_varchar2) OR
242: NVL(ota_tps_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
243: NVL(p_rec.attribute24, hr_api.g_varchar2) OR
236: NVL(ota_tps_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
237: NVL(p_rec.attribute21, hr_api.g_varchar2) OR
238: NVL(ota_tps_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
239: NVL(p_rec.attribute22, hr_api.g_varchar2) OR
240: NVL(ota_tps_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
241: NVL(p_rec.attribute23, hr_api.g_varchar2) OR
242: NVL(ota_tps_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
243: NVL(p_rec.attribute24, hr_api.g_varchar2) OR
244: NVL(ota_tps_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
237: NVL(p_rec.attribute21, hr_api.g_varchar2) OR
238: NVL(ota_tps_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
239: NVL(p_rec.attribute22, hr_api.g_varchar2) OR
240: NVL(ota_tps_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
241: NVL(p_rec.attribute23, hr_api.g_varchar2) OR
242: NVL(ota_tps_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
243: NVL(p_rec.attribute24, hr_api.g_varchar2) OR
244: NVL(ota_tps_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
245: NVL(p_rec.attribute25, hr_api.g_varchar2) OR
238: NVL(ota_tps_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
239: NVL(p_rec.attribute22, hr_api.g_varchar2) OR
240: NVL(ota_tps_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
241: NVL(p_rec.attribute23, hr_api.g_varchar2) OR
242: NVL(ota_tps_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
243: NVL(p_rec.attribute24, hr_api.g_varchar2) OR
244: NVL(ota_tps_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
245: NVL(p_rec.attribute25, hr_api.g_varchar2) OR
246: NVL(ota_tps_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
239: NVL(p_rec.attribute22, hr_api.g_varchar2) OR
240: NVL(ota_tps_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
241: NVL(p_rec.attribute23, hr_api.g_varchar2) OR
242: NVL(ota_tps_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
243: NVL(p_rec.attribute24, hr_api.g_varchar2) OR
244: NVL(ota_tps_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
245: NVL(p_rec.attribute25, hr_api.g_varchar2) OR
246: NVL(ota_tps_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
247: NVL(p_rec.attribute26, hr_api.g_varchar2) OR
240: NVL(ota_tps_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
241: NVL(p_rec.attribute23, hr_api.g_varchar2) OR
242: NVL(ota_tps_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
243: NVL(p_rec.attribute24, hr_api.g_varchar2) OR
244: NVL(ota_tps_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
245: NVL(p_rec.attribute25, hr_api.g_varchar2) OR
246: NVL(ota_tps_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
247: NVL(p_rec.attribute26, hr_api.g_varchar2) OR
248: NVL(ota_tps_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
241: NVL(p_rec.attribute23, hr_api.g_varchar2) OR
242: NVL(ota_tps_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
243: NVL(p_rec.attribute24, hr_api.g_varchar2) OR
244: NVL(ota_tps_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
245: NVL(p_rec.attribute25, hr_api.g_varchar2) OR
246: NVL(ota_tps_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
247: NVL(p_rec.attribute26, hr_api.g_varchar2) OR
248: NVL(ota_tps_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
249: NVL(p_rec.attribute27, hr_api.g_varchar2) OR
242: NVL(ota_tps_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
243: NVL(p_rec.attribute24, hr_api.g_varchar2) OR
244: NVL(ota_tps_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
245: NVL(p_rec.attribute25, hr_api.g_varchar2) OR
246: NVL(ota_tps_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
247: NVL(p_rec.attribute26, hr_api.g_varchar2) OR
248: NVL(ota_tps_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
249: NVL(p_rec.attribute27, hr_api.g_varchar2) OR
250: NVL(ota_tps_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
243: NVL(p_rec.attribute24, hr_api.g_varchar2) OR
244: NVL(ota_tps_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
245: NVL(p_rec.attribute25, hr_api.g_varchar2) OR
246: NVL(ota_tps_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
247: NVL(p_rec.attribute26, hr_api.g_varchar2) OR
248: NVL(ota_tps_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
249: NVL(p_rec.attribute27, hr_api.g_varchar2) OR
250: NVL(ota_tps_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
251: NVL(p_rec.attribute28, hr_api.g_varchar2) OR
244: NVL(ota_tps_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
245: NVL(p_rec.attribute25, hr_api.g_varchar2) OR
246: NVL(ota_tps_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
247: NVL(p_rec.attribute26, hr_api.g_varchar2) OR
248: NVL(ota_tps_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
249: NVL(p_rec.attribute27, hr_api.g_varchar2) OR
250: NVL(ota_tps_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
251: NVL(p_rec.attribute28, hr_api.g_varchar2) OR
252: NVL(ota_tps_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
245: NVL(p_rec.attribute25, hr_api.g_varchar2) OR
246: NVL(ota_tps_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
247: NVL(p_rec.attribute26, hr_api.g_varchar2) OR
248: NVL(ota_tps_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
249: NVL(p_rec.attribute27, hr_api.g_varchar2) OR
250: NVL(ota_tps_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
251: NVL(p_rec.attribute28, hr_api.g_varchar2) OR
252: NVL(ota_tps_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
253: NVL(p_rec.attribute29, hr_api.g_varchar2) OR
246: NVL(ota_tps_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
247: NVL(p_rec.attribute26, hr_api.g_varchar2) OR
248: NVL(ota_tps_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
249: NVL(p_rec.attribute27, hr_api.g_varchar2) OR
250: NVL(ota_tps_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
251: NVL(p_rec.attribute28, hr_api.g_varchar2) OR
252: NVL(ota_tps_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
253: NVL(p_rec.attribute29, hr_api.g_varchar2) OR
254: NVL(ota_tps_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
247: NVL(p_rec.attribute26, hr_api.g_varchar2) OR
248: NVL(ota_tps_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
249: NVL(p_rec.attribute27, hr_api.g_varchar2) OR
250: NVL(ota_tps_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
251: NVL(p_rec.attribute28, hr_api.g_varchar2) OR
252: NVL(ota_tps_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
253: NVL(p_rec.attribute29, hr_api.g_varchar2) OR
254: NVL(ota_tps_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
255: NVL(p_rec.attribute30, hr_api.g_varchar2) ) )
248: NVL(ota_tps_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
249: NVL(p_rec.attribute27, hr_api.g_varchar2) OR
250: NVL(ota_tps_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
251: NVL(p_rec.attribute28, hr_api.g_varchar2) OR
252: NVL(ota_tps_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
253: NVL(p_rec.attribute29, hr_api.g_varchar2) OR
254: NVL(ota_tps_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
255: NVL(p_rec.attribute30, hr_api.g_varchar2) ) )
256: OR (p_rec.training_plan_id IS NULL) THEN
249: NVL(p_rec.attribute27, hr_api.g_varchar2) OR
250: NVL(ota_tps_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
251: NVL(p_rec.attribute28, hr_api.g_varchar2) OR
252: NVL(ota_tps_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
253: NVL(p_rec.attribute29, hr_api.g_varchar2) OR
254: NVL(ota_tps_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
255: NVL(p_rec.attribute30, hr_api.g_varchar2) ) )
256: OR (p_rec.training_plan_id IS NULL) THEN
257: --
250: NVL(ota_tps_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
251: NVL(p_rec.attribute28, hr_api.g_varchar2) OR
252: NVL(ota_tps_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
253: NVL(p_rec.attribute29, hr_api.g_varchar2) OR
254: NVL(ota_tps_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
255: NVL(p_rec.attribute30, hr_api.g_varchar2) ) )
256: OR (p_rec.training_plan_id IS NULL) THEN
257: --
258: -- Only execute the validation if absolutely necessary:
251: NVL(p_rec.attribute28, hr_api.g_varchar2) OR
252: NVL(ota_tps_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
253: NVL(p_rec.attribute29, hr_api.g_varchar2) OR
254: NVL(ota_tps_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
255: NVL(p_rec.attribute30, hr_api.g_varchar2) ) )
256: OR (p_rec.training_plan_id IS NULL) THEN
257: --
258: -- Only execute the validation if absolutely necessary:
259: -- a) During update, the structure column value or any
382: END IF;
383: --
384: --
385: hr_utility.set_location(' Step:'|| l_proc, 10);
386: IF NVL(p_rec.business_group_id, hr_api.g_number) <>
387: NVL(ota_tps_shd.g_old_rec.business_group_id, hr_api.g_number) THEN
388: hr_api.argument_changed_error
389: (p_api_name => l_proc
390: ,p_argument => 'BUSINESS_GROUP_ID'
383: --
384: --
385: hr_utility.set_location(' Step:'|| l_proc, 10);
386: IF NVL(p_rec.business_group_id, hr_api.g_number) <>
387: NVL(ota_tps_shd.g_old_rec.business_group_id, hr_api.g_number) THEN
388: hr_api.argument_changed_error
389: (p_api_name => l_proc
390: ,p_argument => 'BUSINESS_GROUP_ID'
391: ,p_base_table => ota_tps_shd.g_tab_nam);
384: --
385: hr_utility.set_location(' Step:'|| l_proc, 10);
386: IF NVL(p_rec.business_group_id, hr_api.g_number) <>
387: NVL(ota_tps_shd.g_old_rec.business_group_id, hr_api.g_number) THEN
388: hr_api.argument_changed_error
389: (p_api_name => l_proc
390: ,p_argument => 'BUSINESS_GROUP_ID'
391: ,p_base_table => ota_tps_shd.g_tab_nam);
392: END IF;
391: ,p_base_table => ota_tps_shd.g_tab_nam);
392: END IF;
393: --
394: hr_utility.set_location(' Step:'|| l_proc, 20);
395: IF NVL(p_rec.training_plan_id, hr_api.g_number) <>
396: NVL(ota_tps_shd.g_old_rec.training_plan_id, hr_api.g_number) THEN
397: hr_api.argument_changed_error
398: (p_api_name => l_proc
399: ,p_argument => 'TRAINING_PLAN_ID'
392: END IF;
393: --
394: hr_utility.set_location(' Step:'|| l_proc, 20);
395: IF NVL(p_rec.training_plan_id, hr_api.g_number) <>
396: NVL(ota_tps_shd.g_old_rec.training_plan_id, hr_api.g_number) THEN
397: hr_api.argument_changed_error
398: (p_api_name => l_proc
399: ,p_argument => 'TRAINING_PLAN_ID'
400: ,p_base_table => ota_tps_shd.g_tab_nam);
393: --
394: hr_utility.set_location(' Step:'|| l_proc, 20);
395: IF NVL(p_rec.training_plan_id, hr_api.g_number) <>
396: NVL(ota_tps_shd.g_old_rec.training_plan_id, hr_api.g_number) THEN
397: hr_api.argument_changed_error
398: (p_api_name => l_proc
399: ,p_argument => 'TRAINING_PLAN_ID'
400: ,p_base_table => ota_tps_shd.g_tab_nam);
401: END IF;
400: ,p_base_table => ota_tps_shd.g_tab_nam);
401: END IF;
402: --
403: hr_utility.set_location(' Step:'|| l_proc, 30);
404: IF NVL(p_rec.organization_id, hr_api.g_number) <>
405: NVL(ota_tps_shd.g_old_rec.organization_id, hr_api.g_number) THEN
406: hr_api.argument_changed_error
407: (p_api_name => l_proc
408: ,p_argument => 'ORGANIZATION_ID'
401: END IF;
402: --
403: hr_utility.set_location(' Step:'|| l_proc, 30);
404: IF NVL(p_rec.organization_id, hr_api.g_number) <>
405: NVL(ota_tps_shd.g_old_rec.organization_id, hr_api.g_number) THEN
406: hr_api.argument_changed_error
407: (p_api_name => l_proc
408: ,p_argument => 'ORGANIZATION_ID'
409: ,p_base_table => ota_tps_shd.g_tab_nam);
402: --
403: hr_utility.set_location(' Step:'|| l_proc, 30);
404: IF NVL(p_rec.organization_id, hr_api.g_number) <>
405: NVL(ota_tps_shd.g_old_rec.organization_id, hr_api.g_number) THEN
406: hr_api.argument_changed_error
407: (p_api_name => l_proc
408: ,p_argument => 'ORGANIZATION_ID'
409: ,p_base_table => ota_tps_shd.g_tab_nam);
410: END IF;
409: ,p_base_table => ota_tps_shd.g_tab_nam);
410: END IF;
411: --
412: hr_utility.set_location(' Step:'|| l_proc, 40);
413: IF NVL(p_rec.person_id, hr_api.g_number) <>
414: NVL(ota_tps_shd.g_old_rec.person_id, hr_api.g_number) THEN
415: hr_api.argument_changed_error
416: (p_api_name => l_proc
417: ,p_argument => 'PERSON_ID'
410: END IF;
411: --
412: hr_utility.set_location(' Step:'|| l_proc, 40);
413: IF NVL(p_rec.person_id, hr_api.g_number) <>
414: NVL(ota_tps_shd.g_old_rec.person_id, hr_api.g_number) THEN
415: hr_api.argument_changed_error
416: (p_api_name => l_proc
417: ,p_argument => 'PERSON_ID'
418: ,p_base_table => ota_tps_shd.g_tab_nam);
411: --
412: hr_utility.set_location(' Step:'|| l_proc, 40);
413: IF NVL(p_rec.person_id, hr_api.g_number) <>
414: NVL(ota_tps_shd.g_old_rec.person_id, hr_api.g_number) THEN
415: hr_api.argument_changed_error
416: (p_api_name => l_proc
417: ,p_argument => 'PERSON_ID'
418: ,p_base_table => ota_tps_shd.g_tab_nam);
419: END IF;
439: --
440: -- Call all supporting business operations
441: --Validate Important Attributes
442: --
443: hr_api.validate_bus_grp_id(p_rec.business_group_id
444: ,p_associated_column1 => ota_tps_shd.g_tab_nam || '.BUSINESS_GROUP_ID'); -- Validate Bus Grp
445: --
446: hr_multi_message.end_validation_set;
447:
555: --
556: -- Call all supporting business operations
557: --Validate Important attribute
558:
559: hr_api.validate_bus_grp_id(p_rec.business_group_id
560: ,p_associated_column1 => ota_tps_shd.g_tab_nam || '.BUSINESS_GROUP_ID'); -- Validate Bus Grp
561: --
562: hr_multi_message.end_validation_set;
563: