GL_CLOSED_DATE??

Hi all
I am creating receipts and applying with a transaction.Gl_DATE for receipt is say 06-JAN-10 ( As i created on this date). Before applying , GL_CLOSED_DATE value is default value i.e 31-DEC-4712 and after applying GL_CLOSED_DATE is GL_DATE of receipt. I ran AR General Ledger transfer program on same date and there is no change in GL_CLOSED_DATE.
My questions
Will there be change in GL_CLOSED_DATE after AR to GL transfer program, if yes, then what basis, this change will happen?
What is the significance of GL_CLOSED_DATE before applying, after applying and after transfer to GL?
Will GL_DATE has any impact on GL_CLOSED_DATE (I am asking this as my GL_CLOSED_DATE is nothing GL_DATE in all cases)?
Please help me in this issue?

GL_CLOSED_DATE and GL_DATE bothe these fields have tottaly different purpose. The gl_date is used for your gl transfer date. The gl_closed_date is used to find out if your receipt has been applied or is the receipt amount still unapplied.
I am just posting here one of my old query I used to find out the open credits. May be this will give you some good idea.In the following query I am trying to find out open receipts as on a particular date (p_as_of_date2). Initially when the gi_date is 31-DEC-4712 , it will always be greater than the p_as_of_date2.
SELECT ps.customer_id CUST_ACCOUNT_ID
, ps.payment_schedule_id
, CEIL(p_as_of_date - ps.GL_DATE) days_late_as_of_r
, ps.gl_date
, cr.receipt_number
, app.cash_receipt_id
, sum(app.acctd_amount_applied_from) ACCTD_AMOUNT_APPLIED
FROM ar_receivable_applications app
, ar_cash_receipts cr
, ar_payment_schedules ps
WHERE app.cash_receipt_id = cr.cash_receipt_id
AND app.payment_schedule_id = ps.payment_schedule_id
AND app.status in ('ACC', 'UNAPP', 'UNID', 'OTHER ACC' )
AND NVL(app.confirmed_flag,'Y') = 'Y'
AND app.gl_date <= p_as_of_date2
AND ps.gl_date <= p_as_of_date2
AND ps.gl_date_closed > p_as_of_date2
AND ( ( app.reversal_gl_date IS NOT NULL AND ps.gl_date <= p_as_of_date2 )
OR app.reversal_gl_date IS NULL
GROUP BY ps.customer_id
, cr.receipt_number
, app.cash_receipt_id
, ps.payment_schedule_id
, ps.gl_date
HAVING
sum(app.acctd_amount_applied_from) <> 0 ;
Thanks,
Anil

Similar Messages

Maybe you are looking for

  • Syncing iPad to Outlook Contacts on my PC

    I have decided not to use the iCloud for syncing because my contacts list has too much private data. I know iCloud is supposedly a secrure site, but I don't trust that much personal info of my friends and family on the Internet. So I am using iTunes

  • All my Contacts have changed!

    Two days ago, suddenly, my iPhone Messages no longer had names as headers, just phone numbers. Now I find that all my iPhone Contacts have changed! I used to have more than 1100, and now I'm down to 108, and the folks who used to Message me most are

  • Set reader 9 as default reader

    How do I set reader 9 as my default reader?  I also have Acrobat 6 running & when I attempt to read a document it defaults to Acrobat 6 & I get the prompt that I need Reader 9 or later to read this document.  In sum--I wish to have both reader 9 & ac

  • Finding my iMac shut down or rebooted for no reason at all?!?!?

    I recently transferred my iMac G5 to an iMac Intel. Since doing so, I have found my new iMac Intel in the mornings completely shut down or as if it had been restarted (user account selection screen). This morning, I sat down at the computer and moved

  • Problem in building app using ant.

    Hi, I downloaded JWSDP EA1 and trying to build, deploy and run the sample application programs using tutorial. while building the app using "ant build" command I get an error saying class org.apache.catalina.ant.InstallTask not found. when I removed