Supplier Wise Aging Report As of Date
Hi,
We are on 12.1.3
I have wrote a query to find the Supplier Wise Aging Report .But it is not working for back date i.e if we applied Amount 1000 today, in report patameter if a pass the value from to yesterday date - report should display sum of all aging. If we gave till today.. the value should be 1000 less
My Query:
SELECT yy.vendor_name, yy.vendor_id vendor_num, yy.segment1,
yy.SUM remaining_advance_amount, yy.less30, yy.greater30,
yy.greater60, yy.greater90, yy.greater120
-- (SELECT COUNT (1)
-- FROM ap_invoices_all aia
-- WHERE aia.cancelled_date IS NULL
-- AND aia.vendor_id = yy.vendor_id
-- AND TRUNC (aia.invoice_date) BETWEEN :p_from_date AND :p_to_date
-- AND aia.amount_paid <> aia.invoice_amount) out_stnd_bill,
-- (SELECT SUM (NVL (apd.prepay_amount_remaining, 0))
-- FROM ap_invoices_all aib,
-- ap_invoice_distributions_all apd
-- WHERE aib.cancelled_date IS NULL
-- AND aib.vendor_id = yy.vendor_id
-- AND aib.invoice_id = apd.invoice_id
-- AND apd.reversal_flag = 'N'
-- AND TRUNC (aib.invoice_date) BETWEEN :p_from_date AND :p_to_date
-- AND aib.invoice_type_lookup_code = 'PREPAYMENT') on_ac_amount
FROM (SELECT xx.vendor_name, xx.vendor_id, xx.segment1,
SUM (NVL (xx.less_30, 0)) less30,
SUM (NVL (xx.greater_30, 0)) greater30,
SUM (NVL (xx.greater_60, 0)) greater60,
SUM (NVL (xx.greater_90, 0)) greater90,
SUM (NVL (xx.greater_120, 0)) greater120,
( SUM (NVL (xx.less_30, 0))
+ SUM (NVL (xx.greater_30, 0))
+ SUM (NVL (xx.greater_60, 0))
+ SUM (NVL (xx.greater_90, 0))
+ SUM (NVL (xx.greater_120, 0))
) SUM
FROM (SELECT c.vendor_name, c.vendor_id, c.segment1,
(CASE
WHEN ((SYSDATE) - TRUNC (b.invoice_date) <=
30
THEN NVL (( NVL (b.invoice_amount, 0)
- NVL (b.prepay_amount_applied,
0
0
ELSE 0
END
) less_30,
(CASE
WHEN ((SYSDATE) - TRUNC (b.invoice_date)
BETWEEN 31
AND 60
THEN NVL (( NVL (b.invoice_amount, 0)
- NVL (b.prepay_amount_applied,
0
0
ELSE 0
END
) greater_30,
(CASE
WHEN ((SYSDATE) - TRUNC (b.invoice_date)
BETWEEN 61
AND 90
THEN NVL (( NVL (b.invoice_amount, 0)
- NVL (b.prepay_amount_applied,
0
0
ELSE 0
END
) greater_60,
(CASE
WHEN ((SYSDATE) - TRUNC (b.invoice_date)
BETWEEN 91
AND 120
THEN NVL (( NVL (b.invoice_amount, 0)
- NVL (b.prepay_amount_applied,
0
0
ELSE 0
END
) greater_90,
(CASE
WHEN ((SYSDATE) - TRUNC (b.invoice_date) >
120
THEN NVL (( NVL (b.invoice_amount, 0)
- NVL (b.prepay_amount_applied,
0
0
ELSE 0
END
) greater_120
FROM ap_payment_schedules_all a,
ap_invoices_v b,
po_vendors c
WHERE a.invoice_id = b.invoice_id
AND b.vendor_id = c.vendor_id
AND b.invoice_type_lookup_code = 'PREPAYMENT'
-- AND a.amount_remaining <> 0
AND TRUNC (b.invoice_date) BETWEEN :p_from_date
AND :p_to_date
AND b.cancelled_date IS NULL
--AND c.segment1 = 837
ORDER BY c.vendor_name) xx
GROUP BY xx.vendor_name, xx.vendor_id, xx.segment1) yy
ORDER BY yy.vendor_name;
Hi Octavio,
As per this note 1290116.1.
There is no replacement for this table
Thanks
Vishwa
Similar Messages
-
AP Invoice Aging Report for past date
hi guys,
I am running R12.
my requirement is to run AP invoice aging report for past dates (same like AP Trial Balance Report), but the seeded invoice aging report has no option to do so.
would appreciate some help
thanks in advance
RaviHi Senthil,
I am running R12.
my requirement is to run AP invoice aging report for past dates (same like AP Trial Balance Report
if u have any solution to this , please suggest me how to resolve this requierement.
thanks in advance
Ravi
mail:[email protected] -
Stock Aging report with current date
Dear Experts
Can we able to take stock aging report with current date?
Thanks&Regards,
Vinoth Raj KYou're posting in the Portuguese B1 space.
You might want to post in the English one: SAP Business One Application -
Hello:
I did the OB transfer from another database. I transferred all the invoices by due date. After the transfer I tried to run an aging report. The aging report does not show the AR by age. I just see the total. Any help to resolve this will be much appreciated
Thanks,
SatishHi Rahul:
I entered them at Feb 01 date with the due date of the respective invoices. When I run the aging report by posting date all the transactions fall under < 30 days. But when I choose aging report by due date all the balances show under Balance due and there is no aging available. I tried doing this in the test data base and it worked fine there. But not in the active/production database. Please let me know why is this?
Thanks,
Satish -
Ageing Report on posting date and due date
Hi
I want to get customer ageing report on the basis of posting date (bill date) as well as due date (30days after posting date).
Please let me know how to get two reports.Hi,
check with this reports.
s_alr_87012178 and s_alr_87012168
regards,
Radhika. -
AR aging report--from transaction date
Hi
Presently the 7/4 bucket aging report shows current and invoices no of days past due i.e. 31 days due past due date.
Is there a report or any way by which this aging report can be generated to show aging from transaction date.
Thanks
NinadHi ninad
Aging Reports by default are generated based on Transaction date only and not based on GL Date. Please explain your requirement clearly
Regards
Sivakumar -
AP Invoice Aging Report by GL Date (using: Accounts Payable Trial Balance)
Hi
Need some suggestions:
I need to develop a custom report in (R12).
Account Payable Trial Balance Report, does have the capability to run as of a particular date but it does not show aging buckets. This custom report is to be developed to meet the requirements from a Payables detail perspective as well as to reconcile.
The report should show the balance due as of the report date selected. If As of Date = 5/31/11, then when the report is run on 6/15/11, it gives the results as it existed on 5/31/11. If we run it again on 8/31/11 for As of Date = 5/31/11, and again on 1/13/12, we get the EXACT SAME results each and every time except for the following fields: Current Status, Date Paid and Payment Reference Number.
The end result should be this report ties to the penny to Oracle GL as of the date selected EXCEPT for any JEs posted to the account.
Thanks
PravinHi Pravin,
For all transactions in Oracle, you will have GL dates (Accounting Dates) associated to it. If you use this date in your query to filter data, then you will get correct aging data as on a given date.
To tally with GL, you also must check if the selected transaction has been accounted?
Raajkumar G -
Account Group wise vendor aging report
Dear Gurus,
How can I see vedor account group wise ageing report in a company code?i.e Trade Vendors, Non Trade Vndors wise aging report
Thanks in adv.
N.M.BDear Raghavender
No need to create to variant and all.
You just go to S_ALR_87012085 then go to dynamic selections. There we can give account group whatever we want.
If u have any doubts reg. this pls ask me
Bye
Murali -
We found that AP aging report from SAP is not tie with Balance in Balance sheet. Please advise how to find the report which match with our requirement.
Concept of the AP aging report is to age outstanding AP as at the end of month (Open item date). We found that A/P aging report which we currently use is cannot match to balance per G/L. (Please see detail in attached file). And the balance in AP aging report is always changes if we retrieve data on difference timing.
Additionally, this report is not show the reconciliation account, please advise whether it is possible to show summary line which sum by reconciliation account.
Please advise if you have another SAP transaction or any advise on this.
kindly suggestHi,
For ageing report please go to fbl3n and go for change layout there is a option for ageing and posting period choose those two and subtotal it according to posting then you will get period wise meand month wise ageing report for vendor.
S_ALR_87012078 - Due Date Analysis for Open Items
Hope this is clear if yes assign points
Regards,
Sankar -
dear expert all
parameter from date to to date , project code
one of my client requriment i have need project code wise aging report .
send me the query.Hi Zal....
Very Good Afternoon.........
The question was simple. Sinha was simply asking about the Project code wise aging report. If I'm not wrong then for every marketing document level, on header level as well as on row level the project code field is there with the help of which we can categorise the transactions. So if sinha is doing billing as per the project code then he can get the project code wise aging report.
Even you can get the project code wise trial balance sheet also............
Regards,
Rahul -
I am modifying the SAP supplied Customer Aging Report. In the "Repetitive_Area", all the columns, i.e., Document, Post Date, Amount, Balance have the field SOURCE TYPE set as "Free Text" and yet it prints the actual data. I can't seem to find how it is pulling the actual data from the report.
Can someone please help me solve that mystery?
ThanksHi,
The free text data is hardcoded by SAP. It is not possible to find in report.
Thanks & Regards,
Nagarajan -
Hi All.
I need Inventory Stock Quantity wise aging report from sap b1 sp 00 pl 47 .
0-30, 31-60,61-90 and above 90
Regards,
HaiderCheck below link tooo
Re: Stock Aging report in SAP Business One
Re: Inventory Aging Report
Stock Aging Report
and this toooo
SELECT distinct T0.ITEMCODE, T1.itemName,T0.ONHAND as 'Total Qty', T1.ManBtchNum,T1.ManSerNum,
CASE WHEN Datediff (day,T1.LastPurDat, Getdate ()) <45 THEN T0.ONHAND END '<45 Days (Qty)',
CASE WHEN Datediff (day,T1.LastPurDat, Getdate ()) <45 THEN T0.ONHAND * T0.Avgprice END '<45 Days (Value)',
CASE WHEN Datediff (day,T1.LastPurDat, Getdate ())>45 AND Datediff (day,T1.LastPurDat, Getdate ()) <90 THEN T0.ONHAND END '<45 T0 90 Days (Qty)',
CASE WHEN Datediff (day,T1.LastPurDat, Getdate ())>45 AND Datediff (day,T1.LastPurDat, Getdate ()) <90 THEN T0.ONHAND * T0.Avgprice END '<45 T0 90 Days (Value)',
CASE WHEN Datediff (day,T1.LastPurDat, Getdate ()) >90 THEN T0.ONHAND END '>90 Days (Qty)',
CASE WHEN Datediff (day,T1.LastPurDat, Getdate ())>90 THEN T0.ONHAND * T0.Avgprice END '>90 Days (Value)'
FROM OITW T0 INNER JOIN OITM T1 ON T0.ITEMCODE = T1.ITEMCODE
INNER JOIN OITB T2 ON T1.ITMSGRPCOD=T2.ITMSGRPCOD
left join ibt1 t3 on t3.itemcode = t0.whscode
WHERE T0.ONHAND >0 AND T0.WhsCode = '[%0]' AND T2.ItmsGrpNam ='[%1]' -
Currency problem in accounts receivables ageing report
when i generated accounts receivables ageing report i got ageing in UAE DIRHAMS only and i have receivables in two different currencies in UAE DIRHAMS AND IN EURO , i want to get all receivables in the ageing report in euro only but i couldn't please how to solve this currency problem
thanks in advanceHi
Please refer this transaction code for account receivable ageing report
S_ALR_87012168 - Due Date Analysis for Open Items
Regards
Praveen -
Accounts receivables ageing report
i want to know how to generate accounts receivables ageing report,which T-codes to use
Hi
Please refer this transaction code for account receivable ageing report
S_ALR_87012168 - Due Date Analysis for Open Items
Regards
Praveen -
Sales Analysis Report based on Supplier-wise
Hi Experts,
My client requirement is ,We are into trading so , we want a Sales analysis report based on Supplier-wise. like,
Selection critieria is
1)Supllier name
2)From and To date.
Heading are
Item name Sales UoM Jan(quantity) Feb(quanitity) mar(quantity) April(quanitiy).........
here, i need only the sum of the quantity for the items for that particular month based on the date giving in selection criteria.
Regards,
Dwarak
Edited by: Dwarak@SMS on Aug 23, 2010 4:29 PMHi experts,
For my clients requirement,
I could able to alter my previous query(find below).
My object is
1)To get sales report based on Manufacturer.
2)To get the TOTAL SALES QUANTITY OF THE MONTHS in the report. I go that in the below query, and only thing is that is have to minus the total Credit note for items to get the ACTUAL TOTAL SALES OF THE MONTHS. so , can anyone help me to alter the query to get me the ACTUAL TOTAL SALES OF THE MONTHS.
the query is
SELECT T0.ITEMCODE,T0.ItemName,T0.OnHand,
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 1 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'JAN ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 2 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'FEB ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 3 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'MAR ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 4 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'APR ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 5 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'MAY ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 6 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'JUN ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 7 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'JUL ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 8 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'AUG ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 9 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'SEP ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 10 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'OCT ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 11 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'NOV ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 12 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'DEC '
FROM dbo.OITM T0
LEFT JOIN dbo.INV1 T1 ON T1.ItemCode = T0.ItemCode WHERE T0.SellItem = 'Y' and T0.[FirmCode] =[%0]
GROUP BY T0.ItemCode,T0.Itemname,T0.OnHand,YEAR(T1.DOCDATE) HAVING YEAR(T1.DOCDATE) =
YEAR(GETDATE())-0
ORDER BY T0. ITEMCODE
Maybe you are looking for
-
Viewing FCPHD on an NTSC Monitor
Hello I am going to purchase a MacBook Pro, and want to view my timeline on an NTSC Monitor. Do I need to spend $270 on an external Canopus Converter, or would a $20.00 DVI-SVideo adaptor work? I don't want to view ALL the FCP windows, just the timel
-
Can anyone explain what is OAT conversion in R12.1.. Which responsiblity to choose in the front end to see the details... What are the basic steps to do OAT conversion....... thanks and regards renji
-
Hi friends, I am having a problem when sorting the table control dynamically based on the fields selectd. sorting is not working, when you select multiple fields ( one numeric field and one character field ) I have written code for handling multiple
-
Lightoom wont import raw files from my EOS400D
I've just reinstalled my PC, this time using the 64-bit version of Windows Vista (no particular reason other than wanting to see whats it like). However when I tried to import the photos from my EOS400, all the raw format files were completely ignore
-
Product not listed on my account
Bought PS elements some years back. Upgraded online to PSE some months back. Computer crash led to full reload of all programmes but cannot find product key for PSE 12. My account does not show purchase of PSE 12. Any suggestions?