SQL to link Invoice and receipts in Receivables

Hi,
Kindly provide a SQL to find the link between invoice and Receipts in Receivables module.
Thanks and Regards
Sathya

Hello Sathya.
For 11i
AR_RECEIVABLES_APPLICATIONS_ALL contains columns CASH_RECEIPT_ID (identifies the Receipt) and APPLIED_CUSTOMER_TRX_ID (The transaction to which the Receipt has been applied to)
Hope this helps,
Octavio

Similar Messages

  • Error:Invoice and receipt must be paid exactly

    Hi
    I m receiving an error while adding A/R invoice
    Invoice and receipt must be paid exactly[message 131-45]
    and pop up window of payment is opened.I want to pay to customer only after adding sales invoice not before adding.
    How to get rid of it?

    Hi,
    Check your Customer (BP). This problem may occur because of that customer may be a cash and carry customer.
    Cheers,
    Senthil Maruthappan.

  • SQL-Query - AR Invoice and related AR Down Payment Invoices

    Hello everybody,
    I want to show all AR Down Payment Invoices related to a given AR Invoice, i.e. a query approximately in this form:
    SELECT
    T0.DocNum AS 'Invoice',
    T0.DocDate AS 'Invoice Date',
    T0.DocTotal AS 'Open Amount',
    T1.<<DocNum>> AS 'Down Payment Invoice',
    T1.<<DocDate>> AS 'Down Payment Invoice Date',
    T1.<<Amount>> AS 'Down Payment Invoice Amount'
    FROM
    OINV T0 INNER JOIN <<Down Payment Invoices>> T1
    ON T0.DocEntry = T1.<<DocEntry>>
    WHERE
    T0.DocNum = xxxxx
    I want to know if such a table <<Down Payment Invoices>> exists and what its name is.
    Thanks for your help!
    Regards,
    Frank Romeni

    Thanks for the INV11 - but this table seems to be empty even for invoices we have related down payments, e.g.
    SELECT
    T0.DocNum, T0.DocTotal, T1.<<whatever you want>>
    FROM
    OINV T0 LEFT OUTER JOIN INV11 T1
    ON T0.DocEntry = T1.DocEntry
    WHERE
    T0.DocNum = xxxxx
    That INV11 is always empty I could see with SELECT * FROM INV11
    Regards
    Frank Romeni
    P.S.: I only post questions to this forum when I analysed my problems and only if I couldn't find any further information in the helpfiles. With regard to your first hint to ODPI there is no reference to INV11 in the helpfiles.
    With regard to your comments I feel impelled to to say that if my question is confusing you, then it seems that nobody has ever taught you that meaning can be taken from the context. Regarding the "street", you asked me to find something: Do not waste your time with talking precociously ...
    If you should feel annoyed by my comments, we'd better stop this conversation. Otherwise let us fall back to a strictly factual exchange of information, OK? I am not willing to discuss this any further!
    F.R.

  • HOW TO CREATE INVOICES AND BOOK RECEIPTS FOR THE SERVICE CUSTOMERS

    whenever a customer approaches our Customer Service Officer he create a
    customer account from "Contact Centre" but he does not check "Create account"
    checkbox so the client is not created as customer in Oracle Receivables.
    How to create invoices and receipts for service customers whose reciprocal
    accounts are not created in Oracle Receivables?
    Regards
    Ahmad Bilal
    Message was edited by:
    user531507

    I am on EP7.0 with NWDS 7.0 SP8, i am getting the exact same error though my Webservices are hosted on PI 7.1 ESR. Where to define the logical destinations of the WSDLs.

  • Posting Invoice and Payment

    Good day all,
    Please i would appreciate your ideas regarding this problem:-
    We have set a Business Partner to "Cash Basic" terms in SAP and set up this Payment Terms in SAP to open Incoming payment when the invoice is created(there is a drop down menu item on Payment Terms that allows you to do this). In SAP when we capture an invoice for this BP then the Payment Means (not Incoming Payment) window comes up and we can process a Cash payment straight away. Then when we add the invoice an incoming Payment is automatically created in the background. However we are having trouble duplicating this functionality with the DIAPI.
    When we try to add the invoice without setting up this "payment" attached to it - it gives the error "Invoice and Receipt must be paid exactly". We cannot seem to find the objects in DIAPI that we are supposed to use to make this happen.
    I have been advised by one other member of the forum that this is not possible in SAP at all. Please can i have more thoughts on how else we are supposed to do this using the DIAPI.
    Kind regards,
    Greeshma

    Hi,
    You need two DI objects to achive this.
    SAPbobsCOM.BoObjectTypes.oInvoices
    SAPbobsCOM.BoObjectTypes.oIncomingPayments
    I assume that you have created your own screen,
    1. create an invoice using DI API - Invoices
    2. after success adding the invoice, get the latest new object added
    3. create Incoming Payment - SAPbobsCOM.BoObjectTypes.oIncomingPayments
    ' Amout to Pay - Example cash
    oIncomingPayment.CardCode = "CardCode"
    oIncomingPayment.CashAccount = "1400928363"
    oIncomingPayment.CashSum = 200.20
    ' Point your newly created invoice
    oIncomingPayment.Invoices.DocEntry = iInvoiceDocEntry
      oIncomingPayment.Invoices.SumApplied = 200.20
      oIncomingPayment.Invoices.Add()
    nd.Q

  • Deposit invoices and payemnts from Order Manangment

    Hi All,
    We manually create Deposit invoices in AR then generate the Receipt and manually apply these receipt to Deposit invoices.
    Accountant generally complete this activity while booking the order. The goods are delivered to customers based on schedules.
    for each delivery of goods accountant generate manual standard invoice in AR and mentioned in commitment field the deposit invoice number close invoices.
    Now management advised to use the Oracle Order Manangement and remove the manual process of generating AR invoices and Receipt.
    Can someone guide you how this can be achieved.
    Thanking you in anticipation.

    Hello,
    There are two OM-AR Integrated features may meet stated requirement:
    (1) Using Commitment (Deposits) in Sales Orders Lines, and
    (2) Generating AR Prepayments from OM.
    Which one to go with depends on your business process or concept of advance payments. Following explains briefly the steps involved in each process:
    Deposits:
    Enter Deposit Trx In AR to record customer liability to make prepayment for goods/services you will provide in the future (independent of sale orders)
    Enter Receipts to record customer prepayment incurred in previous step
    While entering Sales Order line(s) select which Commitment the Sales Order line to be applied to.
    When a Sales Order line is fulfilled and the Auto-invoice process is kicked off, the Invoice is created directly against the Commitment in question (i.e. Invoice is automatically applied to Deposit via adjustment applied to it while Deposit Commitment Balance is reduced by the Adjustments generated against the Invoice).
    Prepayments:
    Create a Sales Order in OM
    Attach a Payment term which is defined with Prepayment option checked.
    Book the Sales Order
    Select Payments from the Action list.
    Enter payment information
    Click on ‘Process Payments’ button to get the prepayment receipt created.
    Click on ‘View Receipt’ to view the receipt that got created in step 6 in AR.
    Fulfill the sales order lines and Run the Autoinvoice import program
    The Autoinvoice import program will automatically kick-off Prepayments Matching Program
    Check previously created receipt after the Autoinvoice import to confirm that the receipt has been automatically applied to the invoice.
    To roll out the details, let me hear from you.
    Thanks

  • Reg: Link Invoices

    Hi Experts,
    I have a payment on account.Now I do link invoices and selected two invoices.When i say update i get an error message as below,
    [Incoming Payments - Invoices - VAT on Freight Sum(FC)][Line:2] ,'Field cannot be updated(ODBC-1029)'
    I checked the respective invoices,there is no freight.
    I don understand what is causing this particular error.Kindly help.
    Regards
    Deepak

    Dear Jeyakanth,
    I am fine working with Link Invoices.
    But in some cases,i get the error message which i have stated above in my thread.I would like to solve that issue.
    Pls help
    Regards
    Deepak

  • Invoice and Goods Receipt Difference Process

    Hi
    I have a scenario:
    In PO with quantity 1000 and price is 1$ (Delivery Schedule: about 100 per month, issue invoice after receipt goods) 
    but when Goods Receipt, quantity is 110, price is 1$ and receipt invoice is 120$.
    I want to enter invoice 120$ after that is issue a Credit Memo 10$ to Vendor.
    Invoice and Credit Memo have to reference to PO or Goods Receipt.
    I want to know how to do in SAP system. Could you please tell me step by step when Enter Invoice and Create Credit Memo.
    Thank and Best regards,

    Hi,
    At the time of invoice posting, if you know that vendor has charged you more, then you can use invoice reduction function. So that during invoice posting credit memo will also be created.
    If you don't know at the time of invoice posting, then later you can post as credit memo.
    For further details of invoice reduction and credit memo use the below link.
    http://help.sap.com/saphelp_47x200/helpdata/en/a8/b9916b452b11d189430000e829fbbd/frameset.htm
    Regards,
    Prabu

  • I am trying connect to a SQL instance for our CRM program and I am receiving To Connect to this Server you must use SQL Management Studio or SQL Server Management

    I am trying connect to a SQL instance for our CRM program and I am receiving To Connect to this Server you must use SQL Management Studio or SQL Server Management 
    This is a Brand new Server 2012 that is running our CRM product and it is trying to connect to a Server 2008 R2 server with SQL Server 2008 R2 SP2 instance (10.50.4000)
    I have seen this in the past where it needed the 2005 backwards compatibility components installed but those are not supported on 2012 server and this is not a 2005 SQL instance.
    I am trying to install the Shared Management Objects for SQL Server 2008 but it tells me I need to install the CLR types, which I did install. But it continues to tell me to install the CLR types.
    Has anyone ran into any issues like this? (this happens trying to connect to multiple SQL Servers from this new 2012 Server)
    Thanks!
    -Max

    Hello,
    Which version and edition of the SQL Server instance did you installed on the new server machine?  If you install SQL Server 2012 Express edition, you can try to install SQL Server Management Studio 2012 from
    this link.
    You can connect to SQL Server 2008 R2 or earily verions with SSMS 2012.
    What's more, Microsoft SQL Server 2008 Management Objects Collection requires Microsoft Core XML Services (MSXML) 6.0, Microsoft SQL Server Native Client, and Microsoft SQL Server System CLR Types. You can try to download and install
    SQL Serve 2008 Feature Pack
    which contains packages above.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Requisition and Order Details (Shipment, Receipt, Invoice and Payment Detai

    Hi ,
    Business want Requisition and Order Details i.e Shipment, Receipt, Invoice and Payment Details to be displayed in same screen, users want to avoid clicking on "Details" button povided on in the requisition line item on iProcurment Self Service screen to veiw deails.
    This is to basically avoid too many mouse clicks.
    If someone had implemented similar solution please provide steps to implement.
    Regards

    We had a similiar requirement to help requisition approvers and we created a new custom page with the required info. It can help to seperate those items that only appear once per requisition compared to those that need to be displayed in a table for each req line.
    The page is accessed by personalisation to add a new link (via adding an image item to the seeded page)

  • VAT invoice and copy receipts?

    I'd like to receive a VAT invoice and be able to download one from my account.
    Why can't I do that and why can't I just download a copy receipt or at least print a statement of purchases from the site?
    Something I am missing?
    Thanks
    AA

    If the iTunes Store provides a VAT receipt, it's not something you can get on your own. You'll need to contact the iTunes Store and request one. Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to contact the iTunes Store.
    Standard receipts are always emailed to the email address associated with your account. As to why Apple has not provided a mechanism for downloading receipts or a list of purchases, that's something none of us here, who are all just fellow users, can answer.
    Regards.

  • Link between A/R Invoice and the A/R credit memo

    dear all
    how do we find the link between A/R invoice and it's credit memo from the database level.
    Thanks & Regards
    Kanishka Wickrama

    Hi
    You can link AR Invoice and AR Credit memo through internal reconciliation for that customer.
    Go to banking --> bank reconciliation --> Automatic Reconciliation --> internal reconciliation.
    Regards
    Kamlesh Vagal
    Edited by: kamlesh vagal on Jul 21, 2008 10:59 AM

  • SQL Query for full paid invoices and payed out credit notes

    Hi alltogether,
    I have some problems with a sql query.
    I want to export all closed (full paid) invoices and credit notes in a table with the paid date.
    The problem is that I have several internal reconciliations for one invoice or credit note.
    So with my current query I get all these dates in the result but only for invoices, not for credit notes.
    I only need the last internal reconciliation date as payment date for all invoices and credit notes where the open amount is 0.
    In SAP B1 the finance team has service invoices and credit notes imported out of an ERP system.
    These documents are marked with an 'Y" in the coloumn "U_I_Imported" in the table "OINV" or "ORIN".
    SELECT
    OINV.DocTotal - OINV.PaidToDate as Offen, OINV.NumAtCard, OINV.U_I_Imported, ORCT.DocDate as 'Zahlungsdatum'
    SELECT
    OINV.DocTotal - OINV.PaidToDate as Offen, OINV.NumAtCard, OINV.U_I_Imported, ORCT.DocDate as 'Zahlungsdatum'
    FROM
    OJDT inner join
    ORCT on OJDT.BaseRef = ORCT.DocNum inner join
    RCT2 on ORCT.DocNum = RCT2.DocNum inner join
    OINV on RCT2.BaseAbs = OINV.DocEntry
    where
    OINV.DocTotal - OINV.PaidToDate = 0 and  OINV.U_I_Imported = 'Y'
    group by
    OINV.NumatCard, OINV.DocTotal - OINV.PaidToDate, OINV.U_I_Imported, ORCT.DocDate
    order by
    ORCT.DocDate
    I hope you can help me.
    Kind regards,
    Max

    The solution for my problem:
    select
    OINV.DocTotal - OINV.PaidToDate as 'Offen', OINV.CardCode as 'Kundennummer', OINV.NumAtCard as 'DIAMOD Rechnungsnummer', OINV.DocNum as 'Dokumentennummer',  max(ORCT.DocDate) as 'Zahlungsdatum', case when ORCT.DocCurr = (select MainCurncy from OADM) then RCT2.DcntSum else RCT2.DcntSumFC end as 'SkontoRechnungswährung',
        RCT2.DcntSum as 'SkontoFirmenwährung'
    from
        JDT1 inner join
        OJDT on JDT1.TransId = OJDT.TransId inner join
        ORCT on OJDT.BaseRef = ORCT.DocNum inner join
        RCT2 on ORCT.DocNum = RCT2.DocNum inner join
        OINV on RCT2.BaseAbs = OINV.DocEntry
    where
    JDT1.TransType in ('24') and
    OINV.U_I_Imported = 'Y' and
    OINV.DocTotal - OINV.PaidToDate = 0
    group by
    OINV.NumAtCard, OINV.DocNum, OINV.CardCode, OINV.DocTotal - OINV.PaidToDate, ORCT.DocCurr, RCT2.DcntSum, RCT2.DcntSumFC
    union all
    select
    OINV.DocTotal - OINV.PaidToDate as Offen, OINV.CardCode as 'Kundennummer', OINV.NumAtCard as 'DIAMOD Rechnungsnummer', OINV.DocNum as 'Dokumentennummer',  max(OITR.ReconDate) as 'Zahlungsdatum',
        0.0 as 'SkontoRechnungswährung',
        0.0 as 'SkontoFirmenwährung'
    from
    OITR inner join
    ITR1 on OITR.ReconNum = ITR1.ReconNum inner join
    OINV on ITR1.SrcObjAbs = OINV.DocEntry
    where
    OINV.DocTotal - OINV.PaidToDate = 0 and ITR1.SrcObjTyp = 13 and OINV.U_I_Imported = 'Y'
    group by
    OINV.NumatCard, OINV.DocNum, OINV.CardCode, OINV.DocTotal - OINV.PaidToDate
    union all
    select
    ORIN.DocTotal - ORIN.PaidToDate as Offen, ORIN.CardCode as 'Kundennummer', ORIN.NumAtCard as 'DIAMOD Rechnungsnummer', ORIN.DocNum as 'Dokumentennummer',  max(OITR.ReconDate) as 'Zahlungsdatum',
        0.0 as 'SkontoRechnungswährung',
        0.0 as 'SkontoFirmenwährung'
    from
    OITR inner join
    ITR1 on OITR.ReconNum = ITR1.ReconNum inner join
    ORIN on ITR1.SrcObjAbs = ORIN.DocEntry
    where
    ORIN.DocTotal - ORIN.PaidToDate = 0 and ITR1.SrcObjTyp = 14 and ORIN.U_I_Imported = 'Y'
    group by
    ORIN.NumatCard, ORIN.DocNum, ORIN.CardCode, ORIN.DocTotal - ORIN.PaidToDate

  • Link between Invoice and Delivery note

    Hi,
    Here I am having a requirement to get all the GR made against an Invoice.
    Let me explain it.
    I am having one Purchase order. Now I made the GR with a delivery note number. Now in MIRO I pass the bill or create the Invoice against the delivery note. Now I want to know the delivery note number against that invoice number.
    I cant go by the Purchase order no and item number also. Because I have to show the delivery note number against that Invoice number only. Because so many Invoices and GR can be created for the same PO item.
    FYR please go through the my thread in ABAP general
    [Link between the Invoice and material document;
    Regards
    Shiba Prasad Dutta

    Hi Experts,
    I also need help on this issue. I have a PO with several GRN per item. Also, I already have some invoices registered ate MIGO.
    On EKBE table, per PO, per item, i can check how many GRN I have (VGABE=1) and how many Invoices do I have (VGABE=2) regarding that item of the PO.
    What I need to konw is how can I link the Invoice to the PO.
    Example: EKBE table
    PO ITEM VGABE Material DOC Number
    A    10        1                   100
    A    10        1                   200
    A    10        2                   300
    I can I know, in  terms of tables and fields linkage, to what GRN does Invoice 300 links to?
    Many thanks.
    Joana Faria

  • I not able to open any links in the emails I receive and get an "Error: No associated application could be found" when I click on it. HELP!! What's going on? This happened after I downloaded Chrome and then

    I not able to open any links in the emails I receive and get an "Error: No associated application could be found" when I click on a link. HELP!! What's going on? This happened after I downloaded Chrome and then decided to delete it. 

    I have Lion and I just came across this link and it took care of the problem.
    Jose Antonio Solis
    Re: Lion: Delete google chrome completely include user profile?
    Try deleting:
    ~Library/Application Support/Google
    and
    ~Library/Caches/Google/Chrome

Maybe you are looking for

  • After iOS5 upgrade, iPod touch 2nd gen won't let me edit calendar events

    I have an iPod touch 2nd gen with the old processor, so I'm stuck using iOS 4.2.1 on the touch. Meanwhile, I have a MacBook and new iPad running Lion/iOS 5. Before I upgraded to iOS 5, I could edit calendar events from either my macbook or from my To

  • Compressing a large file into a small file.

    So i have a pretty large file that i am trying to make very small with good quality. the file before exporting it is about 1gig. I need to make it 100mbs. Right now i've tried compressing it with the h.264 compressing type, and i am having to go as l

  • Session retention with Java WD and OBN navigation

    Hi everybody, We have a Java WD application integrated into Business byDesign Portal. From this application we start OBN navigation in the same window. OBN navigation  always starts a new session with ABAP back-end. Is it possible to retain the same

  • N-force 2 (non soundstrom) Or SBLive 5.1 ??

    which one is better with 5.1 analog speakers ? N-force 2 (non soundstrom) Or SBLive 5.1 ??

  • Need to Understand 2 Scripting parameters

    Hi,  Can someone tell me what this is doing in script of ActiveSync stats: $EASDevices = "" $AllEASDevices = @() The complete script is: ####  Get Mailbox $EASDevices = "" $AllEASDevices = @() $EASDevices = ""| select 'User','PrimarySMTPAddress','Dev