Hi All,
I want to find the details of the payments that are made in the year 2000, 2001 and 2002 from back end - What is the query I have to use.
do i need to take the AP_Checks_All table or the AP_INVOICE_PAYMENTS_ALL ???
Can Any one help me out at the earliest ?
I would like to know the count of the payments made in that particular year.
select * from ap_checks_all, where i am able to see all the payments made from 1996 till date, but I am not able to catch the exact query to find out the details as said above for a particular year.
How query for the date Field
-
- Posts: 130
- Joined: Sun Mar 11, 2007 1:47 am
- Location: India
-
- Posts: 615
- Joined: Mon Sep 18, 2006 1:32 am
- Location: United Arab Emirates
- Contact:
i dont think sysdate is suiteable check
[quote]Hi Uma,
Try for this query,
select* from ap_invoice_payments_all where year in(2000,2001,2002);
Count:
select count(*) from ap_checks_all where sysdate between from_date and to_date;
If any queries please let me know...
<i><div align="right">Originally posted by siva sankar
[quote]Hi Uma,
Try for this query,
select* from ap_invoice_payments_all where year in(2000,2001,2002);
Count:
select count(*) from ap_checks_all where sysdate between from_date and to_date;
If any queries please let me know...
<i><div align="right">Originally posted by siva sankar
-
- Posts: 130
- Joined: Sun Mar 11, 2007 1:47 am
- Location: India
Who is online
Users browsing this forum: No registered users and 3 guests