Home » Applications » Oracle Fusion Apps & E-Business Suite » GL date, 31-MAR-10, is not in an open or future-enterable period (merged) (R12)
GL date, 31-MAR-10, is not in an open or future-enterable period (merged) [message #473304] |
Fri, 27 August 2010 06:05 |
deepak3arora
Messages: 32 Registered: October 2009 Location: chandigarh
|
Member |
|
|
Hello to All,
I am Using Receipt API(AR_RECEIPT_API_PUB,Create_Apply_On_Acc) to create Receipts.
Its Returning me an Error stating : "GL date, 31-MAR-10, is not in an open or future-enterable period."
While The Period is Already in 'Open' stage at GL as well as AR level.
Please Help !!
Thanx in Advance...
|
|
|
|
|
|
Re: GL date, 31-MAR-10, is not in an open or future-enterable period [message #473323 is a reply to message #473321] |
Fri, 27 August 2010 06:50 |
deepak3arora
Messages: 32 Registered: October 2009 Location: chandigarh
|
Member |
|
|
Hello,
I am trying to make it run from SQL.
The DBMS Output is as follows :
Return Status = E
Message Count = 42
Message Data =
GL date, 31-MAR-10, is not in an open or future-enterable period.
while the periods are Open at GL Level and AR level too...
The below mentioned query returns 1 as result :
SELECT COUNT ( * )
--INTO v_count
FROM gl_period_statuses gps
WHERE gps.application_id = 101
AND gps.set_of_books_id = 2021
AND gps.closing_status IN ( 'O', 'F' )
AND '31-MAR-2010' BETWEEN gps.start_date and
gps.end_date;
Regards,
Deepak
|
|
|
|
|
|
Re: GL date, 31-MAR-10, is not in an open or future-enterable period [message #473341 is a reply to message #473337] |
Fri, 27 August 2010 07:54 |
deepak3arora
Messages: 32 Registered: October 2009 Location: chandigarh
|
Member |
|
|
Hello Arian,
Do you set the apply_gl_date separately? What is the gl_date of the transaction that you are applying to?
Answer :-
Nope i amm not passing the apply_gl_date separately.
But i have tried that too on my Instance.
Even if i try with apply_gl_date(Both the dates as same):
,p_gl_date => p_gl_date
,p_apply_gl_date => p_gl_date
It do not works. It again gives the same message: 'GL date, 31-MAR-10, is not in an open or future-enterable period'
Regards,
Deepak
|
|
|
|
|
|
|
Re: GL date, 31-MAR-10, is not in an open or future-enterable period [message #473352 is a reply to message #473350] |
Fri, 27 August 2010 08:43 |
|
Alien
Messages: 292 Registered: June 1999
|
Senior Member |
|
|
Hi,
ok. Let's try this statement:
Select period_name,closing_status,adjustment_period_flag, start_date,end_date
From Gl_period_statuses
Where Application_id in (101,222)
and set_of_books_id = 2021
And Adjustment_period_flag = 'N'
And to_date('31-MAR-2010','dd-mon-yyyy') Between Start_date And End_date
And Closing_status In ('O', 'F', 'N') ;
Regards,
Arian
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Jan 11 05:01:29 CST 2025
|