Oracle Human Resource (Core HR), Payroll, Time & Labor, Self Service HR, Advance Benefit, Talent Management (Performance Management, Competency Management, Performance Appraisal, Goal Management), iRecruitment, Compensation Workbench
Moin Ahmed
Posts: 8 Joined: Fri Apr 03, 2009 2:06 am
Location: Pakistan
Post
by Moin Ahmed » Thu Jun 11, 2009 4:29 am
hi all
My problem is when i am trying to insert date value to_date('01-JAN-1948', 'DD-MON-YYY') api gives an error.
ORA-20001: The organization is not valid for the current date
when i passed the sysdate to API the script run successfully.
please help its very urgent.
pls find API script in attched file.
regards
admin
Posts: 2096 Joined: Fri Mar 31, 2006 12:59 am
Location: Pakistan
Contact:
Post
by admin » Thu Jun 11, 2009 7:39 am
Check two things,
1- change 'DD-MON-YYY' to 'DD-MON-YYYY' .
2- Check effective date of your organization.
eng_ahmad_2007
Posts: 258 Joined: Sun Oct 12, 2008 1:50 pm
Location: Saudi Arabia
Contact:
Post
by eng_ahmad_2007 » Thu Jun 11, 2009 6:36 pm
Dear Moin,
The problem is that your organization effective startt date is after the date you are entering in the API; thus, it is not found.
Correct the date either in the API or in Organization form and retry again.
Regards,
Moin Ahmed
Posts: 8 Joined: Fri Apr 03, 2009 2:06 am
Location: Pakistan
Post
by Moin Ahmed » Fri Jun 12, 2009 1:46 am
Thanks folks my problem has been solve.
Users browsing this forum: No registered users and 1 guest