AP - Is it possible to apply a Deposit to an Invoice via a API or Interface

Hi,
Some knows if it's possible to apply deposit trough an API or during the invoice interface process?
Oracle EBS R12.1
Thanks in advance for the feedback.

Try AR_DEPOSIT_API_PUB.
Regards,
Gareth

Similar Messages

  • Apply a Payment to an Invoice via DI API

    Good day,
    I'm trying to apply a payment to an invoice through the DI API. All I did was follow the sample code in the included reference document but it gives me a runtime error "invalid cardcode". Any help would be appreciated.
    Thanks in advance!

    Hey Guys,
    The sample code it is not connected to any Invoice, it is posting a cash receipt (payment without reference ib B1).
    The correct code is
    Dim vPay As SAPbobsCOM.Payments = oCompany.GetBusinessObject(BoObjectTypes.oIncomingPayments)
            vPay.CardCode = "ACC" ' ENTER HERE A VALID CARDCODE
            vPay.CashAccount = "38110100" ' ENTER HERE A VALID CASH G/L ACCOUNT
            vPay.CashSum = 84 ' ENTER HERE A VALID AMOUNT (eg DocTotal)
            vPay.DocDate = Date.Today()
            vPay.VatDate = Date.Today()
            vPay.DueDate = Date.Today()
            vPay.TaxDate = Date.Today()
            vPay.LocalCurrency = BoYesNoEnum.tYES
            vPay.Invoices.DocEntry = 13 ' ENTER HERE THE INVOICE DOCENTRY
            vPay.Invoices.DocLine = 0
            vPay.Invoices.InvoiceType = BoRcptInvTypes.it_Invoice
            vPay.Invoices.SumApplied = 84  ' ENTER HERE A VALID AMOUNT (eg DocTotal)
           If (vPay.Add() <> 0) Then
                MsgBox(oCompany.GetLastErrorDescription)
            End If
    Regards
    János

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

  • Is it possible to apply a condition on a single column?

    Morning All,
    Is it possible to apply a condition on a single column? My aim is to create a report that has multiple PTD columns, each based on a different Version ID.
    I've tried creating a calculation using the case statement shown below, however I get a blank column with nothing in: CASE WHEN VERSION_ID = ‘10’ THEN BALANCES.PTD END
    I know this can be done through a DB view/custom folder, however I’m looking for a solution that can be created in Desktop / Plus.
    Cheers,
    Lance

    OK. Hope this explains the problem well.
    This is the Crosstab Report without Annual Budget Column which looks great, all figures correct.
    http://vodashare.com/show.php/2929_Pic1.jpg
    After Adding Annual Budget column,
    http://vodashare.com/show.php/2930_Pic2.jpg
    This is the Table version of the above report with Annual Budget column
    http://vodashare.com/show.php/2931_Pic3.jpg
    Calculation Used for Annual Budget is
    SUM(( CASE WHEN ( ( Actual Flag = 'B' ) AND ( Status <> 'C' ) )
    THEN ( NVL(Period To Date Cr,0)-NVL(Period To Date Dr,0) )
    ELSE 0 END ))
    OVER(PARTITION BY Account,"Period Year" )
    According to the conditions ( Actual Flag = 'B' ) AND ( Status <> 'C' ), amount is calculated adding the (Cr – Dr) amount when these conditions are satisfied. But, How can I make sure the value is displayed only for rows that these conditions are satisfied?
    As you can see, it also displays the columns where Actual Flag != 'B' and Status = ‘C’
    Also, I wonder why the Crosstab worksheet with Annual Budget doesn’t display some of the amounts (Ex: for Account 301010, no Annual Budget is displayed where as in Tabular worksheet it is $5721017.50) and for the amounts displayed, why are they displayed at different levels of Sub Accounts?
    Note: I do get a warning when I Add the Annual Budget to worksheet.
    'You are combining a detail data point with an aggregate data point This may give you unexpected results'. But I am not using any detail items as data points.(not considering Status and Actual Flag, got same message even after removing those)
    Please let me know if you find a solution for your requirement Lance, that would help me.

  • It is possible to apply redo while the standby is open in read only mode ?

    Hi,
    I am using Oracle 11g R2 (11.2.0.1.0)
    Step 1: Two node RAC is Configured.
    Step 2: One node Data Guard RAC is configured.( i,e Standby is one node RAC).
    Primary:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ WRITE PRIMARY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    Standby:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ ONLY WITH APPLY PHYSICAL STANDBY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    Question:
    I have not purchased active dataguard license.
    In my case In Data Guard RAC it is possible to apply redo while the database is open in read only mode?
    Thanks
    Solaiman

    876149 wrote:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ ONLY WITH APPLY PHYSICAL STANDBY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    "READ ONLY WITH APPLY" in V$DATABASE.OPEN_MODE means Active Data Guard is enabled.
    Oracle code cannot check if you have the right license: it is up to you to know which license you have for your database environments.

  • Is it possible to apply conditional formatting to a cell (or range) based upon a LOOKUP query to cell values in another sheet.? I want to alter the formatting (i.e., text and/or cell background color), but not cell content.

    Is it possible to apply conditional formatting to a cell (or range) based upon a LOOKUP query to cell values in another sheet.?
    I want to alter the formatting (i.e., text and/or cell background color), but not the content, of the target cell(s).

    Hi Tom,
    Your LOOKUP formula will return a value that it finds in the "other" table. That value can be used in conditional highlighting rules. (Numbers 3 calls it conditional highlighting, not conditional formatting. Just to keep us awake, I guess, but it works the same).
    Please explain what you are trying to do.
    Regards,
    Ian.

  • Is it possible to apply putClientProperty() to the entire GUI?

    Is it at all possible to apply something like: putClientProperty to the entire GUI rather then a specific object?
    I dislike the java style, and prefer to have my layout as the windows style, but don't know how to do this rather then setting each gui element to windows style...

            try {
                   UIManager.setLookAndFeel(
                           UIManager.getSystemLookAndFeelClassName());
              } catch (Exception e) {}This should change Swing UI to Windows Look & Feel (if your runing on windows).

  • Is it possible to apply service packs to NW04s ABAP Sneak Preview?

    Service Pack 7 to NW04s contains the DEMO_REGEX_TOY, which I'd like to install in my ABAP sneak preview system.  I have some questions about that:
    1.  Is it possible to apply maintenance to the Sneak Preview?
    2.  What service packages need to be isntalled to upgrade the sneak preview rel/level from 7/5 to 7/7: 6 and then 7, or just 7?  That is, are those service packs cumulative?
    3.  I am unable to download the service packs from https://service.sap.com using the download manager.  I get an error in the trace output that says, "Unable to Find Certification Path."  I have no idea what that means, or how to circumvent that problem.  Is there an alternative way to get the Service Packs?
    Thanks for any help/guidance you all can provide!

    Thanks.
    I did manage to download the packs.  For others who may have similar difficulties, the solution to my download problem was to specify (in IE) http://service.sap.com as a trusted site.  That allowed Download Manager to get the files.
    I'll also add that I successfully applied packs 6 & 7, as well as SP 70020 (required to update SPAM before applying pack 7) and am now in business!
    (Not sure I have the correct terminology for those - here's the file names I applied: KB70006.CAR, KB70007.CAR, KD70020.CAR)

  • Is it possible to apply a stroke effect to a Photoshop image in After Effects?

    Hello,
    I've imported an image (a maze) from Photoshop into AE, and I want the image to appear as if it's being drawn in using the Stroke animation.  Is it possible to apply some kind of path along which the image can "fill in"--similar to how you can do this with text?  I didn't see a way to convert the image into a shape layer on which I could apply the Stroke effect, either.
    Thanks to everyone who's been so helpful in these forums--I've gotten a lot of questions answered by y'all!
    meredith

    Followed everything you said up until using the solid as a track matte, where I got a little confused.
    The effect worked more or less how I wanted when I set the starting value of the stroke at 100% and set track matte of my original image to Alpha Inverted.  When I did this, it gave the effect that the solid was disappearing to reveal the original image, if that makes any sense. 
    Is there anyway to adjust the brush shape?  Right now it is a circle, is it possible to change it into a square?  The circle brush gives an awkward edge line as the lines of the image begin to appear with the stroke effect.
    Thanks!

  • I am a student, I am going to order a MacBook Pro from education shop. Is that possible to apply for tax free at the same time?

    I am a student, I am going to order a MacBook Pro from education shop. Is that possible to apply for tax free at the same time?

    In the US I have not seen a state that allows an individual to claim tax exemption...that is reserved for authorized institutions like public school systems.  Only certain states do not have no-sales tax laws.  When I lived in France, to be free from VAT one had to be a non-citizen and would be reimbursed for goods that were shipped out of the country upon exiting the country...not while still residing there.  That was pretty typical of other European countries at the time, Pre-EU days, that is.

  • How to un-apply the deposit

    Hi,
    We accounted two deposits from customer.
    ( ie. Dep-1 100 USD & Dep-2 300 USD)
    We shipped the product and created the actual sales invoice.
    We have to apply the Deposit ( Dep-1) and applied the Dep-2 by mistake
    We must un-apply this Deposit Dep-2 and have to apply the Dep-1.
    How to achieve this ??
    Regards,
    Subeer Ahamed

    Hi,
        you can not un compress the request.
    Regards
    Sankar

  • Workaround to apply multiple deposits to an invoice

    Dear my friends,
    As you know, in Oracle Receivables standard functionality, only one deposit can be applied to the invoice. If we have multiple deposit need to be applied to an invoice, we can't do that.
    What's your workaround for this kind of business case in your company/project?
    Thank you in advance.
    Best regards,
    Ning

    Its a long workaround. Not many people prefer it.
    1) Unapply the receipts from the existing Deposits
    2) Credit the existing Deposits
    3) Create a new single Deposit (total of all deposits that you wanted to apply)
    5) Apply the receipts to this new Deposit
    6) Apply this new Deposit to the Invoice.
    Thanks,
    Anil

  • 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

  • Is it possible to generate outbound idocs for FI invoices? How?

    Is it possible to generate Outbound idocs for FI invoices? How? or else i have to write program to get data in file and pass it to translator. Please help.

    Dear Gabriel
    Before letting you know the possibility, can you please let me know why you want such a requirement, since standard has not provided such copy control, to my knowledge.
    As you would know order type KB is for consignment fillup where you are just transferring the goods from FG unrestricted to your own warehouse and that is why in standard you can see the copy control KB --> F8 which means you can raise proforma against delivery and not against fillup order.
    So think of whether really you wanted to raise proforma against fillup order which is NOT recommended by SAP.  However, still if you feel that the requirement is so to have, you can make the settings in VTFA.
    thanks
    G. Lakshmipathi

  • HT1476 i-phone3 wont recharge; initially home button wouldn't work. Applied the 'auto-touch button thing' via settings. This worked until I ran out of battery life. Now it won't recharge either via laptop (usually does) or wall switch. Just a blk screen.

    i-phone3 wont recharge; initially home button wouldn't work. Applied the 'auto-touch button thing' via settings. This worked until I ran out of battery life. Now it won’t recharge either via laptop (usually does) or wall switch. Just a blk screen.

    In general theory, one now has the Edit button for their posts, until someone/anyone Replies to it. I've had Edit available for weeks, as opposed to the old forum's ~ 30 mins.
    That, however, is in theory. I've posted, and immediately seen something that needed editing, only to find NO Replies, yet the Edit button is no longer available, only seconds later. Still, in that same thread, I'd have the Edit button from older posts, to which there had also been no Replies even after several days/weeks. Found one that had to be over a month old, and Edit was still there.
    Do not know the why/how of this behavior. At first, I thought that maybe there WAS a Reply, that "ate" my Edit button, but had not Refreshed on my screen. Refresh still showed no Replies, just no Edit either. In those cases, I just Reply and mention the [Edit].
    Also, it seems that the buttons get very scrambled at times, and Refresh does not always clear that up. I end up clicking where I "think" the right button should be and hope for the best. Seems that when the buttons do bunch up they can appear at random around the page, often three atop one another, and maybe one way the heck out in left-field.
    While I'm on a role, it would be nice to be able to switch between Flattened and Threaded Views on the fly. Each has a use, and having to go to Options and then come back down to the thread is a very slow process. Jive is probably incapable of this, but I can dream.
    Hunt

Maybe you are looking for

  • Triggering An NMcap Capture When A Certain Event ID Repeats

    Lately we have been having an issue in our Active Directory environment where a subset of users will all be locked out. This happens at random, unpredictable times. Sometimes weeks or months apart, sometimes twice in a few days. After talking to Micr

  • Calculations based on the values in the cube

    Hi Guys, I need to create a report where I need to calculate a value based on the data available in the cube and not just the data that is the output of the report. Is it possible for me to use the data in the table /BIC/<datatarget>00 and perform th

  • Alert message and timeout PJC

    Hi, We are using timeout PJC  functionality for our web forms. It's working fine and the form application display the alert/message whenever inactivity time reaches(which is set for 30 minutes). The issue is when you minimized the form application by

  • Master data load failed

    Hi Experts, One of my master data full load failed, see the below erro message in status tab, Incorrect data records - error requests (total status RED) Diagnosis Data records were recognized as incorrect. System response The valid records were updat

  • Back to new

    I just sold my MacBook and I need to know if there is anyway to get it reset to new factory condition so that all of my stuff is gone and it is like a new computer? It had Tiger on it, so I put the Leopard disk in to upgrade but it still has some of