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 => 'external_effort_line_id'
50: ,p_argument_value => p_external_effort_line_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 => 'external_effort_line_id'
119: ,p_argument_value => p_external_effort_line_id
120: );
118: ,p_argument => 'external_effort_line_id'
119: ,p_argument_value => p_external_effort_line_id
120: );
121: --
122: if ( nvl(psp_pee_bus.g_external_effort_line_id, hr_api.g_number)
123: = p_external_effort_line_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.external_effort_line_id is not null) and (
198: nvl(psp_pee_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(psp_pee_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(psp_pee_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
195: hr_utility.set_location('Entering:'||l_proc,10);
196: --
197: if ((p_rec.external_effort_line_id is not null) and (
198: nvl(psp_pee_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(psp_pee_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(psp_pee_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
196: --
197: if ((p_rec.external_effort_line_id is not null) and (
198: nvl(psp_pee_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(psp_pee_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(psp_pee_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(psp_pee_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
197: if ((p_rec.external_effort_line_id is not null) and (
198: nvl(psp_pee_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(psp_pee_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(psp_pee_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(psp_pee_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
198: nvl(psp_pee_shd.g_old_rec.attribute_category, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(psp_pee_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(psp_pee_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(psp_pee_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(psp_pee_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
199: nvl(p_rec.attribute_category, hr_api.g_varchar2) or
200: nvl(psp_pee_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(psp_pee_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(psp_pee_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(psp_pee_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
200: nvl(psp_pee_shd.g_old_rec.attribute1, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(psp_pee_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(psp_pee_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(psp_pee_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(psp_pee_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
201: nvl(p_rec.attribute1, hr_api.g_varchar2) or
202: nvl(psp_pee_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(psp_pee_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(psp_pee_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(psp_pee_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
202: nvl(psp_pee_shd.g_old_rec.attribute2, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(psp_pee_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(psp_pee_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(psp_pee_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(psp_pee_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
203: nvl(p_rec.attribute2, hr_api.g_varchar2) or
204: nvl(psp_pee_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(psp_pee_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(psp_pee_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(psp_pee_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
204: nvl(psp_pee_shd.g_old_rec.attribute3, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(psp_pee_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(psp_pee_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(psp_pee_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(psp_pee_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
205: nvl(p_rec.attribute3, hr_api.g_varchar2) or
206: nvl(psp_pee_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(psp_pee_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(psp_pee_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(psp_pee_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
206: nvl(psp_pee_shd.g_old_rec.attribute4, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(psp_pee_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(psp_pee_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(psp_pee_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(psp_pee_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
207: nvl(p_rec.attribute4, hr_api.g_varchar2) or
208: nvl(psp_pee_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(psp_pee_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(psp_pee_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(psp_pee_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
208: nvl(psp_pee_shd.g_old_rec.attribute5, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(psp_pee_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(psp_pee_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(psp_pee_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(psp_pee_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
209: nvl(p_rec.attribute5, hr_api.g_varchar2) or
210: nvl(psp_pee_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(psp_pee_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(psp_pee_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(psp_pee_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
210: nvl(psp_pee_shd.g_old_rec.attribute6, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(psp_pee_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(psp_pee_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(psp_pee_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(psp_pee_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
211: nvl(p_rec.attribute6, hr_api.g_varchar2) or
212: nvl(psp_pee_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(psp_pee_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(psp_pee_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(psp_pee_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
212: nvl(psp_pee_shd.g_old_rec.attribute7, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(psp_pee_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(psp_pee_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(psp_pee_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(psp_pee_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
213: nvl(p_rec.attribute7, hr_api.g_varchar2) or
214: nvl(psp_pee_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(psp_pee_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(psp_pee_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(psp_pee_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
214: nvl(psp_pee_shd.g_old_rec.attribute8, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(psp_pee_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(psp_pee_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(psp_pee_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(psp_pee_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
215: nvl(p_rec.attribute8, hr_api.g_varchar2) or
216: nvl(psp_pee_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(psp_pee_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(psp_pee_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(psp_pee_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
216: nvl(psp_pee_shd.g_old_rec.attribute9, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(psp_pee_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(psp_pee_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(psp_pee_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(psp_pee_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
217: nvl(p_rec.attribute9, hr_api.g_varchar2) or
218: nvl(psp_pee_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(psp_pee_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(psp_pee_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(psp_pee_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
218: nvl(psp_pee_shd.g_old_rec.attribute10, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(psp_pee_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(psp_pee_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(psp_pee_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(psp_pee_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
219: nvl(p_rec.attribute10, hr_api.g_varchar2) or
220: nvl(psp_pee_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(psp_pee_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(psp_pee_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(psp_pee_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
220: nvl(psp_pee_shd.g_old_rec.attribute11, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(psp_pee_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(psp_pee_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(psp_pee_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(psp_pee_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
221: nvl(p_rec.attribute11, hr_api.g_varchar2) or
222: nvl(psp_pee_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(psp_pee_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(psp_pee_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(psp_pee_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) ))
222: nvl(psp_pee_shd.g_old_rec.attribute12, hr_api.g_varchar2) <>
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(psp_pee_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(psp_pee_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(psp_pee_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) ))
230: or (p_rec.external_effort_line_id is null) then
223: nvl(p_rec.attribute12, hr_api.g_varchar2) or
224: nvl(psp_pee_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(psp_pee_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(psp_pee_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) ))
230: or (p_rec.external_effort_line_id is null) then
231: --
224: nvl(psp_pee_shd.g_old_rec.attribute13, hr_api.g_varchar2) <>
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(psp_pee_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(psp_pee_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) ))
230: or (p_rec.external_effort_line_id is null) then
231: --
232: -- Only execute the validation if absolutely necessary:
225: nvl(p_rec.attribute13, hr_api.g_varchar2) or
226: nvl(psp_pee_shd.g_old_rec.attribute14, hr_api.g_varchar2) <>
227: nvl(p_rec.attribute14, hr_api.g_varchar2) or
228: nvl(psp_pee_shd.g_old_rec.attribute15, hr_api.g_varchar2) <>
229: nvl(p_rec.attribute15, hr_api.g_varchar2) ))
230: or (p_rec.external_effort_line_id is null) then
231: --
232: -- Only execute the validation if absolutely necessary:
233: -- a) During update, the structure column value or any
349: BEGIN
350: --
351: -- Check mandatory parameters have been set
352: --
353: hr_api.mandatory_arg_error
354: (p_api_name => l_proc
355: ,p_argument => 'business group id'
356: ,p_argument_value => p_business_group_id
357: );
355: ,p_argument => 'business group id'
356: ,p_argument_value => p_business_group_id
357: );
358:
359: hr_api.mandatory_arg_error
360: (p_api_name => l_proc
361: ,p_argument => 'distribution date'
362: ,p_argument_value => p_distribution_date
363: );
396: BEGIN
397: --
398: -- Check mandatory parameters have been set
399: --
400: hr_api.mandatory_arg_error
401: (p_api_name => l_proc
402: ,p_argument => 'set of books id'
403: ,p_argument_value => p_set_of_books_id
404: );
443: BEGIN
444: --
445: -- Check mandatory parameters have been set
446: --
447: hr_api.mandatory_arg_error
448: (p_api_name => l_proc
449: ,p_argument => 'person id'
450: ,p_argument_value => p_person_id
451: );
449: ,p_argument => 'person id'
450: ,p_argument_value => p_person_id
451: );
452:
453: hr_api.mandatory_arg_error
454: (p_api_name => l_proc
455: ,p_argument => 'business group id'
456: ,p_argument_value => p_business_group_id
457: );
455: ,p_argument => 'business group id'
456: ,p_argument_value => p_business_group_id
457: );
458:
459: hr_api.mandatory_arg_error
460: (p_api_name => l_proc
461: ,p_argument => 'distribution date'
462: ,p_argument_value => p_distribution_date
463: );
509: BEGIN
510: --
511: -- Check mandatory parameters have been set
512: --
513: hr_api.mandatory_arg_error
514: (p_api_name => l_proc
515: ,p_argument => 'assignment id'
516: ,p_argument_value => p_assignment_id
517: );
515: ,p_argument => 'assignment id'
516: ,p_argument_value => p_assignment_id
517: );
518:
519: hr_api.mandatory_arg_error
520: (p_api_name => l_proc
521: ,p_argument => 'person id'
522: ,p_argument_value => p_person_id
523: );
521: ,p_argument => 'person id'
522: ,p_argument_value => p_person_id
523: );
524:
525: hr_api.mandatory_arg_error
526: (p_api_name => l_proc
527: ,p_argument => 'business group id'
528: ,p_argument_value => p_business_group_id
529: );
527: ,p_argument => 'business group id'
528: ,p_argument_value => p_business_group_id
529: );
530:
531: hr_api.mandatory_arg_error
532: (p_api_name => l_proc
533: ,p_argument => 'distribution date'
534: ,p_argument_value => p_distribution_date
535: );
577: BEGIN
578: --
579: -- Check mandatory parameters have been set
580: --
581: hr_api.mandatory_arg_error
582: (p_api_name => l_proc
583: ,p_argument => 'currency code'
584: ,p_argument_value => p_currency_code
585: );
583: ,p_argument => 'currency code'
584: ,p_argument_value => p_currency_code
585: );
586:
587: hr_api.mandatory_arg_error
588: (p_api_name => l_proc
589: ,p_argument => 'distribution date'
590: ,p_argument_value => p_distribution_date
591: );
661: BEGIN
662: --
663: -- Check mandatory parameters have been set
664: --
665: hr_api.mandatory_arg_error
666: (p_api_name => l_proc
667: ,p_argument => 'gl code combination id'
668: ,p_argument_value => p_gl_code_combination_id
669: );
706: BEGIN
707: --
708: -- Check mandatory parameters have been set
709: --
710: hr_api.mandatory_arg_error
711: (p_api_name => l_proc
712: ,p_argument => 'project id'
713: ,p_argument_value => p_project_id
714: );
712: ,p_argument => 'project id'
713: ,p_argument_value => p_project_id
714: );
715:
716: hr_api.mandatory_arg_error
717: (p_api_name => l_proc
718: ,p_argument => 'distribution date'
719: ,p_argument_value => p_distribution_date
720: );
756: BEGIN
757: --
758: -- Check mandatory parameters have been set
759: --
760: hr_api.mandatory_arg_error
761: (p_api_name => l_proc
762: ,p_argument => 'task id'
763: ,p_argument_value => p_task_id
764: );
762: ,p_argument => 'task id'
763: ,p_argument_value => p_task_id
764: );
765:
766: hr_api.mandatory_arg_error
767: (p_api_name => l_proc
768: ,p_argument => 'distribution date'
769: ,p_argument_value => p_distribution_date
770: );
806: BEGIN
807: --
808: -- Check mandatory parameters have been set
809: --
810: hr_api.mandatory_arg_error
811: (p_api_name => l_proc
812: ,p_argument => 'award id'
813: ,p_argument_value => p_award_id
814: );
812: ,p_argument => 'award id'
813: ,p_argument_value => p_award_id
814: );
815:
816: hr_api.mandatory_arg_error
817: (p_api_name => l_proc
818: ,p_argument => 'distribution date'
819: ,p_argument_value => p_distribution_date
820: );
857: BEGIN
858: --
859: -- Check mandatory parameters have been set
860: --
861: hr_api.mandatory_arg_error
862: (p_api_name => l_proc
863: ,p_argument => 'expenditure organization id'
864: ,p_argument_value => p_expenditure_organization_id
865: );
863: ,p_argument => 'expenditure organization id'
864: ,p_argument_value => p_expenditure_organization_id
865: );
866:
867: hr_api.mandatory_arg_error
868: (p_api_name => l_proc
869: ,p_argument => 'distribution date'
870: ,p_argument_value => p_distribution_date
871: );
1290: -- Call all supporting business operations
1291: --
1292:
1293:
1294: hr_api.validate_bus_grp_id
1295: (p_business_group_id => p_rec.business_group_id
1296: ,p_associated_column1 => psp_pee_shd.g_tab_nam
1297: || '.BUSINESS_GROUP_ID');
1298: --
1379: hr_utility.set_location('Entering:'||l_proc, 5);
1380: --
1381: -- Call all supporting business operations
1382: --
1383: hr_api.validate_bus_grp_id
1384: (p_business_group_id => p_rec.business_group_id
1385: ,p_associated_column1 => psp_pee_shd.g_tab_nam
1386: || '.BUSINESS_GROUP_ID');
1387: