171: hr_utility.set_location(l_proc,10);
172: hr_utility.trace('g_tax_info_elm_id : '||to_char(g_tax_info_elm_id));
173: end if;
174: --
175: if p_scl_upd_mode = hr_api.g_correction then
176: --
177: l_effective_date := p_scl_upd_esd;
178: --
179: else
195: hr_utility.set_location(l_proc,30);
196: hr_utility.trace('l_tax_info_fut_ee_id : '||to_char(l_tax_info_fut_ee_id));
197: end if;
198: --
199: -- no support alternative hr_api.g_update_override and hr_api.g_correction option
200: -- because double asking update option on assignment window (for assignment change and eev change)
201: -- will be complicated use, which window is for assignment change or for eev change.
202: --
203: if l_tax_info_fut_ee_id is not null then
203: if l_tax_info_fut_ee_id is not null then
204: --
205: if trunc(l_effective_date,'DD') = trunc(p_eev_upd_esd,'DD') then
206: --
207: l_update_mode := hr_api.g_correction;
208: l_warning := 'HR_AU_TAX_SCALE_SYNC_WNG';
209: --
210: else
211: --
208: l_warning := 'HR_AU_TAX_SCALE_SYNC_WNG';
209: --
210: else
211: --
212: if p_scl_upd_mode = hr_api.g_update_override then
213: --
214: -- no support hr_api.g_update_override
215: -- (use hr_api.g_update_change_insert instead, plus message)
216: --
210: else
211: --
212: if p_scl_upd_mode = hr_api.g_update_override then
213: --
214: -- no support hr_api.g_update_override
215: -- (use hr_api.g_update_change_insert instead, plus message)
216: --
217: --l_update_mode := hr_api.g_update_override;
218: --
211: --
212: if p_scl_upd_mode = hr_api.g_update_override then
213: --
214: -- no support hr_api.g_update_override
215: -- (use hr_api.g_update_change_insert instead, plus message)
216: --
217: --l_update_mode := hr_api.g_update_override;
218: --
219: l_update_mode := hr_api.g_update_change_insert;
213: --
214: -- no support hr_api.g_update_override
215: -- (use hr_api.g_update_change_insert instead, plus message)
216: --
217: --l_update_mode := hr_api.g_update_override;
218: --
219: l_update_mode := hr_api.g_update_change_insert;
220: l_warning := 'HR_AU_TAX_SCALE_SYNC_WNG';
221: --
215: -- (use hr_api.g_update_change_insert instead, plus message)
216: --
217: --l_update_mode := hr_api.g_update_override;
218: --
219: l_update_mode := hr_api.g_update_change_insert;
220: l_warning := 'HR_AU_TAX_SCALE_SYNC_WNG';
221: --
222: else
223: --
220: l_warning := 'HR_AU_TAX_SCALE_SYNC_WNG';
221: --
222: else
223: --
224: -- show warning in case hr_api.g_update_change_insert is set.
225: -- no support hr_api.g_update_override
226: --
227: -- create history to sync with scl DateTrack
228: -- no support hr_api.g_correction by customer option
221: --
222: else
223: --
224: -- show warning in case hr_api.g_update_change_insert is set.
225: -- no support hr_api.g_update_override
226: --
227: -- create history to sync with scl DateTrack
228: -- no support hr_api.g_correction by customer option
229: --
224: -- show warning in case hr_api.g_update_change_insert is set.
225: -- no support hr_api.g_update_override
226: --
227: -- create history to sync with scl DateTrack
228: -- no support hr_api.g_correction by customer option
229: --
230: l_update_mode := hr_api.g_update_change_insert;
231: l_warning := 'HR_AU_TAX_SCALE_SYNC_WNG';
232: --
226: --
227: -- create history to sync with scl DateTrack
228: -- no support hr_api.g_correction by customer option
229: --
230: l_update_mode := hr_api.g_update_change_insert;
231: l_warning := 'HR_AU_TAX_SCALE_SYNC_WNG';
232: --
233: end if;
234: --
237: else
238: --
239: if trunc(l_effective_date,'DD') = trunc(p_eev_upd_esd,'DD') then
240: --
241: l_update_mode := hr_api.g_correction;
242: --
243: else
244: --
245: -- create history to sync with scl DateTrack
242: --
243: else
244: --
245: -- create history to sync with scl DateTrack
246: -- no support hr_api.g_correction by customer option
247: --
248: l_update_mode := hr_api.g_update;
249: --
250: end if;
244: --
245: -- create history to sync with scl DateTrack
246: -- no support hr_api.g_correction by customer option
247: --
248: l_update_mode := hr_api.g_update;
249: --
250: end if;
251: --
252: end if;