Query to link incoming payments with deposit

hi everyone
i am looking to develop a query that can link incoming payments with the respective deposit. does anyone have any such query? can you help?
thanks

Please use the following.  It shows both check deposits and CC deposits
SELECT 'CHECK DEPOSIT' [Deposit Type], T0.DEPOSID [Deposit No.], T0.DEPOSDATE [Deposit Date], T0.LOCTOTAL [Desposit Total],
T2.RCPTNUM [Incoming Payment No.]
FROM ODPS T0 INNER JOIN DPS1 T1 ON T0.DEPOSNUM = T1.DEPOSITID
INNER JOIN OCHH T2 ON T2.CHECKKEY = T1.CHECKKEY
WHERE T0.DEPOSTYPE = 'K'
UNION ALL
SELECT 'CREDIT CARD DEPOSIT', T0.DEPOSID, T0.DEPOSDATE, T0.LOCTOTAL, T1.RCTABS
FROM ODPS T0 INNER JOIN OCRH T1 ON T0.DEPOSNUM = T1.DEPNUM
WHERE T0.DEPOSTYPE = 'V'
Best wishes
Suda

Similar Messages

  • Link incoming payments to A/P invoices

    Hi All,
                I have a requirement where i need to make mandatory to link A/P Invoices with Incoming Payments.
               This means no incoming payment must be made without an invoice. can anybody give me the all possible ways to do this???????????????????
                Ive tried by making on account check boy inactive, but this dosnt help me out bcoz if there is any excess payment then the balance excess amout to be gone into on accout.
    Thanks in advance.......
    Sree.

    Hi,
    Are you sure you need to link incoming payments with A/P invoices?  Only outgoing one would link to those invoices.
    I think you must refer to the later because you are trying to stop manual payment.  If this is the case, it is doable through SP Transaction Notification.
    You could search this forum first to find many threads already discussing it a lot.
    Thanks,
    Gordon

  • Incoming Payment with Underpayment/Overpayment in F-28 with reason code

    Hi All,
    While making a incoming payment with overpayment / underpayment in F-28, I am getting an error u2018Reason codes with automatic charge-off are not permitted here u2018. The reason code is defined with charge off checked and the account for differences is defined for the same.
    Please advice
    Thanks

    Please check "Indicator: Charge off difference via separate account" in reason code settings (TCode OBBE). If this indicator is set against the reason code that you are using, you will getting the error.
    What you can do is either use different reason code or in residual items tab you can specify the reason code with residual items.
    Thanks,
    Sukhbold
    Edited by: Sukhbold Altanbat on Oct 13, 2011 7:47 AM

  • Incoming payment with zero value

    Good Morning,
    I'm trying to do an incoming payment with zero value (Negative JE and Positive Invoice selected) but I have the error message: "Confirmation amount must be greater than zero". I have the Internal Reconciliations to do that, but I need to print an outgoing payment document (and with sequence number) with this.
    I'm working with Sap Business One 2007 A SP: 01 PL: 10. This option was available in previous versions. Do you know what can I do?
    Thank you.
    Regards,
    Susana Cunha.

    Dear Ms Cunha,
    I am sorry but it is not possible in 8.8 either.
    However, a workaround is adding this document with a negative value (even -1 as doc total is enough) in the same payment with antoher document that carries positive value.
    I tested this scenario in 8.8 and it worked because the postive document had a total document higher than the negative document.
    Regards,
    Marcella Rivi
    SAP Business One Forums Team
    Edited by: Marcella Rivi on Jun 16, 2010 4:46 PM

  • Incomeing payment with discount

    Hi all,
    I was doing incomeing payment with discount allowed , here payment terms and discount amt also is correct, but the system did't  show in the customer and discound allowed line time , the document did't not saved, the system shows one error.
    error :Rules for posting key 15 and out 200200 set incorrectly for SKFBT field
    pls can anybody help me
    Regards
    sri

    Hi sri,
    T.code -OB41
    There is a conflict in the field status group set for the GL Account and the posting key. For example at one place the field status is set as mandatory field and at the other it is supressed. Check the field status and ensure that both are same.
    From the customer gl Master check what is the field status assigned and check the field status of the different fields. Sametime also check the field status for the posting key 50. This is in configuration. Once, this is set right there will not be any problem in posting the transactions.
    Go to OB41 T. Code there double click on 50 Posting key then click on Maintain field status there you have to change all optional fields. I think your problem go off.
    Regards
    Surya

  • Query for what incoming payments are linked to a/r downpayment invoices

    Dear all,
    Please advice on what query will give me the incoming payments linked to A/R Downpayment invoices in SAP business one 2005 pl 50
    Kind Regards,
    Monil

    Thanks Gordon,
    Please advice on which tables do I refer to?
    Monil

  • How to query a list of open Incoming Payment with its Payment Means

    Dear Experts,
    As subjected, can anyone throw some light onto writing a query which list Open Incoming Payment and its total and payment means.
    Much Thanks!
    Warmest Regards,
    Chinho

    Try this one to start:
    SELECT T0.CardCode Customer, T0.CardName 'Customer Name', CASE WHEN T0.CashSum > 0 THEN 'Cash' WHEN T0.CreditSum > 0 THEN 'Credit Card' WHEN T0.TrsfrSum > 0 THEN 'WIRE' ELSE 'Check' END AS 'Method', T0.DocNum, T0.DocDate
    FROM dbo.ORCT T0 
    WHERE DateDiff(DD,T0.DocDate,GetDate())< 31
    Thanks,
    Gordon

  • Query Print Layout - Incoming Payment

    Hi All,
    I have done the query print layout for incoming payment. but it cannot show the correct A/R invoice: document number. When I only make the payment for 1 invoice it seems to be correct, but when I choose 2 invoices to be paid, then the A/R invoice: document number for the second row is wrong ( if follows the first row).
    Below is the query:
    SELECT T0.DocNum, T0.DocDate, T0.DocCur, T0.DocTotal,
    T0.DocTotalFC, T1.DocNum, T1.CardCode, T1.CardName,
    T1.DocDate, T1.Comments,T1.TrsfrRef as 'Cheque No',
    T2.BankCode' 'T2.AcctNum as 'Bank Code' , T0.Address , T3.Phone1 , T3.CntctPrsn , T0.PaidToDate, T0.PaidFc , T4.AppliedSys , T4.AppliedFc
    FROM [dbo].[OINV]  T0 INNER JOIN ORCT T1
    ON T0.ReceiptNum = T1.DocEntry LEFT JOIN RCT1 T2
    ON T1.DocNum = T2.DocNum LEFT JOIN RCT2 T4
    ON T4.DocNum = T2.DocNum LEFT JOIN OCRD T3
    ON T1.CardCode = T3.CardCode
    WHERE T1.DocNum = [%0]
    ORDER BY T1.DocNum
    the fields that i want to display in repetitive area are: A/R invoice: Document date , A/R invoice: document number, Amount that they have paid ( partial payment / full payment) i used this database: Incoming payment - a/r invoice: paid, outstanding amount i used formula ( total document - paid to date), and document currency
    Thank you! hope you can help.
    Pauline

    Pauline,
    I've tested your query in B1 2007A SP00 PL30 and works fine. I even created PLD for the query and I can see 2 invoice paid by one incoming payment.
    Rgds,

  • F-28 - Incoming payments with residual items - Vat code

    Dear all,
    I need to define a process in which the user can create a residual item for a downpayment on an incoming payment from a customer, and the system automatically creates a new document with the residual posting.
    I have done the customizing for the "Residual Item Posting in Invoice Currency" and defined a Type of document for the residual item. The problem is that the standard procedure puts the vat code also in the payment document and in the residual item document on the customer position... and this is not correct.
    Someone can help me?
    Thank you
    Regards
    Marco.

    Yes, this is due to settings on GL Account for reconciliation account. Please fo t o FS00 provide reconciliation account nr (if down payment) from Sp. GL an d not from Vendor / Customer master and change settings on second tab > there is mantioned that posting without tax are not allowed. (input tax / only output tax only).
    Due to GL master data he post always with the VAT. Addtionally if You will have a discount system will correct the VAT line with discount during clearing all of that becasue of GL master data.
    Regards
    Tadeusz

  • Incoming Payment with Reference to Invoice

    Hello All,
    I have created Customer Invoice via FB70. I have selected payment terms as 14 Day with 2% cash discount. I am now entering incoming payment via F-28 after 2 days, with reference to Original Invoice. Everything is going perfect.
    Now the problem is, after saving the document, neither i can see any invoice reference nor payment terms. They both are showing blank. Only i can see discount amount filled.
    I just want know that from which invoice reference, incoming payment has been posted.
    Regards,
    Jigar

    Hi,
    Hope you are checking in bank line item. Please check the same in customer line item, there you will see the reference inv doc no in it.
    Regards,
    Srinu

  • How to link Down Payment with Sales Order

    Hello Experts,
    How to link a down payment with sales order.
    Regards,
    Shazad

    Hello Shazad,
    You may check these threads first:
    Down Payment Invoice/Request
    Re: Down Payment Invoices
    Thanks,
    Gordon

  • How to pay USD invoice with SGD in Incoming Payment with a diff FX Rate?

    Dear Experts,
    My system configuration is:
    LC: SGD
    SC: USD
    I have a USD invoice that I will like to pay off with an incoming payment, But i will like to pay it off with SGD.
    The date is 1/1/2010 and the USD exchange rate is 1.5 for this day. However I will like to key this payment with a USD exchange rate of 1.3.
    How can I key this incoming payment in SAP? *In my JE posted for the RC, I will also like the SC amount (in USD) to use the exchange rate 1.3 as well.
    Please help advice urgently! Much Thanks!!
    Warmest Regards,
    Chinho

    Dear Experts,
    Please help advice!!
    Much thanks in advance.
    Warmest Regards,
    Chinho

  • Incomming Payment with a Postdated Check

    I need to create several Incoming Payments for several Invoices with postdated checks. The problem is that most times, the general manager does want those Invoices to be still shown in the Aging Report. I tried several things, including saving the incoming payment as a Draft but when it changes Posting Period, it causes problems.

    Are you post dating the checks, or the incoming payment? Perhaps if you post date the incoming payment document, the invoices may still appear on the aging report? I have not tested this, but it would seem to be logical

  • Incoming Payments with Tax only issue

    Dear Support,
    I have a client who wants to do an incoming payment to as they have received a TAX rebate from SARS (South African Revenue Service). The line that she needs to create needs to be 100% tax but the system doesn't allow you to do this. With the outgoing payments you can edit the tax amount as required but with the incoming payments that column is not active for some reason??
    Any ideas on how they can process the TAX rebate in SAP? A journal won't work because the VAT report does not look at journals directly posted to the VAT control.
    Regards
    clayton.

    Hi Clayton,
    Follow the following process as a work around:
    1) Create a Tax Group with 100% Tax and SARS as a Business Partner.
    2) Create an Invoice for the ex amount R1000 + R1000 Tax (100% VAT). It will also be displayed on the VAT report.
    3) On the nest line, Create a negative total for the R1000 with 0% VAT.
    This will result in an Invoice total of only R1000 - which will be your tax amount. You can allocate your incoming payment against the invoice as you would normally do.
    Kind regards
    Carin.

  • AR Incoming Payments with GIRO Process

    Hi Experts
    i have a requirement in my client place as follows:
    1. AR Incoming payment using Auto Incoming payments(like F110 for AP).
        is there is possibility to have this customers (AR) Incoming payments using auto run from SAP Standard function. if yes can you pls tel me what is the proceedure.
    2. Customer GIRO Limit
       this is for all the AR incoming payments. GIRO is the instrunction to the clients bank to do the transfer from the Customer Ac to Clients Ac. but the Customer will limit the amount to be transfered at one time. this limit should be maintained in SAP. and at the time of sending the GIRO information, even if there is a open item for $10000, if a limit is maintained for $2000. the GIRO data will consist only $2000.
    is this possible. any one come across this problem.
    it will be more help full if any one has experiance in this kind of requirement...
    pls advice guys.
    Thanks
    J

    Hi
    Thanks for your reply.
    But, as of i know about F110,  its only for AP. If incase if a vendor also maintained as a customer & if that customer ac is having any openitem for AR then only the balance of AP & AR will be payed out in F110. this is what i understand.
    I want to Run the F110 only for Customer by itself. more over when i tested the system to run only the AR for a customer who Not a vendor. after running system give a message, Debit balance cannot be Zero or Negative.
    is it really possible to Run F110 for Customers. if yes can you give me the steps / things i should look into do this.
    once again thanks for your reply
    J

Maybe you are looking for

  • Is there a way to delete or at least change default calender lists?

    I have just realised I have two Calander lists one is Exchange which I assume set itselt automatically with my work exchange account but I would rather use the iCloud account. When I put in reminders in the iCloud list and close the app then re-open

  • Product cost by period process

    Hello Gurus, Can anybody please explain the process of product cost by period, eventhough i searched but i did'nt get clear picture. Please help in this because i have interview Thanks

  • How to seperate (unlock) frames/pages?

    Hello. I have a dokument of 80 pages of text. Now my problem is that when i edit in one page/frame the other pages/frames relativise to the changes (for eksample move up or down). Now i want them to stop adjusting to eachother synchronically so that

  • IPhoto '08 file storage

    In iPhoto '06 you could use Finder to drill down through library folders to copy, move, view outside of iPhoto. When iPhoto '08 converted the libraries from '06 it created an icon that appears to work like an application rather than a folder. If you

  • Diplay Message with ABAP Planning Function (same message several times)

    Hello experts, I use a ABAP Planning Function (custom developed funtion type) to vaildate the planning data. I want to display the validation results in a message box in the workbook. Therefor I use the Parameter I_R_MSG of the "Execute" Method. This