Options

Filetr On Closing DAte

alokagrawal1909alokagrawal1909 Member Posts: 19
Hi
i want to know if it it is possible to put a filter to select only the Closing Date entries in the G/L Entry Table.
for example: to get the count of Closing Entries in the G/l Entry table.
the only way i know is to loop through all the g/l entries with a check if posting date is closing date then increase the count.
but that is time taking process.
I want to know if it is possible to do soething like
"G/LEntry".SETFILTER("G/LEntry"."posting Date",<expression forClosing Date Filter>);
"G/LEntry".Count;

If any body has any idea please help. #-o

Thanks

Comments

  • Options
    AlbertvhAlbertvh Member Posts: 516
    Hi
    See the online help for CLOSINGDATE

    Albert
  • Options
    girish.joshigirish.joshi Member Posts: 407
    That doesn't seem to help. The online help for CLOSINGDATE says that it will return a CLOSINGDATE value given any particular date.

    The question was whether or not it was possible to set a filter on G/L Entries that are posted with closing date. Does anyone know if this is possible?
  • Options
    themavethemave Member Posts: 1,058
    in my system closing dates start with a "C"

    so closing enteries for Dec 31, 2008 in are C123108

    I can filter on that date and it works to show only closing entries.

    now you can't use a wildcard and filter on C*

    that gives an error of C* is not a valid date

    one more thought, the source code for closing entries is CLSINCOME

    so you can filter on that and see all closing enteries for any date.
  • Options
    girish.joshigirish.joshi Member Posts: 407
    So far this is what I can do:

    Given a single date, I can check if it is a closing date by comparing it to the normal version's date

    Given a closing date, I can filter for all other closing dates with the same value


    What I can't do:

    Filter for all closing dates.
  • Options
    girish.joshigirish.joshi Member Posts: 407
    themave,

    Great idea about the source code. That will work for me in this case - all of the closing date entries I'm interested in were created through the close income statement process.

    But still what about situations where the closing dates were created through the gen. journal?
Sign In or Register to comment.