1071: open c_previous_timecard(p_timecard_id);
1072: fetch c_previous_timecard into l_previous_tk_item_key,l_previous_tk_item_type,l_timecard_ovn;
1073: if(c_previous_timecard%notfound) then
1074: close c_previous_timecard;
1075: fnd_message.set_name('HXC','HXC_NO_ACTIVE_TIMECARD');
1076: fnd_message.raise_error;
1077: else
1078:
1079: --Cancel notifications for TK Audit
1072: fetch c_previous_timecard into l_previous_tk_item_key,l_previous_tk_item_type,l_timecard_ovn;
1073: if(c_previous_timecard%notfound) then
1074: close c_previous_timecard;
1075: fnd_message.set_name('HXC','HXC_NO_ACTIVE_TIMECARD');
1076: fnd_message.raise_error;
1077: else
1078:
1079: --Cancel notifications for TK Audit
1080: hxc_timekeeper_wf_pkg.cancel_previous_notifications