Unable to delete duplicate time card
We have duplicate time card entry and we would like to delete the entry with help of API suggested by oracle:
hxc_timestore_deposit.delete_timecard
We have tried using below but the duplicate is not deleted.Could you please suggest me?
begin
FND_GLOBAL.APPS_INITIALIZE ( X,
X,
X);
hxc_timestore_deposit.delete_timecard(1,'DELETE','OTL Deposit Process','HAR',SYSDATE);
commit;
dbms_output.put_line('successful');
exception
when others then
dbms_output.put_line('error while deleting');
end;
Thanks
Harish