How to link a downpayment to an invoice?

Hi,
I want to link a donwpayment to an invoice but don't know how. Could anybody please help me?
Thanks,
Kelvin

Hi Kelvin,
You can try the following code:
SAPbobsCOM.Documents oINV;
oINV = (SAPbobsCOM.Documents)MainModule.oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);
oINV.CardCode = "efrat";
oINV.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items;
oINV.Lines.ItemCode = "item1";
oINV.Lines.Quantity = 1;
oINV.Lines.UnitPrice = 10;
oINV.Lines.TaxCode = "A1";
oINV.Lines.VatGroup = "A1";
//link a downpayment to the invoice
SAPbobsCOM.DownPaymentsToDraw dpm = oINV.DownPaymentsToDraw;
dpm.DocEntry = tmpKey; //key of the downpayment
dpm.AmountToDraw = 4;
oINV.Add();
Best regards,
Lin

Similar Messages

  • How to link JE with A/R invoice

    I have generated an A/R invoice. After generation I want to give some discount to customer, so I generated a JE for discount.
    I want in customer ageing report the outstanding amount as bill amount less discount.
    How this can be done.
    Is there any way to link the JE to A/R invoice to show the correct outstanding amount.

    Hi Sandeep,
    as mentioned above, in 2007 it's not a problem since partial reconciliation on JE level is fully supported.
    In the lower version you may only reduce the total balance due when using a credit memo standing on the invoice.
    Should you be in a lower version you have several different options:
    1.) Internally reconcile the JE with the invoice
    -> disadvantage: Invoice is closed & will no longer appear in the ageing report
    - hence: Not recommended
    2.) Create the JE with the discounted amount & wait until remainder of invoice is paid, then reconcile partial payment with JE & invoice
    -> disadvantage: a lot of room for user error, a lot of data needs to be held in mind of operator, mistakes almost inevitable.
    -> Advantage: JE will appear in ageing report when run by journal entry.
    - hence: only use for isolated incidents
    3.) In incoming payments window, highlight invoice in question & use form settings to make column'Total discount' visible & active. Enter the discount amount in that field & notice that the amount in 'Total payment' has now been reduced by the discounted amount. Use Ctrl+B to pull this amount into the payment means & add the payment.
    -> advantage: all reconciliations are correct & the discounted amount is posted into the appropriate account.
    - hence: Recommended Procedure.
    In the scenario that you describe I would therefore recommend that you reverse the manual JE already crteated & then proceed according to option 3.
    All the best,
    kerstin
    All the best

  • How i link DMS to FICO say Invoice

    Hi,
    how i would link DMS to FICO??say Invoice.
    points?

    HI Rajes
    You can select the object links from dc10 tcode. But if you want to add any other object as object link then the following info as posted in some other thread might be useul to you.
    Through Abapers,
    You can create New objects using the T.code: SE80.
    You can make an object link to SAP objects that are not shown in the possible entries list. To do this, proceed as follows:
    1. In the standard system, there are already two special screens for the module pools SAPLCV130 and SAPLCV140 for the linked SAP object.
    You must create two new screens with the same number for the module pools SAPLCV130 and SAPLCV140. The processing logic must follow that of screen 1204 in program SAPLVC130.
    2. Create function module OBJECT_CHECK_XXXX (XXXX = object name) If the object can be classified, this function module already exists .
    Otherwise copy the function module for linking equipment DOCUMENT_CHECK_EQUI and change it as required for the new object.
    Thanks
    Prasad

  • How to link Vendor Invoice to Customer Invoice in Third Party Sales Custom Report

    I have a requirement wherein I want the Invoice to have as many line items as MIRO have if partial delivery happens... invoices (one for each MIRO)..
    We are currently using the Third Party with Shhipping notification...
    I have tried using VF04 for billing but only one line item is coming for Billing in Invoice...
    I mean how to link the RSEG - partial vendor Invoice line items to Invoice...
    Ex: Third Party Order 20 qty
    Partial delivery 12 & 8... I can see 2 MIRO line item values in the table RSEG...
      If i do invoice in VF04..i can only see 1 line item for total billing....
      Can anybody help me how to solve this??? How can i link
      Vendor Invoice to the Customer Invoice....
      I have to solve this for a Third Party report???
      Thanks in Advance...

    Hi Senthil,
    I have seen the table VBRP..but it is showing only 1 line item 20 against 2 invoices 12 & 8...
    My requirement is that VBRP should show 2 line items of Vendor invoices 12 & 8...

  • Copy AR  Downpayment request to Invoice

    Hi,
    How to Copy AR  Downpayment request to Invoice.
    Rgds
    Rajeev

    Hi,
    You cannot link the Down Payment Request in Invoice.  You can link the A/R Downpayment Invoice to the A/R Invoice.
    You prepare the A/R Invoice and save it. While registering the Incomming Payments you can view the A/R Downpayment Request payment and then the A/R Invoice Payment amount. The Down Payment Request amount will be negative since the payment is already registered.
    While making the A/R Invoice Payment select the A/RInvoice row and also the A/R Down Payment Request row in the Incoming Payments window.
    Now, you can prepare Invoice payment for the Balance amount.
    I hope this could help you to solve the problem.
    Regards
    Raja.S

  • How to Link A/R Down Payment to A/R Invoice

    I have a situation where the customer requires the use of a Down Payment invoice so their customer can pay in advance.  The do not want to enter the incoming payment as a payment on account which would affect the balance on the control account.  So the Downpayment invoice seems the way to go.  The problem is that the "Real" A/R invoice get's created by a 3rd party add in.  Since the add in creates the invoice there is no opportunity to select the downpayment before the "real" invoice is added.
    Is there a way I can link an existing A/R Invoice to an A/R down payment invoice that is fully paid.
    Thanks,
    don

    HI ,
    Plzz go through this. Hope this will solve your problem.
                                                 A/R Down Payment Invoice Concept. 
    Case:
    A Customer ordered material of worth Rs. 1, 00,000. And made a down Payment of Rs. 50,000.
    Steps:
    1.     Raise a sales order for this customer with ordered Qty and value Rs. 1,00,000.
    2.     Raise a Delivery against the respective Sales Order.
    3.     Raise A/R Down Payment Invoice against the delivery and add the document with Down Payment value made by the customer.
    Note: In A/R Down Payment Invoice Screen we have a tab at the bottom of the screen to enter the % of the down payment made by the customer.
    4.     Raise incoming payment by linking to the A/R Down Payment Invoice.
    5.     When we get the remaining payment from Customer, raise A/R Invoice against the respective delivery.
    Note: In A/R Invoice Screen we have a tab at the bottom, when we click this tab it displays all Down Payments which are closed.
    6.     Select the Down Payment in the A/R Invoice and the document total will be the balance paid by the customer.
    7.     Raise Incoming Payment linking to the A/R Invoice.

  • DTW : How to link an invoice to multiple delivery (BaseEntry or other)?

    Hello experts,
    With DTW, How to link an invoice to multiple delivery (BaseEntry or other)?
    In other words, How to link a target document to more than 1 of base documents, can i use 2 or 3 numbers in BaseEntry, to readjust the quantity exceeding problem found in the existing system.
    Regards,
    Hafid

    Gordon,
    Yes effectively. this detail efcaped me even though I knew it. I thought otherwise. When an invoice is based on two deliveries for the same item and this invoice contains a single line grouping the 2 quantities, I forgot that it's 2 different lines of the same item.
    Example:
    Delivery No  1 | Item A | quantity: 1000
    Delivery No. 2 | Item A | quantity: 600
    Invoice No. 1 based on delivery No 1 & 2 | Item A | Quantity: 1300
    Thank you, now my vision is clear
    Hafid

  • How to link Crystal report to SBO layout print, like AR invoice?

    Hi,
    I am trying Crystal Report to work with SBO now; However, I dont know how to link Crystal Report to print AR invoice, sales order etc.; Is it possible to link Crystal with SBO document print layout?
    Thank you!
    Regards,
    Jerry Huang

    Hi jerry ,
    It's nice that u found the answer, and  thanks a lot for sharing the solution .
    Please mark ur question as answered.
    Rgds,
    Premraj

  • How to link specific customers invoices to a given gl account

    hi guru,
    could u pls assist me on how to link a particular customers invoices to a specific gl account.
    this should happen each time an invoice is raised for that customer.
    Thanks
    Maureen

    Hello,
    From your question it is not clear whether you are using SD module or not.
    Nowhere in SAP you can directly do this. However, you will have various options to link to a gl account in VKOA.
    Chart of Accounts, Customer Account Assignment Group, Material Account Assignment Group and a key combination you can maintain this.
    Regards,
    Ravi

  • How to create A/R Down payment Invoice

    Hi;
    I am trying to create A/R Down Payment Invoice through DI API by using the below mentioned object but the system is giving me the following error "Invalid Value. {DPI1.ExLineNo} {Line No. 1}".
      SAPbobsCOM.Documents oDoc SAPbobsCOM.Documents)x.CompanyObject.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDownPayments);
                oDoc.Lines.SetCurrentLine(0);
                oDoc.CardCode = "C0001";
                oDoc.Lines.ItemCode = "Test";
                oDoc.Lines.Quantity = 2;
                oDoc.Lines.UnitPrice = 10;
                oDoc.Lines.ActualDeliveryDate = DateTime.Now.Date;
                oDoc.Lines.BaseType = 17;
                oDoc.Lines.BaseLine = 1;
                oDoc.Lines.BaseEntry = 1;
                oDoc.Lines.ExLineNo
                int oRetVal = oDoc.Add();
                if (oRetVal != 0)
                    MessageBox.Show(x.CompanyObject.GetLastErrorDescription());
    Please suggest me how I can create AR Down Payment Invoice along with Incoming Payment and then wanted to link AR down payment invoice with AR invoice.
    Regards;
    Deepak

    Hi
    Try this code
    Try
    'Create DownPayment Invoice Object
            oDPM = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDownPayments)
            'Set Down Payment Header Values
            oDPM.CardCode = "Some Card code"
            oDPM.DocDueDate = "Suitable Date"
            oDPM.DownPaymentPercentage =" Numeric value (Double)"
            oDPM.DownPaymentType = SAPbobsCOM.DownPaymentTypeEnum.dptInvoice
            'Set Down Payment Line Values
            oDPM.Lines.ItemCode =" Some Item Code"
            oDPM.Lines.Quantity =" Quantity"
            oDPM.Lines.Price =" Item Price"
            lRetCode = oDPM.Add ' Try to add the invoice to the database
            If lRetCode <> 0 Then
                 oCompany.GetLastError(lErrCode, sErrMsg)
                 MsgBox(lErrCode & " " & sErrMsg) ' Display error message
            Else
                 MsgBox("Down Paymeny Invoice Added to DataBase", MsgBoxStyle.Information, "Invoice Added")
            End If
        Catch ex As Exception
            MsgBox(ex.Message)
        End Try
    Regards
    Arun

  • How to link Interactive fields in acrobat 9Pro

    Hi Im new in this and I would like to now how to link interactive fields in acrobat.
    lets say that I have 10 files (File1, File2, File3 etc......) and each file have the same  COMBO BOX that display 5 options (option 1. option 2, option 3, option 4 and option 5), all 10 files have the same combo box with the same options, but i want to DELETE option 3 from each file.
    So, how can I do it, beacuse right now I have to do it manually each file at the time, and in real I dont have 10 files I have 500.
    Please I would appreciate any help.
    Thanks.

    I am not so sure yet but in the PLD properties window on general tab of SBO 2005A there is field name link to. its description is :
    Creates a link between several fields, to determine if the system collectively displays or hides them. If a field is blank or hidden, its linked fields are not printed either.
    To create the link, choose the Unique ID of the field to which you want to link the selected field.
    If the field Total Liable in the document is set to zero there is no need to print the Tax, Discount, and Total fields. It is possible to link these fields to the field Total Liable by selecting its unique ID in the field Link to, found in each one of their Properties windows. This will then hide the fields when Total Liable is zero.
    If a linked field is not yet calculated, the field is ignored.
    Another example:
    Steps for Version 2005A:
    Link every existing field in the Repetitive Area
           to itself (thisinlcudes hidden fields as well!)
    add the following fields to the Repetitive Area
    Field_1:
    General Tab
    untick visible
    Left = 0 / Width = 0 / Top = 0 / Height = 0
    Content/Variable Tab
    Variable No.: 157
    Field_2:
    General Tab
    untick visible
    Left = 0 / Width = 0 / Top = 0 / Height = 0
    Content Tab
    Source Type: Formula
    Field_1 ==' '
    Increasethe Height of the Repetitive Area to allow placing the following field vertically below the exisiting fields of the Repetitive Area - tick Height Adjustment for the Area!
    Field_3:
    General Tab
    Link to: Field_2
    Left = / Width = / Top = / Height =
    => place vertically below the top row in the Repetitive Area
    Format Tab
    Line Break: Divide into Rows
    tick Field Height Adjustment
    Content Tab
    Source Type: Database
    Table: AR Invoice - Rows
    Column: Text
    Maybe it is what your are looking for.
    BTw, Do not you have the custom PLD pdf file ? You could download it in the documentaiton resource center or requesting it to SAP partner.
    Rgds,

  • How to link Interactive fields in Acorbat 9Pro?

    Hi Im new in this and I would like to now how to link interactive fields in acrobat.
    lets say that I have 10 files (File1, File2, File3 etc......) and each file have the same  COMBO BOX that display 5 options (option 1. option 2, option 3, option 4 and option 5), all 10 files have the same combo box with the same options, but i want to DELETE option 3 from each file.
    So, how can I do it, beacuse right now I have to do it manually each file at the time, and in real I dont have 10 files I have 500.
    Please I would appreciate any help.
    Thanks.

    I am not so sure yet but in the PLD properties window on general tab of SBO 2005A there is field name link to. its description is :
    Creates a link between several fields, to determine if the system collectively displays or hides them. If a field is blank or hidden, its linked fields are not printed either.
    To create the link, choose the Unique ID of the field to which you want to link the selected field.
    If the field Total Liable in the document is set to zero there is no need to print the Tax, Discount, and Total fields. It is possible to link these fields to the field Total Liable by selecting its unique ID in the field Link to, found in each one of their Properties windows. This will then hide the fields when Total Liable is zero.
    If a linked field is not yet calculated, the field is ignored.
    Another example:
    Steps for Version 2005A:
    Link every existing field in the Repetitive Area
           to itself (thisinlcudes hidden fields as well!)
    add the following fields to the Repetitive Area
    Field_1:
    General Tab
    untick visible
    Left = 0 / Width = 0 / Top = 0 / Height = 0
    Content/Variable Tab
    Variable No.: 157
    Field_2:
    General Tab
    untick visible
    Left = 0 / Width = 0 / Top = 0 / Height = 0
    Content Tab
    Source Type: Formula
    Field_1 ==' '
    Increasethe Height of the Repetitive Area to allow placing the following field vertically below the exisiting fields of the Repetitive Area - tick Height Adjustment for the Area!
    Field_3:
    General Tab
    Link to: Field_2
    Left = / Width = / Top = / Height =
    => place vertically below the top row in the Repetitive Area
    Format Tab
    Line Break: Divide into Rows
    tick Field Height Adjustment
    Content Tab
    Source Type: Database
    Table: AR Invoice - Rows
    Column: Text
    Maybe it is what your are looking for.
    BTw, Do not you have the custom PLD pdf file ? You could download it in the documentaiton resource center or requesting it to SAP partner.
    Rgds,

  • How to link Inv payments in Gl to Inv distribution in GL

    How to link Inv payments in Gl to Inv distribution in GL?

    Could you please clarify,u want to know to link payment accounting entries to invoice accounting entries.

  • How to link documents in SD following tables?

    Hi All,
    I am new to SD and I am a technical person not a business person. But now I have to find out how to link a billing document of type Credit Memo (tcode VF03) with the invoice that originated it. I can see in the document flow of the credit memo (button Display Document flow) all the documents related but... where are those link in the data dictionary? I need the technical part that lays behind this. How can i follow the track of the former documents knowing only one of them?
    I hope you can help me experts.
    BR. Elena

    Elena,
    VBFA table is for Document Flow for which you can see all the preceeding Documents.For Example VBRK ( Billing Table) --> LIKP ( Delivery Tabel ) and VBAK ( Order Tabel).Here for Billing Document the Preceeding Document is Delivery and for Delivery Doucment the Preceeding Document is Order.
    Hope this clarifies your doubt and Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • 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

Maybe you are looking for

  • Rows n cols of tables added in activex-MS Word doc border in white color-i need black

    Dear members, I developed a program which after acquiring data generates a Word Document containing many tables of data. The sad things is , the rows and columns of the table have white color border as a result of which the table doesnt look like a t

  • Putting a water mark in the form

    Hello all, My requirement is to have a water mark image in the adobe form. Kindly let me know the procedure to do this. Thanks and Regards Rajesh

  • Cant play .qt files on XP or ME win edition

    I have Quicktime on my home pc (win me) and on my laptop (win XP home). Downloaded the latest version of directx on them. My problem is I can not get Quicktime files with an .qt extension to play after I save them off of a web site. The .mov files wo

  • Variable in book

    I have a book with two novellas in it (short stories) with a total of about 35 files. Each story has a cover page with the title which has a paratag called "HB_HeadingBook". I'd like the title of the novella to appear in the header of each page. So f

  • Building the Kernel - Quick Question

    When building the kernel26 package, does it use the flags specified in makepkg.conf?