2578: open c_previous_timecard(p_timecard_id);
2579: fetch c_previous_timecard into l_previous_tk_item_key,l_previous_tk_item_type,l_timecard_ovn;
2580: if(c_previous_timecard%notfound) then
2581: close c_previous_timecard;
2582: fnd_message.set_name('HXC','HXC_NO_ACTIVE_TIMECARD');
2583: fnd_message.raise_error;
2584: else
2585:
2586: --Cancel notifications for TK Audit
2579: fetch c_previous_timecard into l_previous_tk_item_key,l_previous_tk_item_type,l_timecard_ovn;
2580: if(c_previous_timecard%notfound) then
2581: close c_previous_timecard;
2582: fnd_message.set_name('HXC','HXC_NO_ACTIVE_TIMECARD');
2583: fnd_message.raise_error;
2584: else
2585:
2586: --Cancel notifications for TK Audit
2587: hxc_timekeeper_wf_pkg.cancel_previous_notifications