Daily Invoice Posting Report

Hello,
We would like to create a query that shows invoices and credit memos posted each day. 
The columns would be the following and in this order:
Doc Type...Invoice or Credit Memo No...Customer Code...Company Name...Posting Date...Cust Ref #...Due Date...Amount
Can anyone help write this query for us?
Thanks!!!!
Mike

Doc Type...Invoice or Credit Memo No...Customer Code...Company Name...Posting Date...Cust Ref #...Due Date...Amount
SELECT 'INVOICE', T0.CARDCODE, T0.CARDNAME, T0.DOCDATE, T0.NUMATCARD, T0.DOCDUEDATE, T0.DOCTOTAL
FROM [dbo\].[OINV\] T0 WHERE T0.DOCDATE = GETDATE()
UNION ALL
SELECT 'CREDIT MEMO', T0.CARDCODE, T0.CARDNAME, T0.DOCDATE, T0.NUMATCARD, T0.DOCDUEDATE, -1*T0.DOCTOTAL
FROM [dbo\].[ORIN\] T0 WHERE T0.DOCDATE = GETDATE()

Similar Messages

  • Invoices posted report

    Hi All,
    We have a requirement in our project. As a control, we have to verify a set of invoices (say 10% of the total invoices posted) to ensure that the invoices are correctly and accurately posted. Hence we need to implement this detective control.
    Is there a standard SAP report which gives the list of the invoices posted in the system and which may also select a sample from the

    Hi All,
    We have a requirement in our project. As a control, we have to verify a set of invoices (say 10% of the total invoices posted) to ensure that the invoices are correctly and accurately posted. Hence we need to implement this detective control.
    Is there a standard SAP report which gives the list of the invoices posted in the system and which may also select a sample from the total no of invoices posted.
    Thanks in advacne!
    Best Regards,
    Aman

  • Daily Invoice Posting Summary Query

    Hello --
    Question about this Query below:
    SELECT T1.RefDate, SUM(T0.Debit - T0.Credit) as 'Net Balance'
    from JDT1 T0
    Inner Join OJDT T1 ON T1.TransId = T0.TransID and
    (T1.TransType = '13' or T1.TransType = '14')
    Inner Join OCRD T2 ON T2.CardCode = T0.ShortName
    Where T1.RefDate Between '[%0]' and '[%1]' and T2.CardType = 'C'
    Group by T1.RefDate
    Order By T1.RefDate
    This Query allows us to view a summary of the invoices and credit memo's posted for a specified time frame.
    I noticed that in the initial pop up window when we select this Query, it allows us to select the date range.  Today the date range ended with 10/1 -- today's date.
    However, after we select this range, the results show only up to 9/30 as the last date. 
    The results page is correct as the Invoices we have processed only apply up to 9/30 -- we have not invoiced for 10/1 yet.  Why does the selection period show up to 10/1 and not 9/30?
    Thanks!!
    Mike

    Mike,
    As I wrote to you in my earlier reply....what you see on the list of dates for selection is what is on the OJDT table.
    9/30 - 569 records for this date
    10/1 - 199 records for this date
    10/2 - 72 records for this date
    It does not mean that the 72 records that are found in OJDT match your criteria on belong to the document you are filtering on.
    OJDT contains journal entries from every possible document in Business One.....
    There are two things that happens when you select the date range 9/30 - 10/2
    In your query the WHERE clause is what does the filtering and qualification of the results...in the below WHERE clause.....
    Where T1.RefDate Between '[%0\]' and '[%1\]' is only one part...if you substitute them with the date...
    Where T1.RefDate Between '09/30/08' and '10/02/08'...the total records returned would be 840 (total of the above date range)...then come the T2.CardType = 'C' filteration...in which no records from 10/02/08 qualify... and only those which qualify show in the result.
    Where T1.RefDate Between '[%0\]' and '[%1\]' and T2.CardType = 'C'
    Group by T1.RefDate
    Order By T1.RefDate
    I think this is the best one can explain.........

  • Report for asset: invoice posted by vendor

    Hello Gurus,
    My users want to have a report to extract the list of vendor invoices posted on assets. But I am Not able to find any such kind of table relationship in which Asset details & vendor Details both are maintained.
    While creation of Asset They didn't maintained the vendor details.  So the Vendor details are not available in Asset Master Tables .
    So please if you people can help me out.

    Hi
    Can you  please specify the report name.
    regards
    Navin

  • Std. Transaction / Report to List all PO's with no invoice posting

    Hi All,
    I would like to know is there a standard transaction or report, which lists out all PO's for which goods receipt has been done, but invoice posting has not been done?
    Vivek

    Hi All,
    Thanks for your inputs,
    1. MR11 - Can you please let me know what input conditions do i have to give, to view only those PO's for which GR is done & Invoice not posted, because when i run this transaction it is showing all PO's which have invoice posted as well.
    2. ME2M - I am not able to select the dynamic selection option, it is in grey, how do i activate it?
    3. ME80FN - This gives a list of PO's line wise, but what i need is all PO lines for which GR is done, but no invoice posted.
    Await inputs.
    Vivek

  • (Invoice register Report – Payment Register report = Aging Report)

    Hi,
    The total balance for Invoice registers report “minus” the balance for Payment register report not give me the balance of Invoice aging report
    The expected behavior:
    It must minus the balance between the two reports equal to invoice aging report
    (Invoice register Report – Payment Register report = Aging Report) But this not happen
    What the issue causing for that ?
    Thanks

    Hello.
    I think you cannot expect that calculation to be correct. Just to mention Payment Register, this report does not have a total in the functional currency.
    The following excercise is true:
    Ending Balance of Accounts Payable Trial Balance on period 1 + Posted Invoice Register on period2 - Posted Payment Register on period2 = Ending Balance of Accounts Payable Trial Balance on period 2
    Octavio

  • Mistakenly reversed goods receipt after invoice posted

    Hi experts,
    I already post this question in EAM forum, but moved to here as I think I will get more useful replies.
    I have a PO that was goods receipted and invoiced receipted. Later on, the GR was reversed, and now that entry needs to be reverse... We're having a negative value in our reports that should not be there.
    What would be the way to fix this? Is it OK that the goods receipted may be reversed after invoice receipted.. i.e. after an invoice has been posted? In Tx. OMBZ the Mvt. 102 has "RevGR desp. IR" unchecked.
    Kind Regards,
    Andres.
    Original thread: Reverse goods receipt after invoice posted.

    Just do a GR again for the PO and this should fix your problem. The original document and reversal documents will remain there with another GR document against PO.
    Unless the payment against the invoice hasnt been made, your preceding documents can be changed. Once the payment has been made, you should not be able to change any preceding document.
    Edited by: Afshad Irani on May 31, 2010 9:08 AM

  • Invoice matching report in AR Donwpayment Invoice

    Hi Expert,
    Customer would like to see AR Downpayment Invoice matching report as follow. May I know how to derive the information?
    BP name(A)   D/P Inv No(B).  Total amount in D/P Inv(C)    Amount applied in invoices(D)    Remaining balance(E)=C-D
    and the report must include supporting information about paid invoices
    Inv No.    Posting date      Amount.--> Total of these amount must be same with (D)
    Regards
    Thomas

    Dear Thomas,
    In order to get this information you need a query that would work out the values in the ar down payment invoice.
    This can be a beginning. However, some values must be calculated in the query because they are not in the table.
    SELECT T0.DocNum, T0.CardCode, T1.VatSum, T1.LineTotal, (T1.LineTotal * T0.DpmPrcnt/100) as DPM, (t1.LineTotal - (T1.LineTotal * T0.DpmPrcnt/100) - T1.VatSum) as PAYM_LEFT FROM ODPI T0  INNER JOIN DPI1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.DocNum = '1'
    Please, let me know if this is sufficient or you need some more information from the query.
    Kind Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • Invoice details Report

    Hi ALL
    I am working on a report to retrieve details of vendor invoices posted. Here are the data I need in the report output. Please let me know which tables I could get the required data from and the logic I need to use.
    Invoice number
    Excise duty
    Edu Cess
    HEdu Cess
    VAT
    KST
    CST
    Material
    GR reference etcu2026
    Thanks
    Venugopal

    you can fetch the mentioned fields from below tables
    Invoice Receipt header data - RBKP
    Invoice Receipt ITEM data -     RSEG
    Accounting doc header data-BKPF
    Accounting doc ITEM data-    BSEG
    withholding tax data in IV-     RBWS
    tax info-                                 RBTX

  • ETax Module - Problems displaying in req, PO, invoice, Payment, reports...

    Hi,
    We are in the midst of a 12.1.1 implementation and we have encountered a significant problem with Oracle eTax module.
    Are there others that are encountered problems we are faced with?
    1. Currently eTax information is not displayed on any existing requisitions, purchase order, receiving, invoice, payment, reports or forms.
    2. eTax distinct tax accounts are not being applied to every transaction
    3. eTax has rounding errors, when processing small amounts having multiple distirbutions.
    4. eTax information is only generated on purchasing document, after accessing the Tools bar and selecting, 'Manage Tax'. If you don't do this step no taxes are applied.
    This is just a fluke or am I in the same boat as everyone else?
    Thank you in advance for your comments, advice and expert opinion.
    John

    11Albert11 wrote:
    bpont wrote:I am having similar problems...not sure if it's related, but have a look at my post: https://bbs.archlinux.org/viewtopic.php?pid=1253942
    We have the same Intel Chip Maybe some problem with the driver or de dri I'll try the SNA method to se if it helps.
    Using SNA in 20-intel.conf solved my problem, I see the desktop and programs right and I have Slim login back. But now I have another problem flash content in firefox is displaying weird and I think is not a flash problem because it happens in Chromium too.

  • Invoice query report

    Hi B1 Experts
    Kindly help me....
    I need A/R invoice query report which will give me the Daily, monthly and yearly total invoicing as on date in a single screen also without using XL reporter.
    I am using SAP B1 version 2005B PL36.
    Thx in advance.
    Rozario.

    SELECT DISTINCT T0.CardCode [Customer],
    (SELECT ISNULL(SUM(I1.LineTotal),0) FROM INV1 I1 INNER JOIN OINV I ON I1.DocEntry = I.DocEntry WHERE I.CardCode = T0.CardCode AND Day(I1.DocDate) = Day(GetDate())) [Daily],
    (SELECT ISNULL(SUM(I1.LineTotal),0) FROM INV1 I1 INNER JOIN OINV I ON I1.DocEntry = I.DocEntry WHERE I.CardCode = T0.CardCode AND Month(I1.DocDate) = Month(GetDate())) [Monthly],
    (SELECT ISNULL(SUM(I1.LineTotal),0) FROM INV1 I1 INNER JOIN OINV I ON I1.DocEntry = I.DocEntry WHERE I.CardCode = T0.CardCode AND Year(I1.DocDate) = Year(GetDate())) [Yearily]
    FROM [dbo].[OINV] T0
    GROUP By T0.CardCode

  • Service entry sheet - invoice posted on SES

    Dear all,
    Does anybody knows if it is possible to see on Service entry sheet (SES) level if there was already an invoice (via MIRO) posted on it?
    Either a full or partial invoice?
    I have the tables ESSR, ESLL, ESLH, but I can't seem to find if there was already an invoice posted on a specific SES...
    Many thanks!
    Best regards.

    Venu,
    Thanks!
    Do you have any idea in which tables I can retrieve these values (Settled value/Invoiced qty)?
    Table: ESSR = Service Entry sheet header (contains Package number & SES no)
    Table: ESLL = Service entry line item, but not settled value (contains Package no, not SES no).
    What is the indicator (green, yellow or red light) next to the Settled value in the ME2S report?
    Many thanks!
    Best regards.

  • MIRO - Invoices posted against a Purchase Type

    Hi Experts ,
    My client needs a report of MIRO - Invoices posted against a Purchase Type. Can I get this from a standard report.
    Thanking you in Advance,
    Arabinda

    HI<
    report ME80FN execute report and select change icon and then select PO history you will get report PO-MIGO-MIRO
    or
    MIR5
    or MIR6
    or try MIR4
    or table in se16n t-code RBKP and RSEG
    EKBE
    Regards
    Kaials Ugale

  • GRN Posting Date in A/P Invoice posting date...

    Dear Experts,
                        Can anybody help me to get the GRN Posting Date Automatically in A/P Invoice posting date while copying !.
    Thanks in Advance,
    Bhoopathi.K

    Dear Nagarajan,
                        The reason for my requirement follows below,
    1. I need the GRNI account to be null on everyday basis.
    2.Whenever I run P&L, the Purchase Offset account and Purchase Analysis itemwise report should match and in this case it will.
    3.Because of some In-house disciplinary things .
    Thanks,
    Bhoopathi.K

  • Which kind of IDOC for invoice posting ?

    I have a requirement where I have to look at the incoming IDOCS send by vendors through EDI. Now if the IDOC posting fails to create invoice, I have to create a custom report for all the failed invoices posting (status 03).
    My question is when the vendor will send invoices via EDI IDOCS, will that be INVOIC01 or INVOIC02. Because I will be reading segment data of these invoices to create the report.
    Also, can someone guide me through as how to create data for incoming INVOICES IDOCS for testing purpose ?
    Regards,
    Rajesh.

    Solved myself

Maybe you are looking for

  • Using MySQL DB on Weblogic 10.3.2 for JMS Store and etc.

    Hi, I am planning to use MySQL DB w Weblogic 10.3.2 server. I am planning to use Persistent JMS Destinations and planning to use MySQL Datasource for JMS store. Can anyone please help me understand any serious issues or considerations of this combina

  • Map does not show in google search results page

    Normally when I searched for a type of business on google, a small map showed up beside the search results. Unfortunately, I did something weird on my mousepad that froze my computer and after reboot, the map box was gone. And even more unfortunately

  • Formating a date parameter

    hi guys, i have a parameter in my report of type date, the format mask is the way i want it dd/mm/yyyy now i am using these dates in a title on my report and have done the following: title := 'dates:' ||:RP_DATE_FROM||' to '||:RP_DATE_TO; however whe

  • Multiple places for one event

    Hi, does anybody know if it is possible to add multiple locations to one event in iPhoto? Thanks in advance.

  • IPhoto 7.4.1 not printing

    I just updated iphoto to 7.4.1 and when I attempt to print I receive the message "No Themes Available". This occurs when I try to print from the file menu. The printer icon in the lower right hand corner does not respond at all. Any solution to this?