ORA-20001: you cannot cancel termination that they did not yet end

Hi all

I'm trying to rehire an employee who stopped. This is the API that I use:

declare

date of ld_hr_termination_date: =' 31-DEC-4712;

Start

APPS.hr_ex_employee_api.reverse_terminate_employee

(p_validate = > false - Boolean false by default)

p_person_id = > 1059 - number

, p_actual_termination_date = > ld_hr_termination_date - ld_actual_termination_date - in date

, p_clear_details = > "n" - in varchar2

);

exception

while others then

dbms_output.put_line (' error: ' |) SQLERRM);

end;


Error: ORA-20001: you cannot cancel termination that they did not yet end

I checked in hr.per_all_people_f and the employee is laid off.

I checked in human resources. PER_PERIODS_OF_SERVICE and the ACTUAL_TERMINATION_DATE corresponding to its expiry date in hr.per_all_people_f.

I checked in hr.per_all_assignments_f and has an effective end date that corresponds.

Can you please tell me where I could look at to fix this error.

Thank you

Harsha.

Hello

You will need to move the effective date of the employee for the p_actual_termination_date parameter and not 31-Dec-4712.

Thank you

Mudassir

Tags: Oracle Applications

Similar Questions

Maybe you are looking for

  • iPod nano 7th generation Windows 10 not connect to itunes

    My iTunes connect is more my recently purchased iPod Nano 7th Gen. I followed all the instructions on the troubleshooting page, but nothing has worked. When I plug it in, connect to iTunes, but then a message appears saying that it is not recognized

  • closed system vista windows blue screen error

    Computer off repetedly It looks like overheating Info: ID: 1033 The BCC code: 1a BCP 1:0003452 PCO 2: 67D2E000 PCO 3: C080AE1C PCO C 4: 0 182872 operating system version 6_0_6002 service pack: 2_0 product: 256_1 files that describe the problem: c:\wi

  • Site-to-Site VPN breaks after reset of the router

    Hi all I have a very difficult problem.  I have a CallManager server on one site (Site A) configuration and IP phones which connect you via tunneling IPSec VPN site-to site to Site B.  WAN link to Site B (cable ISP with IP static) can be a tad bit re

  • How to avoid the screen of the user of the switch after the screen saver

    HP Pavilion HPE, model: h8 - 1280t, Intel i7. Win 7 Home Edition - 64 bit - nine Suite of screen saver, computer returns to the screen 'change user '.  There is only 1 user and I don't want to go to this screen since it significantly slows the recogn

  • How to send several PO details in a single 850 EDI X 12 TP file?

    HelloWe're working on sending EDI PO(EDI-X12-4010-850) file to one of our trading partners, say, TP123.The flow rate is: EBS-(Custom XML that contains more than 850 DATA)-> SOA-(Transaction - 850 - adapter B2B XML Format)-> B2B-> TP123.We send detail