Daily Outgoing Payment Report

Hello,
We have a Query shown below that allows us to view Incoming payments made each day to an invoice.
SELECT T2.CardCode [BP Acct#], T2.CardName [BP Company Name], T2.DocNum [Invoice #], T1.DocDate [Receipt Date], T2.DocTotal [Invoice Sum], T0.DcntSum, T0.SumApplied AS 'Paid to Invoice' FROM [dbo].[RCT2] T0 INNER JOIN [dbo].[ORCT] T1 ON T1.DocNum = T0.DocNum INNER JOIN [dbo].[OINV] T2 ON T2.DocEntry = T0.DocEntry WHERE T1.DocDate = '[%0]'
We would like to modify this query so that the last column of information shows the Outgoing payments made.  Meaning, any amount of money that we owe a customer and therefore apply to their outstanding invoice or as a credit memo, etc.
Can someone show us how to do this modification?
Thanks!

Mike,
Try this, this is your query, and it works perfect on my DB
1) SELECT T2.CardCode BP, T2.CardName CompanyName, T2.DocNum Invoice, T1.DocDate ReceiptDate, T2.DocTotal InvoiceSum, T0.DcntSum, T0.SumApplied AS 'Credit to Invoice'
FROM dbo.VPM2 T0 INNER JOIN dbo.OVPM T1 ON T1.DocNum = T0.DocNum INNER JOIN dbo.OPCH T2 ON T2.DocEntry = T0.DocEntry
if this query give you results, the problem could it be in the WHERE clause "where T0.DocDate = '[%0]'
Because you are not inserting a valid value in the '[%0]', maybe you are writing a date that doesnt existe in the "Existing Values" buttom.
Slds,.
Esteban Martinez

Similar Messages

  • Outgoing Payment Report - Bank Transfer

    Does SAP Business One have a built in "Outgoing Payments report" that would display payments made via bank transfers?
    Or the only option is to create a query?
    Thanks,

    Hi
    How about checking at forum too.
    Here is one of the query
    Reg: Bank Transfer Repor
    Thank you
    Bishal

  • Outgoing PAyment Report

    Hi Experts..
    In which table outgoing payment row level data stores. There are no row level data stores in both OVPM & VPM1 table.
    Here I am clearing my point that I need a report in which I can show A/P Invoice, A/P Credit Memo & JE details in deiff coloums.
    That's why I need the same. My client wants PLD in which he can differentiate all Open Invoices, Cr Memo & JE's.
    Sry if I am not much clear.
    Awaiting for kind reply.
    Regards,
    Ravi

    Hi ...
    Actually My vendors need a Deduction details on Outgoing Payments print layout. In basic PLD it is not possible.
    They need Diff Amounts of diff. forms(deduction) like A/P Invoice- Post Date- doctotal, A/P Cr. Memo - doctotal, JE if any.
    And they need it on Payment Advice Print Layout(Outoign payment). Then I thought to create UDF & set FMS on them & then set on PLD.
    Plz suggest if you have better ideas. Every idea would be highly appreciated.
    Regards,
    Ravi
    Edited by: RAVI_JHA_SAP on May 27, 2011 2:24 PM

  • Incoming/Outgoing Payment Reports

    Hi Friends
    My Cleint Need The outgoing/Incoming Payment report and they r asking the following selection creteria
    Incoming payment/Out going Payment -
                              Bank Transfer Payment means wise,
                               Check payment  means wise
                                Cash payment means wise
                                Crdit card Payment Means wise
    Wat i have to do tell me the solution
    Sankar

    HI Sankar,
    Basically you want all those information in one selection criteria window?
    If you use XLR, it will be one selection criteria at a time.
    If you user Query you can combine them in one selection criteria using survey variables. Since you will be accessing the Incoming Payment and Outgoing Payment as one of the selection criteria option, I would suggest that you use t-sql and not just ordinary select statement.
    Laurence Resubal

  • Outgoing payments reports

    Hi all,
    I am a newbie to the SAP Business One 2007 A. I have to print outgoing payment voucher. In the voucher I need the account no. of the business partner to whom the payment is being made, the account no. from which the payment is being made (G.L. A/C #) and the account name (G.L. A/C #) etc.
    Moreover, I also have to print if the payment is being made by check or by cash or by bank transfer.
    Can anybody guide me in this regard?
    Many thanks in advance.
    Afzal

    Hi Gordon,
    Thanks for your prompt response.
    As I mentioned that I am new to SAP Business One. Could you please further guide me how can I print the custom query results on my report? It would be more helpful if you could let me have step by step instruction of the process.
    Best regads,
    Afzal

  • Outgoing Payment on Account Report?

    Hello Experts,
    i have a question i want to ask you for you for your urgent assistance.
    A customer wants to see the G/L account code and Name on the outgoing payment report when they do payments on doctype='A', that is on account.
    I want someone to help me with a query that will automatically pick the G/L account code and name on a UDF i have created on the title of the payments.
    So that i use the OVPM to bring out the Account code and name.
    Please urgent help is needed.
    Thanks

    Hi,
    I have tried with FMS to get account code and name, not getting desired result. It may not be possible due to limitation of FMS.
    are you looking for this?
    Thanks & Regards,
    Nagarajan

  • Amendments to Outgoing Payments (System)

    Hi All,
    I need to amend the outgoing payment (system) report such that it shows the journal enteries that this payment is creating.
    As an example.
    I am making a payment to account :123120 - VAT payable by cheque.
    I would like the outgoing payment report to include (along with the information already present) the following
    DR Account Name (Text Field)  VAT Payable     £xxxxxxx
    CR Account Name (Text Field)  Main Bank Account (£xxxxxx)
    can anyone tell me which database fields I need, and how to link them on the report?
    Thanks
    Dan

    Hi Dan,
    Try to change system default PLD is too risky. The result could be negative no matter how you try. My suggestion would be try it by SQL query.  If you can create your query for this purpose, the time spend might be less.
    Thanks,
    Gordon

  • Outgoing payment print layout

    I want to add journal entry details in Outgoing Payment print layout
    but when I choose source: database, I can not find Journal Entries-Rows in that list
    How can I display journal entries in Outgoing payment report
    because my accountant need it
    Regards,
    Fransiskus

    You can press the alt key and click on the table dropdown in properties. That will display all tables. Be careful though - the document might not work anymore without there being a relationship between the document and the field you want to display.
    Regards
    Daan

  • I encountered an error in the Payment Wizard screen as I was creating an Outgoing Payment for petty cash expenses. On the "Recommendation Report" screen, I clicked "Non-Included Trans." and saw that one of the vendors (Vendor Code: WILCO) has the followi

    Hello,
    I encountered an error in the Payment Wizard screen as I was creating an Outgoing Payment for petty cash expenses. On the “Recommendation Report” screen, I clicked “Non-Included Trans.” and saw that one of the vendors (Vendor Code: WILCO) has the following error:
    “The document amount is greater than the max. amount allowed in the payment methods linked to the BP”
    Upon checking, the “PCF-W” Payment Method linked to WILCO does not have any restrictions, nor does WILCO have any credit/commitment limit set. I have also appropriately defined the Dummy Business Partner Bank (under Payment Terms) as well as checked the “Included” box for PCF-W on the Payment Run-Payment Methods screen.
    Could anyone please help me on this?
    Salamat,
    Cat

    PS - have found other posts indicating that clips smaller than 2s or sometimes 5s, or "short files" can cause this. Modern style editing often uses short takes ! Good grief I cannot believe Apple. Well I deleted a half a dozen short sections and can export, but now of course the video is a ruined piiece of junk and I need to re-do the whole thing, the sound etc. which is basically taking as much time as the original. And each time I re-do it I risk again this lovely error -50 and again trying to figure out what thing bugs it via trial and error instead of a REASONABLE ERROR MESSAGE POINTING TO THE CLIP IT CAN'T PROCESS. What a mess. I HATE this iMovie application - full of BUGS BUGS BUGS which Apple will not fix obviously, since I had this product for a few years and see just hundreds of hits on Google about this error with disappointed users. Such junk I cannot believe I paid money for it and Apple does not support it with fixes !!!
    If anyone knows of a GOOD reasonably priced video editing program NOT from APPLE I am still looking for suggestions. I want to do more video in future, but obviously NOT with iMovie !!!

  • Error at Outgoing payment  and general ledger report

    Hi Experts,
    I am getting a error while opening Outgoing Payment and General ledger Report, Errors are : "Path Can not be Null, Parameter Name: Path" and "Error code: 100000004, Error: Unknown session" ,respectively.
    These errors are only at a particular client machine.
    Kindly suggest solution.
    Thanks in Advance.
    Ashutosh

    Hi Jambulingam/Suraj,
    I checked the by giving admin rights, also with different user login, but these errors come as and when they want, i have put in this system in observation and wil update this thread accordingly.
    There is no citrix server.
    Thanks for your reply.
    Regards
    Ashutosh

  • Document Date on Outgoing Payment/Statement Report PLD

    Hi,
    Is there a way to display the Document Date of the paid/outstanding invoice on the print layout for Remittances (Outgoing Payment) and Customer Statement (Ageing - Customer Statement Report)? At the moment it's only the Posting Date for the Outgoing Payment and Posting Date + Due Date for the Statement Report but would be great to have the Document Date too.
    Regards,
    Nat

    Hi Natalia,
    for adding the Document date to the Outgoing payments form you can add field via modification of the print layout. For example OVTG.Tax Date should represent the document date.
    I would like to know what is the scenario for the document date to be visible on the Aging report.
    Best Regards,
    Martin Slavik
    SAP Business One Solution Manager

  • Question for Outgoing Payment Drafts Report

    HI:
          Experts.I use a non-superuser to login SBO, I couldn't choose user for payment drafts report, but I could choose user for Document Drafts.  How counld I choose a user for Payment drafts report as a non-superuser?
    Regards

    Hi qiang peng,
    Your Super User was Assigned No Authorization for Payments Drafts Report in Banking Module.
    Create to Check this,
    ->> Login Super user in SAP.
    ->> Administration -> System Initialization  -> Authorizations -> General Authorization.
    ->> Open the General Authorization Window and Check the below steps.
    ->> Select the Particular Non Super User.
    -> Banking -> Outgoing Payments. -> Payments Drafts Report (Select the Full Authorizations).
    Update the Authorizations.
    Regards,
    Madhan.

  • AP Outgoing Payment Query with Crystal Report

    Hi Experts, I'm trying to make query for AP Outgoing Payment followings. However, I couldn't get result of Outgoing Payment Number, TrsfrSum, CashSum, CheckSum. Is anyone could advise for this matter? Thanks,
    SELECT
    T0.DocDate as 'Posting Date',
    T0.DocNum as 'AP Invoice Number',
    T0.CardName as 'Supplier Name',
    T0.DocDate as 'Payment Date',
    T1.DocNum as 'Outgoing Payment Number ',
    T0.DocTotal as 'AP Invoice Total',
    (T0.[DocTotal] - T0.[PaidToDate]) as 'AP Sum',
    CASE
    WHEN T1.TrsfrSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.TrsfrSum
    END AS 'TrsfrSum',
    CASE
    WHEN T1.CashSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.CashSum
    END AS 'CashSum',
    CASE
    WHEN T1.CheckSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.CheckSum
    END AS 'CheckSum',
    CASE
    WHEN T1.CreditSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.CreditSum
    END AS 'CreditSum',
    CASE
    WHEN T1.TrsfrSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.TrsfrSum
    END  'Paid To Date',
    T2.CheckNum as 'Cheque Number'
    FROM OPOR T0
    LEFT JOIN OVPM T1 ON T0.ReceiptNum = T1.DocEntry
    LEFT JOIN VPM1 T2 ON T1.DocNum = T2.DocNum
    Left Join OSLP T3 ON T3.SlpCode= T0.SlpCode
    UNION ALL
    SELECT
    T0.DocDate as 'Posting Date',
    T0.DocNum as 'AP Invoice Number',
    T0.CardName as 'Supplier Name',
    T0.DocDate as 'Payment Date',
    T1.DocNum as 'Outgoing Payment Number ',
    T0.DocTotal * -1 as 'AP Invoice Total',
    T0.PaidToDate * -1 as 'AP Sum',
    CASE
    WHEN T1.TrsfrSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.TrsfrSum
    END AS 'TrsfrSum',
    CASE
    WHEN T1.CashSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.CashSum
    END AS 'CashSum',
    CASE
    WHEN T1.CheckSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.CheckSum
    END AS 'CheckSum',
    CASE
    WHEN T1.CreditSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.CreditSum
    END AS 'CreditSum',
    CASE
    WHEN T1.TrsfrSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.TrsfrSum
    END  'Paid To Date',
    T2.CheckNum as 'Cheque Number'
    FROM ORPC T0
    LEFT JOIN OVPM T1 ON T0.ReceiptNum = T1.DocEntry
    LEFT JOIN VPM1 T2 ON T1.DocNum = T2.DocNum
    Left Join OSLP T3 ON T3.SlpCode= T0.SlpCode
    ORDER BY 'CreditSum', 'CheckSum', 'CashSum', 'TrsfrSum', 'AP Sum'

    Hi Stephan,
    Try:
    SELECT
    T0.DocDate as 'Posting Date',
    'AP Invoice' as 'Type',
    T0.DocNum as 'AP Number',
    T0.CardName as 'Supplier Name',
    T0.DocDate as 'Payment Date',
    T1.DocNum as 'Outgoing Payment Number ',
    T0.DocTotal as 'AP Invoice/CR Total',
    (T0.DocTotal - T0.PaidToDate) as 'AP Sum',
    CASE
    WHEN T1.TrsfrSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.TrsfrSum
    END AS 'TrsfrSum',
    CASE
    WHEN T1.CashSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.CashSum
    END AS 'CashSum',
    CASE
    WHEN T1.CheckSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.CheckSum
    END AS 'CheckSum',
    CASE
    WHEN T1.CreditSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.CreditSum
    END AS 'CreditSum',
    CASE
    WHEN T1.TrsfrSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.TrsfrSum
    END 'Paid To Date',
    T2.CheckNum as 'Cheque Number'
    FROM OPCH T0
    LEFT JOIN OVPM T1 ON T0.ReceiptNum = T1.DocEntry
    LEFT JOIN VPM1 T2 ON T1.DocNum = T2.DocNum
    Left Join OSLP T3 ON T3.SlpCode= T0.SlpCode
    UNION ALL
    SELECT
    T0.DocDate as 'Posting Date',
    'AP Credit Memo',
    T0.DocNum as 'AP Number',
    T0.CardName as 'Supplier Name',
    T0.DocDate as 'Payment Date',
    T1.DocNum as 'Outgoing Payment Number ',
    T0.DocTotal * -1 ,
    T0.PaidToDate * -1 as 'AP Sum',
    CASE
    WHEN T1.TrsfrSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.TrsfrSum
    END AS 'TrsfrSum',
    CASE
    WHEN T1.CashSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.CashSum
    END AS 'CashSum',
    CASE
    WHEN T1.CheckSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.CheckSum
    END AS 'CheckSum',
    CASE
    WHEN T1.CreditSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.CreditSum
    END AS 'CreditSum',
    CASE
    WHEN T1.TrsfrSum > T0.DocTotal THEN T0.PaidToDate
    ELSE T1.TrsfrSum
    END 'Paid To Date',
    T2.CheckNum as 'Cheque Number'
    FROM ORPC T0
    LEFT JOIN OVPM T1 ON T0.ReceiptNum = T1.DocEntry
    LEFT JOIN VPM1 T2 ON T1.DocNum = T2.DocNum
    Left Join OSLP T3 ON T3.SlpCode= T0.SlpCode
    ORDER BY 'CreditSum', 'CheckSum', 'CashSum', 'TrsfrSum', 'AP Sum'
    Thanks,
    Gordon

  • OUTGOING PAYMENT ROW INFORMATION WHERE IS IT STORED.  NEED FOR A REPORT

    OUTGOING PAYMENT ROW INFORMATION WHERE IS IT STORED.  NEED FOR A REPORT

    Try this thread:
    Query for outgoing payment
    Thanks,
    Gordon

  • Selection of Distribution Rule in Incoming and Outgoing Payment

    There is an option of selecting the distribution rule in Incoming and Outgoing Payment having transaction of Account type but the requirement is of having the selection of distribution rule having transaction of Customer and Vendor (Invoice wise and Payment on Account)

    What is the purpose for distribution rules in Outstanding invoice list in incoming payment? I try to attach the analysis there and post incoming payment but it will not appear in Journal entries which defeat the main purpose.
    The problem face by customer is that they had many outlets and finance department in HQ needs to monitor daily collection from each outlets.
    The desired outcome by customer is:
    Dr Bank  [profit center=Outlet A]   XXX
    Cr     Customer                                   XXX
    Eventually print out reports in XLR as
                                     Outlet A     Outlet B    Outlet C
    Bank                          XXX            XXX          XXX
    Regards
    Thomas
    Edited by: Rui Pereira on Dec 4, 2008 2:15 PM

Maybe you are looking for

  • Trying to install Adobe Flash: Internet Explorer 9; Windows Vista 32 bit

    During installation process and when prompted, I close IE. However, adobe executable prompts, again, to close IE.  Repeated attempts to "continue" installation result in same message to close IE. I have no Flash versions on my computer. Help!

  • Unicode Conversion

    Hi ,        We are into the initial phase of upgradation from 4.6 to ECC6 . ineed  some of the questions below ... 1.    what is mean by unicode conversion ? 2.    in an object example reoprt or script or bdc or module pool objects what are      need

  • Ale configuration question

    Hi, While doing the ale config as per blog... /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi all steps worked fine...except the step where we select model view and distribute.... I get this message... C

  • New windows created by links do not start maximized

    Currently using Firefox 37.0.1 on Windows 7 x64, but this issue has been present for a long time. When clicking a link that opens a new window (ie a link using target="_blank") the new window does not open maximized. For example on the page http://ww

  • Syncing PC or Iphone to Ipad

    Can I transfer applications from my iphone to the ipad? Can I transfer contacts from PC to IPAD? Thanks you