47: end if;
48: --
49: -- Ensure that all the mandatory parameter are not null
50: --
51: hr_api.mandatory_arg_error
52: (p_api_name => l_proc
53: ,p_argument => 'corps_definition_id'
54: ,p_argument_value => p_corps_definition_id
55: );
74: close csr_sec_grp;
75: --
76: -- Set the security_group_id in CLIENT_INFO
77: --
78: hr_api.set_security_group_id
79: (p_security_group_id => l_security_group_id
80: );
81: --
82: -- Set the sessions legislation context in HR_SESSION_DATA
80: );
81: --
82: -- Set the sessions legislation context in HR_SESSION_DATA
83: --
84: hr_api.set_legislation_context(l_legislation_code);
85: end if;
86: --
87: if g_debug then
88: hr_utility.set_location(' Leaving:'|| l_proc, 20);
121: end if;
122: --
123: -- Ensure that all the mandatory parameter are not null
124: --
125: hr_api.mandatory_arg_error
126: (p_api_name => l_proc
127: ,p_argument => 'corps_definition_id'
128: ,p_argument_value => p_corps_definition_id
129: );
127: ,p_argument => 'corps_definition_id'
128: ,p_argument_value => p_corps_definition_id
129: );
130: --
131: if ( nvl(pqh_cpd_bus.g_corps_definition_id, hr_api.g_number)
132: = p_corps_definition_id) then
133: --
134: -- The legislation code has already been found with a previous
135: -- call to this function. Just return the value in the global
212: hr_utility.set_location('Entering:'||l_proc,10);
213: end if;
214: --
215: if ((p_rec.corps_definition_id is not null) and (
216: nvl(pqh_cpd_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute1, hr_api.g_varchar2) or
218: nvl(pqh_cpd_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute2, hr_api.g_varchar2) or
220: nvl(pqh_cpd_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
213: end if;
214: --
215: if ((p_rec.corps_definition_id is not null) and (
216: nvl(pqh_cpd_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute1, hr_api.g_varchar2) or
218: nvl(pqh_cpd_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute2, hr_api.g_varchar2) or
220: nvl(pqh_cpd_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute3, hr_api.g_varchar2) or
214: --
215: if ((p_rec.corps_definition_id is not null) and (
216: nvl(pqh_cpd_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute1, hr_api.g_varchar2) or
218: nvl(pqh_cpd_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute2, hr_api.g_varchar2) or
220: nvl(pqh_cpd_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute3, hr_api.g_varchar2) or
222: nvl(pqh_cpd_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
215: if ((p_rec.corps_definition_id is not null) and (
216: nvl(pqh_cpd_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute1, hr_api.g_varchar2) or
218: nvl(pqh_cpd_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute2, hr_api.g_varchar2) or
220: nvl(pqh_cpd_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute3, hr_api.g_varchar2) or
222: nvl(pqh_cpd_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute4, hr_api.g_varchar2) or
216: nvl(pqh_cpd_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute1, hr_api.g_varchar2) or
218: nvl(pqh_cpd_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute2, hr_api.g_varchar2) or
220: nvl(pqh_cpd_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute3, hr_api.g_varchar2) or
222: nvl(pqh_cpd_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute4, hr_api.g_varchar2) or
224: nvl(pqh_cpd_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute1, hr_api.g_varchar2) or
218: nvl(pqh_cpd_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute2, hr_api.g_varchar2) or
220: nvl(pqh_cpd_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute3, hr_api.g_varchar2) or
222: nvl(pqh_cpd_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute4, hr_api.g_varchar2) or
224: nvl(pqh_cpd_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute5, hr_api.g_varchar2) or
218: nvl(pqh_cpd_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute2, hr_api.g_varchar2) or
220: nvl(pqh_cpd_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute3, hr_api.g_varchar2) or
222: nvl(pqh_cpd_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute4, hr_api.g_varchar2) or
224: nvl(pqh_cpd_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute5, hr_api.g_varchar2) or
226: nvl(pqh_cpd_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute2, hr_api.g_varchar2) or
220: nvl(pqh_cpd_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute3, hr_api.g_varchar2) or
222: nvl(pqh_cpd_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute4, hr_api.g_varchar2) or
224: nvl(pqh_cpd_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute5, hr_api.g_varchar2) or
226: nvl(pqh_cpd_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute6, hr_api.g_varchar2) or
220: nvl(pqh_cpd_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute3, hr_api.g_varchar2) or
222: nvl(pqh_cpd_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute4, hr_api.g_varchar2) or
224: nvl(pqh_cpd_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute5, hr_api.g_varchar2) or
226: nvl(pqh_cpd_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute6, hr_api.g_varchar2) or
228: nvl(pqh_cpd_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute3, hr_api.g_varchar2) or
222: nvl(pqh_cpd_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute4, hr_api.g_varchar2) or
224: nvl(pqh_cpd_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute5, hr_api.g_varchar2) or
226: nvl(pqh_cpd_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute6, hr_api.g_varchar2) or
228: nvl(pqh_cpd_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute7, hr_api.g_varchar2) or
222: nvl(pqh_cpd_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute4, hr_api.g_varchar2) or
224: nvl(pqh_cpd_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute5, hr_api.g_varchar2) or
226: nvl(pqh_cpd_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute6, hr_api.g_varchar2) or
228: nvl(pqh_cpd_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute7, hr_api.g_varchar2) or
230: nvl(pqh_cpd_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute4, hr_api.g_varchar2) or
224: nvl(pqh_cpd_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute5, hr_api.g_varchar2) or
226: nvl(pqh_cpd_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute6, hr_api.g_varchar2) or
228: nvl(pqh_cpd_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute7, hr_api.g_varchar2) or
230: nvl(pqh_cpd_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute8, hr_api.g_varchar2) or
224: nvl(pqh_cpd_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute5, hr_api.g_varchar2) or
226: nvl(pqh_cpd_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute6, hr_api.g_varchar2) or
228: nvl(pqh_cpd_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute7, hr_api.g_varchar2) or
230: nvl(pqh_cpd_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute8, hr_api.g_varchar2) or
232: nvl(pqh_cpd_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute5, hr_api.g_varchar2) or
226: nvl(pqh_cpd_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute6, hr_api.g_varchar2) or
228: nvl(pqh_cpd_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute7, hr_api.g_varchar2) or
230: nvl(pqh_cpd_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute8, hr_api.g_varchar2) or
232: nvl(pqh_cpd_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute9, hr_api.g_varchar2) or
226: nvl(pqh_cpd_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute6, hr_api.g_varchar2) or
228: nvl(pqh_cpd_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute7, hr_api.g_varchar2) or
230: nvl(pqh_cpd_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute8, hr_api.g_varchar2) or
232: nvl(pqh_cpd_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute9, hr_api.g_varchar2) or
234: nvl(pqh_cpd_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute6, hr_api.g_varchar2) or
228: nvl(pqh_cpd_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute7, hr_api.g_varchar2) or
230: nvl(pqh_cpd_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute8, hr_api.g_varchar2) or
232: nvl(pqh_cpd_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute9, hr_api.g_varchar2) or
234: nvl(pqh_cpd_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute10, hr_api.g_varchar2) or
228: nvl(pqh_cpd_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute7, hr_api.g_varchar2) or
230: nvl(pqh_cpd_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute8, hr_api.g_varchar2) or
232: nvl(pqh_cpd_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute9, hr_api.g_varchar2) or
234: nvl(pqh_cpd_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute10, hr_api.g_varchar2) or
236: nvl(pqh_cpd_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute7, hr_api.g_varchar2) or
230: nvl(pqh_cpd_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute8, hr_api.g_varchar2) or
232: nvl(pqh_cpd_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute9, hr_api.g_varchar2) or
234: nvl(pqh_cpd_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute10, hr_api.g_varchar2) or
236: nvl(pqh_cpd_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute11, hr_api.g_varchar2) or
230: nvl(pqh_cpd_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute8, hr_api.g_varchar2) or
232: nvl(pqh_cpd_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute9, hr_api.g_varchar2) or
234: nvl(pqh_cpd_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute10, hr_api.g_varchar2) or
236: nvl(pqh_cpd_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute11, hr_api.g_varchar2) or
238: nvl(pqh_cpd_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
231: nvl(p_rec.attribute8, hr_api.g_varchar2) or
232: nvl(pqh_cpd_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute9, hr_api.g_varchar2) or
234: nvl(pqh_cpd_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute10, hr_api.g_varchar2) or
236: nvl(pqh_cpd_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute11, hr_api.g_varchar2) or
238: nvl(pqh_cpd_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute12, hr_api.g_varchar2) or
232: nvl(pqh_cpd_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute9, hr_api.g_varchar2) or
234: nvl(pqh_cpd_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute10, hr_api.g_varchar2) or
236: nvl(pqh_cpd_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute11, hr_api.g_varchar2) or
238: nvl(pqh_cpd_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute12, hr_api.g_varchar2) or
240: nvl(pqh_cpd_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
233: nvl(p_rec.attribute9, hr_api.g_varchar2) or
234: nvl(pqh_cpd_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute10, hr_api.g_varchar2) or
236: nvl(pqh_cpd_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute11, hr_api.g_varchar2) or
238: nvl(pqh_cpd_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute12, hr_api.g_varchar2) or
240: nvl(pqh_cpd_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute13, hr_api.g_varchar2) or
234: nvl(pqh_cpd_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute10, hr_api.g_varchar2) or
236: nvl(pqh_cpd_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute11, hr_api.g_varchar2) or
238: nvl(pqh_cpd_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute12, hr_api.g_varchar2) or
240: nvl(pqh_cpd_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute13, hr_api.g_varchar2) or
242: nvl(pqh_cpd_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
235: nvl(p_rec.attribute10, hr_api.g_varchar2) or
236: nvl(pqh_cpd_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute11, hr_api.g_varchar2) or
238: nvl(pqh_cpd_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute12, hr_api.g_varchar2) or
240: nvl(pqh_cpd_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute13, hr_api.g_varchar2) or
242: nvl(pqh_cpd_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute14, hr_api.g_varchar2) or
236: nvl(pqh_cpd_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute11, hr_api.g_varchar2) or
238: nvl(pqh_cpd_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute12, hr_api.g_varchar2) or
240: nvl(pqh_cpd_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute13, hr_api.g_varchar2) or
242: nvl(pqh_cpd_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute14, hr_api.g_varchar2) or
244: nvl(pqh_cpd_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
237: nvl(p_rec.attribute11, hr_api.g_varchar2) or
238: nvl(pqh_cpd_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute12, hr_api.g_varchar2) or
240: nvl(pqh_cpd_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute13, hr_api.g_varchar2) or
242: nvl(pqh_cpd_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute14, hr_api.g_varchar2) or
244: nvl(pqh_cpd_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute15, hr_api.g_varchar2) or
238: nvl(pqh_cpd_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute12, hr_api.g_varchar2) or
240: nvl(pqh_cpd_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute13, hr_api.g_varchar2) or
242: nvl(pqh_cpd_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute14, hr_api.g_varchar2) or
244: nvl(pqh_cpd_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute15, hr_api.g_varchar2) or
246: nvl(pqh_cpd_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
239: nvl(p_rec.attribute12, hr_api.g_varchar2) or
240: nvl(pqh_cpd_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute13, hr_api.g_varchar2) or
242: nvl(pqh_cpd_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute14, hr_api.g_varchar2) or
244: nvl(pqh_cpd_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute15, hr_api.g_varchar2) or
246: nvl(pqh_cpd_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute16, hr_api.g_varchar2) or
240: nvl(pqh_cpd_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute13, hr_api.g_varchar2) or
242: nvl(pqh_cpd_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute14, hr_api.g_varchar2) or
244: nvl(pqh_cpd_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute15, hr_api.g_varchar2) or
246: nvl(pqh_cpd_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute16, hr_api.g_varchar2) or
248: nvl(pqh_cpd_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
241: nvl(p_rec.attribute13, hr_api.g_varchar2) or
242: nvl(pqh_cpd_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute14, hr_api.g_varchar2) or
244: nvl(pqh_cpd_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute15, hr_api.g_varchar2) or
246: nvl(pqh_cpd_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute16, hr_api.g_varchar2) or
248: nvl(pqh_cpd_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute17, hr_api.g_varchar2) or
242: nvl(pqh_cpd_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute14, hr_api.g_varchar2) or
244: nvl(pqh_cpd_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute15, hr_api.g_varchar2) or
246: nvl(pqh_cpd_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute16, hr_api.g_varchar2) or
248: nvl(pqh_cpd_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute17, hr_api.g_varchar2) or
250: nvl(pqh_cpd_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
243: nvl(p_rec.attribute14, hr_api.g_varchar2) or
244: nvl(pqh_cpd_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute15, hr_api.g_varchar2) or
246: nvl(pqh_cpd_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute16, hr_api.g_varchar2) or
248: nvl(pqh_cpd_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute17, hr_api.g_varchar2) or
250: nvl(pqh_cpd_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute18, hr_api.g_varchar2) or
244: nvl(pqh_cpd_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute15, hr_api.g_varchar2) or
246: nvl(pqh_cpd_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute16, hr_api.g_varchar2) or
248: nvl(pqh_cpd_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute17, hr_api.g_varchar2) or
250: nvl(pqh_cpd_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute18, hr_api.g_varchar2) or
252: nvl(pqh_cpd_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
245: nvl(p_rec.attribute15, hr_api.g_varchar2) or
246: nvl(pqh_cpd_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute16, hr_api.g_varchar2) or
248: nvl(pqh_cpd_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute17, hr_api.g_varchar2) or
250: nvl(pqh_cpd_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute18, hr_api.g_varchar2) or
252: nvl(pqh_cpd_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute19, hr_api.g_varchar2) or
246: nvl(pqh_cpd_shd.g_old_rec.attribute16, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute16, hr_api.g_varchar2) or
248: nvl(pqh_cpd_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute17, hr_api.g_varchar2) or
250: nvl(pqh_cpd_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute18, hr_api.g_varchar2) or
252: nvl(pqh_cpd_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute19, hr_api.g_varchar2) or
254: nvl(pqh_cpd_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
247: nvl(p_rec.attribute16, hr_api.g_varchar2) or
248: nvl(pqh_cpd_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute17, hr_api.g_varchar2) or
250: nvl(pqh_cpd_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute18, hr_api.g_varchar2) or
252: nvl(pqh_cpd_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute19, hr_api.g_varchar2) or
254: nvl(pqh_cpd_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute20, hr_api.g_varchar2) or
248: nvl(pqh_cpd_shd.g_old_rec.attribute17, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute17, hr_api.g_varchar2) or
250: nvl(pqh_cpd_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute18, hr_api.g_varchar2) or
252: nvl(pqh_cpd_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute19, hr_api.g_varchar2) or
254: nvl(pqh_cpd_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute20, hr_api.g_varchar2) or
256: nvl(pqh_cpd_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
249: nvl(p_rec.attribute17, hr_api.g_varchar2) or
250: nvl(pqh_cpd_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute18, hr_api.g_varchar2) or
252: nvl(pqh_cpd_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute19, hr_api.g_varchar2) or
254: nvl(pqh_cpd_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute20, hr_api.g_varchar2) or
256: nvl(pqh_cpd_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute21, hr_api.g_varchar2) or
250: nvl(pqh_cpd_shd.g_old_rec.attribute18, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute18, hr_api.g_varchar2) or
252: nvl(pqh_cpd_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute19, hr_api.g_varchar2) or
254: nvl(pqh_cpd_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute20, hr_api.g_varchar2) or
256: nvl(pqh_cpd_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute21, hr_api.g_varchar2) or
258: nvl(pqh_cpd_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
251: nvl(p_rec.attribute18, hr_api.g_varchar2) or
252: nvl(pqh_cpd_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute19, hr_api.g_varchar2) or
254: nvl(pqh_cpd_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute20, hr_api.g_varchar2) or
256: nvl(pqh_cpd_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute21, hr_api.g_varchar2) or
258: nvl(pqh_cpd_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute22, hr_api.g_varchar2) or
252: nvl(pqh_cpd_shd.g_old_rec.attribute19, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute19, hr_api.g_varchar2) or
254: nvl(pqh_cpd_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute20, hr_api.g_varchar2) or
256: nvl(pqh_cpd_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute21, hr_api.g_varchar2) or
258: nvl(pqh_cpd_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute22, hr_api.g_varchar2) or
260: nvl(pqh_cpd_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
253: nvl(p_rec.attribute19, hr_api.g_varchar2) or
254: nvl(pqh_cpd_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute20, hr_api.g_varchar2) or
256: nvl(pqh_cpd_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute21, hr_api.g_varchar2) or
258: nvl(pqh_cpd_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute22, hr_api.g_varchar2) or
260: nvl(pqh_cpd_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
261: nvl(p_rec.attribute23, hr_api.g_varchar2) or
254: nvl(pqh_cpd_shd.g_old_rec.attribute20, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute20, hr_api.g_varchar2) or
256: nvl(pqh_cpd_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute21, hr_api.g_varchar2) or
258: nvl(pqh_cpd_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute22, hr_api.g_varchar2) or
260: nvl(pqh_cpd_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
261: nvl(p_rec.attribute23, hr_api.g_varchar2) or
262: nvl(pqh_cpd_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
255: nvl(p_rec.attribute20, hr_api.g_varchar2) or
256: nvl(pqh_cpd_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute21, hr_api.g_varchar2) or
258: nvl(pqh_cpd_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute22, hr_api.g_varchar2) or
260: nvl(pqh_cpd_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
261: nvl(p_rec.attribute23, hr_api.g_varchar2) or
262: nvl(pqh_cpd_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
263: nvl(p_rec.attribute24, hr_api.g_varchar2) or
256: nvl(pqh_cpd_shd.g_old_rec.attribute21, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute21, hr_api.g_varchar2) or
258: nvl(pqh_cpd_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute22, hr_api.g_varchar2) or
260: nvl(pqh_cpd_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
261: nvl(p_rec.attribute23, hr_api.g_varchar2) or
262: nvl(pqh_cpd_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
263: nvl(p_rec.attribute24, hr_api.g_varchar2) or
264: nvl(pqh_cpd_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
257: nvl(p_rec.attribute21, hr_api.g_varchar2) or
258: nvl(pqh_cpd_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute22, hr_api.g_varchar2) or
260: nvl(pqh_cpd_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
261: nvl(p_rec.attribute23, hr_api.g_varchar2) or
262: nvl(pqh_cpd_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
263: nvl(p_rec.attribute24, hr_api.g_varchar2) or
264: nvl(pqh_cpd_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
265: nvl(p_rec.attribute25, hr_api.g_varchar2) or
258: nvl(pqh_cpd_shd.g_old_rec.attribute22, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute22, hr_api.g_varchar2) or
260: nvl(pqh_cpd_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
261: nvl(p_rec.attribute23, hr_api.g_varchar2) or
262: nvl(pqh_cpd_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
263: nvl(p_rec.attribute24, hr_api.g_varchar2) or
264: nvl(pqh_cpd_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
265: nvl(p_rec.attribute25, hr_api.g_varchar2) or
266: nvl(pqh_cpd_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
259: nvl(p_rec.attribute22, hr_api.g_varchar2) or
260: nvl(pqh_cpd_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
261: nvl(p_rec.attribute23, hr_api.g_varchar2) or
262: nvl(pqh_cpd_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
263: nvl(p_rec.attribute24, hr_api.g_varchar2) or
264: nvl(pqh_cpd_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
265: nvl(p_rec.attribute25, hr_api.g_varchar2) or
266: nvl(pqh_cpd_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
267: nvl(p_rec.attribute26, hr_api.g_varchar2) or
260: nvl(pqh_cpd_shd.g_old_rec.attribute23, hr_api.g_varchar2) <>
261: nvl(p_rec.attribute23, hr_api.g_varchar2) or
262: nvl(pqh_cpd_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
263: nvl(p_rec.attribute24, hr_api.g_varchar2) or
264: nvl(pqh_cpd_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
265: nvl(p_rec.attribute25, hr_api.g_varchar2) or
266: nvl(pqh_cpd_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
267: nvl(p_rec.attribute26, hr_api.g_varchar2) or
268: nvl(pqh_cpd_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
261: nvl(p_rec.attribute23, hr_api.g_varchar2) or
262: nvl(pqh_cpd_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
263: nvl(p_rec.attribute24, hr_api.g_varchar2) or
264: nvl(pqh_cpd_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
265: nvl(p_rec.attribute25, hr_api.g_varchar2) or
266: nvl(pqh_cpd_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
267: nvl(p_rec.attribute26, hr_api.g_varchar2) or
268: nvl(pqh_cpd_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
269: nvl(p_rec.attribute27, hr_api.g_varchar2) or
262: nvl(pqh_cpd_shd.g_old_rec.attribute24, hr_api.g_varchar2) <>
263: nvl(p_rec.attribute24, hr_api.g_varchar2) or
264: nvl(pqh_cpd_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
265: nvl(p_rec.attribute25, hr_api.g_varchar2) or
266: nvl(pqh_cpd_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
267: nvl(p_rec.attribute26, hr_api.g_varchar2) or
268: nvl(pqh_cpd_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
269: nvl(p_rec.attribute27, hr_api.g_varchar2) or
270: nvl(pqh_cpd_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
263: nvl(p_rec.attribute24, hr_api.g_varchar2) or
264: nvl(pqh_cpd_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
265: nvl(p_rec.attribute25, hr_api.g_varchar2) or
266: nvl(pqh_cpd_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
267: nvl(p_rec.attribute26, hr_api.g_varchar2) or
268: nvl(pqh_cpd_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
269: nvl(p_rec.attribute27, hr_api.g_varchar2) or
270: nvl(pqh_cpd_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
271: nvl(p_rec.attribute28, hr_api.g_varchar2) or
264: nvl(pqh_cpd_shd.g_old_rec.attribute25, hr_api.g_varchar2) <>
265: nvl(p_rec.attribute25, hr_api.g_varchar2) or
266: nvl(pqh_cpd_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
267: nvl(p_rec.attribute26, hr_api.g_varchar2) or
268: nvl(pqh_cpd_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
269: nvl(p_rec.attribute27, hr_api.g_varchar2) or
270: nvl(pqh_cpd_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
271: nvl(p_rec.attribute28, hr_api.g_varchar2) or
272: nvl(pqh_cpd_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
265: nvl(p_rec.attribute25, hr_api.g_varchar2) or
266: nvl(pqh_cpd_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
267: nvl(p_rec.attribute26, hr_api.g_varchar2) or
268: nvl(pqh_cpd_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
269: nvl(p_rec.attribute27, hr_api.g_varchar2) or
270: nvl(pqh_cpd_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
271: nvl(p_rec.attribute28, hr_api.g_varchar2) or
272: nvl(pqh_cpd_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
273: nvl(p_rec.attribute29, hr_api.g_varchar2) or
266: nvl(pqh_cpd_shd.g_old_rec.attribute26, hr_api.g_varchar2) <>
267: nvl(p_rec.attribute26, hr_api.g_varchar2) or
268: nvl(pqh_cpd_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
269: nvl(p_rec.attribute27, hr_api.g_varchar2) or
270: nvl(pqh_cpd_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
271: nvl(p_rec.attribute28, hr_api.g_varchar2) or
272: nvl(pqh_cpd_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
273: nvl(p_rec.attribute29, hr_api.g_varchar2) or
274: nvl(pqh_cpd_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
267: nvl(p_rec.attribute26, hr_api.g_varchar2) or
268: nvl(pqh_cpd_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
269: nvl(p_rec.attribute27, hr_api.g_varchar2) or
270: nvl(pqh_cpd_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
271: nvl(p_rec.attribute28, hr_api.g_varchar2) or
272: nvl(pqh_cpd_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
273: nvl(p_rec.attribute29, hr_api.g_varchar2) or
274: nvl(pqh_cpd_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
275: nvl(p_rec.attribute30, hr_api.g_varchar2) or
268: nvl(pqh_cpd_shd.g_old_rec.attribute27, hr_api.g_varchar2) <>
269: nvl(p_rec.attribute27, hr_api.g_varchar2) or
270: nvl(pqh_cpd_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
271: nvl(p_rec.attribute28, hr_api.g_varchar2) or
272: nvl(pqh_cpd_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
273: nvl(p_rec.attribute29, hr_api.g_varchar2) or
274: nvl(pqh_cpd_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
275: nvl(p_rec.attribute30, hr_api.g_varchar2) or
276: nvl(pqh_cpd_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
269: nvl(p_rec.attribute27, hr_api.g_varchar2) or
270: nvl(pqh_cpd_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
271: nvl(p_rec.attribute28, hr_api.g_varchar2) or
272: nvl(pqh_cpd_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
273: nvl(p_rec.attribute29, hr_api.g_varchar2) or
274: nvl(pqh_cpd_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
275: nvl(p_rec.attribute30, hr_api.g_varchar2) or
276: nvl(pqh_cpd_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
277: nvl(p_rec.attribute_category, hr_api.g_varchar2) ))
270: nvl(pqh_cpd_shd.g_old_rec.attribute28, hr_api.g_varchar2) <>
271: nvl(p_rec.attribute28, hr_api.g_varchar2) or
272: nvl(pqh_cpd_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
273: nvl(p_rec.attribute29, hr_api.g_varchar2) or
274: nvl(pqh_cpd_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
275: nvl(p_rec.attribute30, hr_api.g_varchar2) or
276: nvl(pqh_cpd_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
277: nvl(p_rec.attribute_category, hr_api.g_varchar2) ))
278: or (p_rec.corps_definition_id is null) then
271: nvl(p_rec.attribute28, hr_api.g_varchar2) or
272: nvl(pqh_cpd_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
273: nvl(p_rec.attribute29, hr_api.g_varchar2) or
274: nvl(pqh_cpd_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
275: nvl(p_rec.attribute30, hr_api.g_varchar2) or
276: nvl(pqh_cpd_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
277: nvl(p_rec.attribute_category, hr_api.g_varchar2) ))
278: or (p_rec.corps_definition_id is null) then
279: --
272: nvl(pqh_cpd_shd.g_old_rec.attribute29, hr_api.g_varchar2) <>
273: nvl(p_rec.attribute29, hr_api.g_varchar2) or
274: nvl(pqh_cpd_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
275: nvl(p_rec.attribute30, hr_api.g_varchar2) or
276: nvl(pqh_cpd_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
277: nvl(p_rec.attribute_category, hr_api.g_varchar2) ))
278: or (p_rec.corps_definition_id is null) then
279: --
280: -- Only execute the validation if absolutely necessary:
273: nvl(p_rec.attribute29, hr_api.g_varchar2) or
274: nvl(pqh_cpd_shd.g_old_rec.attribute30, hr_api.g_varchar2) <>
275: nvl(p_rec.attribute30, hr_api.g_varchar2) or
276: nvl(pqh_cpd_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
277: nvl(p_rec.attribute_category, hr_api.g_varchar2) ))
278: or (p_rec.corps_definition_id is null) then
279: --
280: -- Only execute the validation if absolutely necessary:
281: -- a) During update, the structure column value or any
437: end if;
438: --
439: -- Ensure that all the mandatory parameter are not null
440: --
441: hr_api.mandatory_arg_error
442: (p_api_name => l_proc
443: ,p_argument => 'corps_name'
444: ,p_argument_value => p_name
445: );
442: (p_api_name => l_proc
443: ,p_argument => 'corps_name'
444: ,p_argument_value => p_name
445: );
446: hr_api.mandatory_arg_error
447: (p_api_name => l_proc
448: ,p_argument => 'business_group_id'
449: ,p_argument_value => p_business_group_id
450: );
485: l_proc := g_package || 'chk_type_of_ps';
486: hr_utility.set_location ('Entering: ' || l_proc, 10);
487: END IF;
488:
489: hr_api.mandatory_arg_error (p_api_name => l_proc,
490: p_argument => 'type_of_ps',
491: p_argument_value => p_type_of_ps
492: );
493:
557: if g_debug then
558: l_proc := g_package||'chk_category_cd';
559: hr_utility.set_location('Entering: '||l_proc,10);
560: end if;
561: hr_api.mandatory_arg_error
562: (p_api_name => l_proc
563: ,p_argument => 'category_cd'
564: ,p_argument_value => p_category_cd
565: );
562: (p_api_name => l_proc
563: ,p_argument => 'category_cd'
564: ,p_argument_value => p_category_cd
565: );
566: if hr_api.not_exists_in_hr_lookups(p_effective_date,'PQH_CORPS_CATEGORY',p_category_cd) then
567: fnd_message.set_name('PQH','PQH_CORPS_INVALID_CATEGORY');
568: hr_multi_message.add(p_associated_column1 => 'CATEGORY_CD');
569: end if;
570: if g_debug then
583: if g_debug then
584: l_proc := g_package||'chk_corps_type_cd';
585: hr_utility.set_location('Entering: '||l_proc,10);
586: end if;
587: if p_corps_type_cd IS NOT NULL AND hr_api.not_exists_in_hr_lookups(p_effective_date,'PQH_CORPS_TYPE',p_corps_type_cd) then
588: fnd_message.set_name('PQH','PQH_CORPS_INVALID_TYPE_CD');
589: hr_multi_message.add(p_associated_column1 => 'CORPS_TYPE_CD');
590: end if;
591: if g_debug then
684: end if;
685: --
686: -- Ensure that all the mandatory parameter are not null
687: --
688: hr_api.mandatory_arg_error
689: (p_api_name => l_proc
690: ,p_argument => 'date_from'
691: ,p_argument_value => p_date_from
692: );
839: end if;
840: --
841: -- Call all supporting business operations
842: --
843: hr_api.validate_bus_grp_id
844: (p_business_group_id => p_rec.business_group_id
845: ,p_associated_column1 => pqh_cpd_shd.g_tab_nam
846: || '.BUSINESS_GROUP_ID');
847:
910: end if;
911: --
912: -- Call all supporting business operations
913: --
914: hr_api.validate_bus_grp_id
915: (p_business_group_id => p_rec.business_group_id
916: ,p_associated_column1 => pqh_cpd_shd.g_tab_nam
917: || '.BUSINESS_GROUP_ID');
918: --