You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact support.
If you prefer not to see double-underlined words and corresponding ads, place your cursor
I want to retrieve the amounts from a table with ledger value xxx for the end of period processing(month end). I have fiscal year and accounting_period. Can someone please tell me how I can get this.
No, its different for every record. Infact I want the last_day of the previous month. Supposedly, I'm running a report today, I want all the records as of Jun 30, 08.
period number
start_date date;
end_date date;
select a.start_date - 1
into end_prev_period
from periods a
where trunc(sysdate) between a.start_date and a.end_date;
__________________
Bill
Cream always raises to the top, and so does the scum!!
I'm sorry everyone. I didnt get a chance to reply.
What I'm looking for is as follows-
Sno. date
1. 11-jan-2008
2. 5-apr-2007
3 17-dec-2007
4 4-jul-2008
5 10-jul-2008
.
.
Assume I'm running the report today, I want all the records for the current period. In this situation, if I'm running the report in Jul it will return 4 and 5 records.