Page 1 of 1

API date Issue

Posted: Thu Jun 11, 2009 4:29 am
by Moin Ahmed
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

Posted: Thu Jun 11, 2009 7:39 am
by admin
Check two things,

1- change 'DD-MON-YYY' to 'DD-MON-YYYY' .
2- Check effective date of your organization.

Posted: Thu Jun 11, 2009 6:36 pm
by eng_ahmad_2007
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,

Posted: Fri Jun 12, 2009 1:46 am
by Moin Ahmed
Thanks folks my problem has been solve.