Payables Invoice -- Apply Prepayment Invoice

Hi,
I have a pre-payment invoice applied to a standard invoice. I need to identify the pre-payment invoice number which is applied to the invoice. I found the prepay invoice number is not there in the AP_INVOICES_ALL table. Please could anyone advise as to from which table I can get the Prepay Invoice Number.
Thanks,
Genoo

Hi Geno,
The link is PREPAY_DISTRIBUTION_ID in ap_invoice_distributions_all table. When an invoice is applied to a prepayment, this information is recorded at distributions lines of invoice.
Below query provides you with prepayment number for a given invoice. You may have to change it little bit to suit your requirements.
This works for one invoice matched to one prepayment.
SELECT AI2.INVOICE_NUM FROM AP_INVOICES_ALL AI2, AP_INVOICE_DISTRIBUTIONS_ALL AID2
WHERE AID2.INVOICE_ID=AI2.INVOICE_ID
AND AID2.INVOICE_DISTRIBUTION_ID IN (
SELECT DISTINCT PREPAY_DISTRIBUTION_ID FROM AP_INVOICES_ALL AI1, AP_INVOICE_DISTRIBUTIONS_ALL AID1
WHERE AI1.INVOICE_ID=AID1.INVOICE_ID
AND AI1.INVOICE_NUM='&INVOICE')
Thanks,
-Naveen.

Similar Messages

  • How to apply a PO-matched prepayment invoice that has an extra tax line??

    I have a situation where I created a prepayment that's matched to a PO, but since the prepayment invoice document has VAT associated to it and not the PO, I need to add that extra line. So after matching the prepayment to the PO, I added an extra line on the prepayment as Item type TAX.
    Now after creating the actual invoice, when trying to apply the prepayment on the invoice, I can only see the actual PO amount and not the VAT line that was added afterwards to the prepayment. Therefore the invoice goes on a distribution variance hold.
    My question is how would I be able to create a prepayment that's matched to a PO and that has an additional TAX line and then later on apply the full amount to an invoice?
    All responses appreciated!

    Hello
    I still have to investigate for a problem with prepayments and line level calculation also (no PO matching involved), here is what I foundin the main AP doc (115apug.pdf, 4-150 to 4-155)
    *Applying Prepayments in the Invoice Workbench*Payables creates Tax distributions automatically either when you choose the Calculate
    Tax button in the Distributions window, or when you submit Invoice Validation for the
    invoice. For invoices you enter in the Invoice Workbench, you can apply a prepayment
    either before or after you validate an invoice, or while you are entering it. If you use Line
    level or Tax Code level automatic tax calculation, Payables always creates separate tax
    lines for your Item and Prepayment type distributions.
    Note: Use automatic tax calculation to create tax distributions for
    prepayments. Manually created tax distributions for prepayments are
    not included in the Distribution Total. If the Distribution Total does
    not match the Invoice Amount, Payables applies a hold to your invoice
    during Invoice Validation.>
    Hope it helps ;°)
    I'll keep you inform if I have further info about my case
    Xavier

  • Creation Of Credit Memos and Applying to Invoices Using API in Payables

    Hi Guys,
    I have a requirment that when ever I create an AP invoice with VAT . I need to create a credit memo with the vat amount aganist that invoice Line and supplier.I adopted the process to create an alert and i will write a interface for this this.I will call the interface procedure inthe alert.Here the problem is i am able to create credit memo but the amount is not applying to invoice.i.e., amount of the main invoice is not reducing. If U guys have any Idea regarding the credit memo applying to invoice using interface,please let me know.
    Thanks In Advance,
    Naresh
    Edited by: Naresh on Sep 23, 2010 5:58 AM
    Edited by: Naresh on Sep 23, 2010 6:01 AM

    we have to link the CM thru PARENT_INVOICE_ID (Parent Invoice).

  • Prepayment Invoices

    Hi Experts,
    Plz explain about Prepayment Invoices and how is it differ from 4.7 E to ECC 6.0
    Regards
    Pratap

    Hello.
    Yes, it can be done in 11.5.10
    Quick Invoices Header Region
    Prepay Apply Amt. If you are applying prepayments, the maximum currency amount of
    the prepayments you want to apply to an invoice. If you specify a prepayment number
    and leave this field blank, then Payables enters the unapplied prepayment amount up
    to the amount of the invoice. Payables ensures that the prepayment amount does not
    exceed the invoice amount.
    Note: The prepayment is not actually applied until the import
    process. Therefore, to prevent overapplication of an prepayment, you
    cannot select a prepayment number that has been applied to another
    invoice record that has not yet been imported.
    Hope this helps.
    Octavio
    Edited by: Octopus Rex on Dec 16, 2009 1:59 AM

  • Prepayment Invoice Issue

    Hi,
    We have a Prepayment Invoice which is in 'Available' Status , the issue is when we create Standard invoice the message gets popped up Saying there is one Prepayment available for the Supplier but when we click on to Apply/Unapply option the Prepayment Invoice does not apprear in the Apply/Unapply form.
    Basically we are unable to apply the Prepayment invoice to Standard invoice though the Prepayment invoice is available for payment.
    Any help is much appreciated.
    Regards,
    Shabana.

    You can refer following links
    https://forums.oracle.com/thread/2531033
    Applying Prepayments to Invoices (Oracle Payables Help)
    thanks

  • AP:When trying to match invoice with prepayment, prepayment is not display.

    Hello,
    Need some help please.
    We have :
    - One prepayment PREPAY1 (pay and available)
    - One standard invoice.(validate, no hold)
    We try to match Invoice with prepayment.
    1° Search for our invoice.
    2° Using action button, Apply/unapply prepayement.
    3° Here is our issue. When displaying list of available prepayment, we don't see PREPAY1.
    Maybe a request could help me to identify why our prepayment is not displayed or another idea ?
    Thx
    Regards

    Hi,
    The cause of the issue should have been Data Corruption .... if you can replicate this issue at will, you would log an Service Request with oracle for performing an Root Cause Analysis.
    However for fixing the issue at present, either you can uncheck the REVERSED checkbox in your Distribution form on the Invoice Workbench ... if that is not possible from the front end, then you have to resort to the data fix suggested by oracle. .
    References
    Cannot Apply A Prepayment To A Payables Invoice [ID 367502.1]
    Prepayment Invoice Was Paid In Full And It's Not Available To Apply [ID 399949.1]
    Regards,
    Ivruksha

  • Apply Deposit Invoice to Sales Invoice

    Hello,
    How we can apply the deposit (customer prepayment) to the sales invoice to clear the customer’s account balance using AR public API. I am using Oracle EBS 11.5.10.2.
    Appreciate help.
    Regards,
    Anirudha

    Hi
    I found the following information in metalink - "Oracle Receivables Deposits API: Sample Scripts, Known Issues/Patches [ID 266964.1]" and it says you will not be able to Deposit Invoice to Sales Invoice using API.
    Please review the above note in metalink and refer the Known Issues / Patches section point number 2 to get the BUG associated with it.
    Thanks
    Manish

  • Prepayment invoice shows unpaid already paid prepayment

    Unable to apply prepayment to invoice. Payment workbench shows prepayment paid
    by cheque thro' quick payment. But the Prepayment is showed with status unpaid
    in the invoice workbench which should show available.Help me How to resolve it.
    Regards
    Gajarao Phani

    Hi,
    This could be a data corruption for which we have a generic data fix. I recommend that you run the data fix master script from note 1360390.1. The resulting file will show any known generic data fixes that you should apply, such as the following:
    1370096.1: R12 Generic Data Fix (GDF) Patch for PAY HAS INCORRECT ACCTG IF RELATED INVOICE IS FULLY PAID AND HAVING PAY AWT
    1188825.1: R12 Generic Data Fix (GDF) Duplicate AWT Distributions Created During Payment
    Regards,
    Cheryl

  • Ap prepayment invoice matching

    Hi experts
    A very simple critaria that we have ap perpayment invoice to book and after that we entered one standard invoice to match this prepayment invoice ( partally or impartially is a diffirent case)
    Now on that requirment i have to design one report that shows
    number of invoices of one supplier and the status of these invoices .. with invoice amount, paid amount, prepayment applied amount and balance amount
    how do i can get these columns ...i m tring to figure out the tables but cant find prepayment applied amount with reference to invoice and prepayment matching
    any idea and suggustions would be very helpfull to me ..
    regards
    annu

    Hi Suda,
    Thank you for the replay. It is recurring issue. The user missed several prepayments at the end of the quarter.
    When you mentioned the alert do you have one handy? I would appreciated very much if you send it to me.
    Thanks,
    Ben

  • Query to find all standard invoices applied against pre-payment invoices

    Dear All,
    Please help me with the query which would list all the standard invoices applied against pre-payment invoices.
    Additionally they query show display the pre-payment invoices which are not yet applied.
    Example :
    Rec # Pre-payment inv # Inv-amount Standard Inv No. Amount Applied
    1 P001 100.00 S001 100.00
    2. P002 200.00 NULL NULL
    In the above example in record no. 1 for the pre payment invoice number P001 a standard invoice S001 is applied with same amount of 100.
    In the second record the pre payment invoice P002 is not yet applied and hence standard invoice number and amount applied are NULL.
    I need the output of the query in the above format.
    Please help me in this regard.

    Hi:
                Clearing document (AUGBL) generated against invoice with document type AB will be an option to use for reporting purpose. No matter invoice is partially cleared or fully exhausted system generates a clearing document against it. It stores the payment usage. System should check in BSID table with reference to AUGBL if there is anything left against invoice that is to be paid or if it is fully exhausted it will be present it BSAD along with it payment usage data. I hope this will help you in developing your report.
    Regards

  • Prepayment invoice matched to PO going on receiving hold

    Hi everybody,
    I want to know why a prepayment invoice will go on a receiving hold in oracle AP when matched to an unreceived PO. Outside of manually releasing the hold and making the payment is there some other set up that allows ONLY prepayment invoices not to go on a receiving hold whether they have been received or not. (This is in 11i)
    All responses highly appreciated!
    Thanks!!

    Hi ,
    Kindly check the option in the Invoice tab for this particular supplier site..the match option would have been set to Receipt ..Change this to PO and no 2 uncheck the option hold unmatched Invoice.
    Hope this will resolve your issue.
    Regards,
    Ramaa

  • Notify the Payables clerk of EDI Invoice creation

    How to automatically notify the payables clerk if a invoice got created through EDI? So that they can review and send for approval?
    Is there any standard process in R12? Thanks!

    You can use the seeded invoice approval functionality.
    Payables > Setup > Options > Payables > Invoices Tab
    See if "Use invoice approval workflow" is checked.
    Also see http://repo.solutionbeacon.net/DobneyJeannie_WF.pdf
    Hope this helps
    Sandeep Gandhi
    Independent Techno-functional Consultant

  • Prepayment invoice

    Hi all,
    where can i see this prepayment invoice
    where does it come across
    Thanks,
    Narsimha Reddy

    hi mutyalu,
    how are you ? did u get me?
    please call me or give me ur mail id.

  • Invoice Verification Prepayment

    Hi all,
    I have a requirement to capture the deposit/downpayment (payment made in advance which will be used to offset the final amount to be paid) amount made for a purchase. And there is a need for the system to help prevent extra amount to be paid to the suppliers when the final payment is to be made.
    I read about this 'Prepayment' function in the MM module which seems to be suitable to be used for recording the deposit made. However, I'm having some problems with 3-way match as the prepayment invoice created forces me to enter a quantity. Does anyone know where else I can find more information on how this prepayment function works? I could only find information from SAP help documentation.
    Thanks.
    Regards,
    Wai Leng

    Hi Ravi,
    The config is in SPRO --> Materials Management --> Logistic Invoice Verification --> Incoming Invoice --> Prepayment.
    Subsequently, when I perform MIR7, scroll down in the header box to set the prepayment indicator.
    Sure, contact me at [email protected]
    Thanks!!

  • Disable Tax feature in prepayment invoices in Oracle EBS 11i

    Hi, buddies, does somebody know how to disable tax caculate feature in prepayment invoices in Oracle EBS 11i? Bcoz prepayment invoices are not required tax.
    Thanks in advanced.

    Please see if (Isetup Framework Error (No data found for region) When Setting Filters Within Selection Set [ID 367684.1]) helps.
    Thanks,
    Hussein

Maybe you are looking for

  • What version of itunes would show a ipod icon instead of a music icon on my ipad

    I sold this ipad to a friend and now it shows she only has IOS 4.2 and therefore can not load apps.  It also shows an ipod icon instead of a music icon.   It the reason she is having problems the version of itunes downloaded.  And is it possible her

  • Help!  Text Messages and Call History Deleted after Update

    My Galaxy S4 updated automatically this morning and my text message history and phone call history are gone.  Is there a way to restore this?  Very frustrated.

  • Blurry PDFs

    When Copying File to Clipboard or Taking a Snapshot and pasting into Excel the report becomes very blurry. I have no issues when looking at the pdf document online or printing but when copying the words all blend together and it is difficult to make

  • Web Query output in acending order?

    Hi, We have a BEx query with many Free Characteristics... When we run the query in BEx, <b>Free Characteristics displayed in the same order defined in the Query definition.</b> The same Query when executed on Web, <b>the Free Characteristics are disp

  • Comparison of extracted data in BW

    Hi experts Need to find out how to look for the contents of a particular r/3 table which i have extracted into BW. I would like to know if all the data is being extracted into bw is there as its there in r/3. thanks in advance Sharmila