API to Apply Credit Memo to a Deposit

We have a requirement to apply the Credit Memo to an outstanding Deposit in Oracle Financials through a program. Can someone provide me
1. An API to Create a Credit Memo
2. An API to apply the Credit Memo to a Deposit
Thanks
Vasu

Errors:   1) Your credit memo transaction can only credit an invoice or a debit memo line (1018863)
My Question is - Can we apply the Credit Memo towards a deposit through Autoinvoice Program ? If yes, please let me know the columns that we need to populate in interface table.Please see these docs.
Listing of AutoInvoice Error Messages and Troubleshooting Tips to Resolve each Error [ID 1138254.1]
Credit Memo Errors During Autoinvoice Process - Invalid reference line attribute value (REFERENCE_LINE_ATTRIBUTE1-15) [ID 405445.1]
Thanks,
Hussein

Similar Messages

  • Can I apply credit memo against a Deposit through Autoinvoice

    We have a requirement to credit back the amount from deposit which has balance > 0. I'm planning to use the Autoinvoice Program. I'm populating the REFERENCE_LINE_ID as the CUSTOMER_TRX_LINE_ID of the Deposit Line from CUSTOMER_TRX_LINES_ALL. I'm getting the below error.
    Errors:   1) Your credit memo transaction can only credit an invoice or a debit memo line (1018863)
    My Question is - Can we apply the Credit Memo towards a deposit through Autoinvoice Program ? If yes, please let me know the columns that we need to populate in interface table.
    Thanks
    Vasu
    Edited by: Vasu on Jul 22, 2011 3:05 PM

    Errors:   1) Your credit memo transaction can only credit an invoice or a debit memo line (1018863)
    My Question is - Can we apply the Credit Memo towards a deposit through Autoinvoice Program ? If yes, please let me know the columns that we need to populate in interface table.Please see these docs.
    Listing of AutoInvoice Error Messages and Troubleshooting Tips to Resolve each Error [ID 1138254.1]
    Credit Memo Errors During Autoinvoice Process - Invalid reference line attribute value (REFERENCE_LINE_ATTRIBUTE1-15) [ID 405445.1]
    Thanks,
    Hussein

  • Accounts Reveivable-Applying Credit Memo to and Outstanding invoice

    I have a remote client that can't apply a credit memo to an outstanding invoice in AR. They are on 12.1.3. This seems simple enough. Am I missing something.
    Thanks
    Rob

    Hi Rob,
    can you check with your client ...
    1) Whether this is happening for this particular customer or for every other customer ..
    2) Whether this is happening for this particular Invoice and credit memo combination or for all invoice and credit memo combinations ....
    3) Has it been working fine previously, is this the first time they are encountering this issue ...?
    4) Also did they receive any error message, whenn trying to apply credit memo to the Invoice ....
    5) How was the credit memo created in the Receivables module, was it interfaced from any third party source ..?
    The above would help us narrow down to the cause of the issue .....
    References:
    Transaction Workbench Error: Credit Memos cannot be Applied to Invoices Having Customer Names Exceeding 50 Characters [ID 1374662.1]
    Regards,
    Ivruksha

  • Apply credit memo to invoice using API

    Dear All ,
    my question is how to apply a credit memo to invoice .
    I want to make a credit memo then apply invoice to this credit memo , you can check this in the transaction form by creating a credit memo then check application from action menu then apply the invoice.
    So i want to simulate this process using API.
    i searche and f ound there is API called Ar_cm_application_pub.activity_application but it is not clear to me .
    So if anyone know this API and how to use it and any example for it .
    thanx in advance .

    No Answer??!!!!

  • Manualy applied Credit Memo

    I am not sure if this is the correct form for this question, but I will start bey asking it here.
    I am creating a statement using the SDK/VB.net.  I am trying to show Open Invoices with partial payments
    or Credit memos applied againstthe Invoice.  I understand how to join the tables (ORIN & RIN1) for a Credit Memo
    that the system applied to and Invoice(s) but Credit Memos that are applied using the Internal Reconcilation are joined differently.
    Could some one point me in the direction of what tables are updated to Join a Credit Memo to an Invoice if Internal Reconcilation is used to Apply a Credit Memo to an Invoice?  And is there any documentation to explain the relationship?
    And if this is not the correct forum,  please point me to th ecoprrect forum or this question!
    Thanks in advance!!
    Dana

    Dana,
    Sound like you are doing SDK.  If that is the case, post is on SDK forum.  In general, it would better to do this reconciliation in UI.
    Thanks,
    Gordon

  • Manually applied Credit Memo

    I am not sure if this is the correct form for this question, but I will start bey asking it here.
    I am creating a statement using the SDK/VB.net. I am trying to show Open Invoices with partial payments
    or Credit memos applied againstthe Invoice. I understand how to join the tables (ORIN & RIN1) for a Credit Memo
    that the system applied to and Invoice(s) but Credit Memos that are applied using the Internal Reconcilation are joined differently.
    Could some one point me in the direction of what tables are updated to Join a Credit Memo to an Invoice if Internal Reconcilation is used to Apply a Credit Memo to an Invoice? And is there any documentation to explain the relationship?
    And if this is not the correct forum, please point me to the correct forum or this question!
    Thanks in advance!!
    Dana

    Hi Dana,
    What version of SBO are you using? The reconciliation process has changed significantly between versions 2005 and 2007 so the query requirements are quite different.
    For 2007A, the ITR1 table contains details on any matching that's been done. The SrcObjType column holds the transaction type (13 for an AR invoice and 14 for a AR Credit Note) and SrcObjAbs holds the DocEntry.
    I had to write a statement in Crystal for a client who had multi-currency business partners and who used down-payment invoices. It was impossible to use a single query to generate the data so I ended up writing a stored procedure to collate the data. This used the JDT1 table to get a list of transactions on the BP's account and then used the ITR1 table to work out how much of each document was still outstanding.
    Kind Regards,
    Owen
    P.S. There will be people on this forum who can help you. The most suitable forum for this type of question is the reporting forum:
    Reporting and Printing

  • Apply credit memo to an invoice header (not to a line) using Autoinvoice

    Hi,
    Does anyone know if it's possible to apply a credit memo to an invoice header, as opposed to an invoice line using autoinvoice? I know how to apply on account and at invoice line level, but can't get it to apply at the invoice header. I don't even know if it's possible.
    Thanks

    Hi,
    Does anyone know if it's possible to apply a credit memo to an invoice header, as opposed to an invoice line using autoinvoice? I know how to apply on account and at invoice line level, but can't get it to apply at the invoice header. I don't even know if it's possible.
    Thanks

  • Credit Memo via MIRO applying cash discounts.

    All,
    We have shared services applying credit memo's in A/P against a vendor/purchase order via MIRO.  If the personnel does not select that the payment terms be net 0, due immediately, then the vendor/po default is used which will ultimately apply the first discount term (in this case 1%) regardless of the baseline date.  We should not be applying discounts to credit memos.
    Any suggestions on dealing with this scenario?
    Thank you for your help in advance.
    Patrick

    Hi all,
    I have exactly the same problem. Can anyone help ?
    Thank you for your help.
    Christophe

  • Apply Cash Payment and Credit Memo to an Invoice via DI API

    Hi, All:
    I would like to be able to create an invoice and apply cash and a credit memo to it which equals the total of the invoice.  This will close out the invoice.
    Does anyone out here know if this can be done through the DI API?  If so, some sample code would be greatly appreciated.
    Thanks.

    For those of you who are wondering, here is an example:
                    int invoiceDocEntry = 0;
                    int creditMemoDocEntry = 0;
                    Documents invoice = (Documents)company.GetBusinessObject(BoObjectTypes.oInvoices);
                    invoice.CardCode = "S001600";
                    invoice.DocDate = DateTime.Today;
                    invoice.DocDueDate = DateTime.Today;
                    invoice.Lines.ItemCode = "A2-IC-6"; //$78.00
                    invoice.Lines.Quantity = 2;
                    invoice.Add();
                    if(invoice.Add() != 0)
                        throw new Exception("Could not add invoice: " + company.GetLastErrorDescription());
                    invoiceDocEntry = Int32.Parse(company.GetNewObjectKey());
                    System.Runtime.InteropServices.Marshal.ReleaseComObject(invoice);
                    Documents creditMemo = (Documents)company.GetBusinessObject(BoObjectTypes.oCreditNotes);
                    creditMemo.CardCode = "S001600";
                    creditMemo.DocDate = DateTime.Today;
                    creditMemo.DocDueDate = DateTime.Today;
                    creditMemo.Lines.ItemCode = "B4-HDMI-.7";
                    creditMemo.Lines.Quantity = 1;   // $10.00
                    if(creditMemo.Add() != 0)
                        throw new Exception("Could not add credit memo: " + company.GetLastErrorDescription());
                    creditMemoDocEntry = Int32.Parse(company.GetNewObjectKey());
                    System.Runtime.InteropServices.Marshal.ReleaseComObject(creditMemo);
                    Payments payment = (Payments)company.GetBusinessObject(BoObjectTypes.oIncomingPayments);
                    payment.CardCode = "S001600";
                    payment.Checks.CheckSum = 68.00;
                    payment.Checks.CheckNumber = 100;
                    payment.Invoices.DocEntry = creditMemoDocEntry;
                    payment.Invoices.InvoiceType = BoRcptInvTypes.it_CredItnote;
                    payment.Invoices.Add();
                    payment.Invoices.DocEntry = invoiceDocEntry;
                    payment.Invoices.InvoiceType = BoRcptInvTypes.it_Invoice;
                    if(payment.Add() != 0)
                        throw new Exception("Could not add payment: " + company.GetLastErrorDescription());
                    System.Runtime.InteropServices.Marshal.ReleaseComObject(payment);

  • 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).

  • URGENT!!! - Applying existing credit memo to existing invoice

    Hi All,
    I have found a package (not a public API) which can be used to applying existing CM to existing INV, package is 'ARP_PROCESS_APPLICATION.CM_APPLICATION'. There are many input parameters that need to go in but I am just listing out the ones identified in package documentation:
    p_cm_ps_id - PS Id of the Credit Memo
    p_invoice_ps_id - PS Id of the transaction p_amount_applied - TO amount
    p_apply_date - Application date
    p_gl_date - GL Date
    p_ussgl_transaction_code - USSGL transaction code p_customer_trx_line_id - Line of the transaction applied
    p_module_name - Name of the module that called this procedure p_module_version - Version of the module that called this procedure
    while testing locally, I did set up the org context, initialized the application and provided values for all the variables but sent
    --> null for p_ussgl_transaction_code
    --> null for p_customer_trx_line_id
    --> 'ARREREVB' for p_module_name (this is actually not the module calling this program but gave a random value since the input is not being validated by the package)
    -->'1.0' for p_module_version (random value since it is not being validated)
    After setting up all these values the API is still erroring out on execution. Should I pass any other values to this private API? Did anyone successfully execute this private API ? if yes can you please guide me,thanks.
    Ajay

    Hi
    In the Invoice window Enter Debit or Credit Memo, Form the Match Button ,Select "Invoice"
    Select Match
    In find Invoice Match window Enter Search Creteria for Invoice
    If you want to see a invoice matched to purchase order enter the purchase order mumber
    Then Match
    And while making Payment you have to select that Debit or Credit memo then only it is removed form the Supplier
    Thanks
    Sunil

  • Applying A/P Credit memo

    2007A PL49
    Have a GRPO in system.  Have not created an A/P invoice yet for the material.  Also have a vendor credit that has not been created in SAP either.
    How, if I can, apply the credit memo to the A/P invoice?  Do i create a service A/P invoice so as to not disturb inventory (but leaves GRPO open)?  Or create item A/P invoice (as normal)  and create service A/P credit memo? 
    Thanks,
    Rich

    discovered a solution to my own question and i will share regardless, with the SDN community:
    1.     Create the A/P invoice as normal (item a/p invoice tied to GRPO)
    2.     Create the A/P credit memo as a service memo (service memos do not disturb inventory qtys.)
    3.     Reconcile the A/P invoice under business partners > int. recon
    a.     Enter the vendor code, choose manual
    b.     Checkmark the Credit memo and the invoice to be paid
    c.     Enter the amount of the invoice in the u201Camount to reconcileu201D field for credit memo (if CM has more cash than invoice, vice versa)
    4.     Click Reconcile

  • A/R Credit Memo -  Applied Amount

    In A/R Credit Memo (ORIN), how do we find out what 'Applied Amount' consists of? Is it all open A/R invoices?
    I compared that number to the BP open A/R invoices but the number doesn't add up.

    Hi,
    Applied amount is the amount which has reduced the balance due for the open document.
    When the Credit Memo is based on the Invoice, the applied amount for the Invoice and the Credit Memo is same and is based on that balance.
    When the Credit Memo is independent and is partially applied to Invoice, then the partial amount is updated to the Invoice and the Credit Memo.
    So the reconciliation of the balance due for the Credit Memo is base for the Applied amount.
    The Applied amount can be updated with the Invoice balance due, Reconciliation of the Invoice together with Payment and Journal Entry and Journal Entry only as well.
    So, checking just the Invoice amount will not bring the true picture.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Is it possible to create a deposit for RMA Order instead of Credit Memo?

    Hi,
    We are on R12.1.1 and at customer location, they have developed some customization which is bringing S.O. on HOLD Status if customer has not paid the amount in advance? (Prepayment scenario)
    Now, what they want is : If there is an RMA Order from the customer, then instead of creating credit memo and send back the money to customer, they want to use this amount in the next order from that customer so that S.O. will not go on a HOLD status.
    I was exploring Deposit functionality which we can use it as S.O. line level but just wondering, if is it possible to create Deposit as and when RMA order is created in stead of Credit memo?
    Also, while using Prepayment functionality in R12.1, I am getting some error related to "Please enter receipt number" when I press Process Payment button.
    Any help will be highly appreciated.

    Copy Name is one of the editable fields in metadata panel on right side of Library module.

  • Need API for Credit Memo creation-R12

    Hi All,
    I am working on R12 Implementation process.  I have a requirement for creating the "Credit Memo" using API.
    Could you please any one provide the API for Credit Memo creation process.
    Thanks,
    LSP

    Hi,
    Please refer the following links:
    http://www.betteroracle.com/2012/08/ar-api-create-credit-memo-r12.html
    http://easyoracleapps.blogspot.com/2011/08/creating-credit-memos-and-appling-these.html
    http://prasanthapps.blogspot.com/2011/05/credit-memo-creation-via-api.html
    Googling will help you indeed
    Rgds,

Maybe you are looking for

  • Screws for 32 inch Toshiba LCD

    I lost the screws for my base. Does anybody know what size screws I need to screw my 32C110U TV into the base?

  • Insufficient privileges when logging in as sysdba

    Oracle: 10.2.0.4 Solaris I try to login as sysdba across the network sqlplus sys@MYDB as sysdba Password: blah ERROR: ORA-01031: insufficient privileges I have a password file. I ran the orawpd under $ORACLE_HOME/dbs Parameter remote_login_passwordfi

  • TS3988 Why does PhotoStream on my laptop keep shutting off?

    Every time I turn on my laptop it says Photo Stream has encountered a problem and needs to shut down. I have checked all of my settings, I have an iphone and ipad linked with icloud. I've tried all of the troubleshooting steps and all of my email add

  • Instaling Mac OS X Leopard

    I have a desktop I wanted to install Mac OS X Leopard on but I cannot seem to boot from the DVD, can someone tell me where I am going wrong. My other topic got deleted some how. Thanks

  • Database resource manager and RAC

    Hello, This is probably is very simple question, but... I have a system with mixed workloads (OLTP and BATCH). As many before, I want to prevent BATCH processes from impacting OLTP. I read about RAC and DRM, and how each could be used to assign resou