Payment on Account in Incoming payment

Dear All,
We are creating a addon for incoming payment through DI API. We are adding incoming payment based on journal entry and Invoice. While creating this entry in incoming payment, Payment on account checkbox is automatically enabled for the balance amount if the amount of  incoming payment is less than the value of Invoice or outstanding in the journal entry. In this scenario we are unable to do the next incoming payment for the same invoice or the same journal entry(Customer outstanding amount). The following is the coding we are using for this purpose. Can any one suggest us as how to solve this problem.?
                                ocompany.GetNewObjectCode(CStr(jeno))
                                oPmt = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments)
                                oPmt.DocType = SAPbobsCOM.BoRcptTypes.rCustomer
                                sNum = invno
                                oPmt.CardCode = custcode
                                oPmt.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_JournalEntry
                                oPmt.Invoices.DocEntry = jeno
                                oPmt.Remarks = crno
                                oPmt.DocDate = docdate.Date
                                oPmt.DocTypte = SAPbobsCOM.BoRcptTypes.rCustomer
                                oPmt.CashSum = chqsum
                                If oPmt.Add() <> 0 Then
                                    MessageBox.Show(ocompany.GetLastErrorDescription)
                                    SBO_Application.MessageBox("Problem in Payment for Invoice no: " & crno & " Problem found is - " & ocompany.GetLastErrorDescription)
                                Else
                                End If
Regards,
Chandramohan

Hello Thiya,
see this thread: [Re: How to do an incoming payment based on journal entry whit SDK ?]
I did post some example code from the sdk help.
HTH
Regards Teun Aben

Similar Messages

  • Payment on Account in Incoming/Outgoing Payments

    Please tell me what is the purpose of Payment on Account in Incoming/Outgoing Payments forms and also in what all combinations I can use this feature.

    Hello,
    Basically it is used to accept the payment not based on certain invoice (open invoices) if you tick the field (tick box field). You must manually reconcile the payment to the invoices using automatic internal reconciliation or link invoice to payment feature that is available in banking module --> bank statements and reconciliations --> link invoices to payment. If you use the reconciliation option, you will also must create balancing journal before reconcile the transaction (i.e. open transaction in debit and credit side reconciliation balancing journal).
    let me know if you need further explanation.
    Rgds,

  • Payment methods for automatic incoming payment processing.

    Hi,
    We have been using 'f110'  program for automatic outgoing payment processing. Now we are trying to set the incoming payment processing using the same program.  It should be mentioned that its a Canadian organization.  For outgoing payment, we have been using Bank transfer method, one of the available methods for outgoing payment. Our organization wants the same bank transfer method for the incoming payment processing. However, Bank transfer method is not belong to the group of incoming payment methods, rather it has the following methods:
                          1. Debit memo
                          2.   Bill/ex
                          3. Bill/ exch. pyt req.
                          4. Payment demand .
    I am just wondering is there anyway we can include the bank transfer method inside the incoming payment group or we can use any of the existing method for the same purpose.      
    Reagrds,
    Lokman

    Dear Lockman,
    The payment method "B" can just be:   
    If outgoing payment:   Bank Transf           
    If incoming payment:   Debit memo            
    So Debit memo means Bank transfer for incoming payment.
    I hope this helps.
    Mauri

  • Showing Advance adjustment accounts in Incoming Payment(payment means)

    Hi Experts,
    At the time of Incoming payment in banking module , when  open the incoming payment means screen system show the default account in GL account which is Advance payment Adjustment Account head. Please tell me the reasone behind this  logic.
    Thanks
    Aurangzaib Khan

    Dear Mr. Sridharan
    I am asking what is the reason behing  this mapping, suppose if I received Cheque from a customer, but at the time received such cheque is not Cleared, therefore how to post this transction, please tell me Detail procedure for this  Transctions.
    Thanks
    Aurangzaib Khan

  • Add Invoice with Payment Terms set 'Open Incoming Payment' = Cash - with DI

    Hi,
    I have this type of problem: I have defined a Payement Terms (Payment Terms - Setup) and I have set the field 'Open Incoming Payment' = Cash.
    In this way, when I create an Invoice and I put this 'Payment Terms' in Accounting Label, when I Add the Invoice, Sap open the 'Payment Means' form, and I must set the Total Cash of the payment. I set this field, click Ok, and then I'm able to Add the Invoice (and his Payment).
    If I try to do this operation with DI API, when I call .Add() method, I retrieve this error: "Invoice & receipt must be paid exactly  [OINV.GroupNum]". There is a method or property in SAPbobsCOM.BoObjectTypes.oInvoices that I must set to do automatically this operation?
    What can I do this???
    Thank you
    Marco

    Hi Niall,
    yes, I have set the property vInvoice.PaymentGroupCode = 2 , infact i retrive the error.
    If i try to set PaymentGroupCode = 1 or PaymentGroupCode = 3 (other 'normal' Payments Terms), my procedure work correctly, and the Invoice are added.
    If I try to set PaymentGroupCode = 2, i retrieve the error.
    This is my simple code:
                        vInvoice.Series = 26
                        vInvoice.CardCode = "C0001"
                        vInvoice.HandWritten = SAPbobsCOM.BoYesNoEnum.tNO
                        vInvoice.DocDate = "10/01/2009"
                        vInvoice.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Service
                        vInvoice.PaymentGroupCode = 2
                        vInvoice.Lines.AccountCode = "11005010"
                        vInvoice.Lines.Quantity = 1
                        vInvoice.Lines.Currency = "Eur"
                        vInvoice.Lines.Price = 110
                        ret = vInvoice.Add()
                        If ret <> 0 Then
                            myDB.GetLastError(errCode, errMsg)
                            myapp.SetStatusBarMessage(errMsg, SAPbouiCOM.BoMessageTime.bmt_Medium, True)
                        End If
    Thank
    Marco

  • Down Payment Clearing Account Vs Down Payment Interim Account

    Hi Experts
    What is the use of Down Payment Interim Account & Down Payment Clearing Account??
    Difference b/w Down Payment Clearing Account Down Payment Interim Account ??
    regards
    anand

    Hi Anand,
    You may check: Re: Down Payment Interim Account In SAP 8.8
    Thanks,
    Gordon

  • Number range for payment advice note for Incoming payment

    Hi
    Where do we maintain the number ranges for internal generation of payment advice note?
    Regards
    Sanil K Bhandari

    Hi experts;
    I would like to generate the number range externally (because we don't work with the payment advice).
    precisely;
    In FEBA TCODE I don't want that a payement advice number appear in the screen, I want the field empty for a manually clearing of ledger post.
    regards.

  • FICA question- Incoming payment posted to wrong account & processed as refund

    Need validation if the process recommended in following scenario is appropriate & any advise would be appreciated:
    We have a few contract accounts where the incoming payment was posted to worng contract account. Then instead of reversing the doc & moving it to clarification & posting to correct account , the cashier assuming the customer has made payment in error , initiated a refund  & an outgoing payment doc was generated after payment run. In some cases the check was issued to the customer.
    What we think the right process would be as under:
    1. Reset clearing on outgoing payment doc. The incoming payment doc will now be open. There will be additional debit entry of equivalent amount for the reset clearing.
    2. Reverse the incoming payment doc & post it to clarification. From Clarification , post it to correct contract account.
    3. For the debit entry on the contract account, there are 2 possible scenarios for clearing:
             sceanrio 1: In case the check was sent to customer , get the customer to make the payment. This incoming payment will clear the debit entry.
             Scenario 2: If the check was stopped in time , a credit posting of equivalent amount should be posted to bring account back in balance. For standard incoming payments we use doc type IC. In this case as this is credit entered to balance account (not truly an incoming payment) can the same doc type be used or a different doc type is recommended.
    I am not a FICA consultant & this might be a very basic question
    Thanks in advance for any recommendations.
    Satish

    Receivable adjustment works like this:
    Current situation:
    Customer                        Revenue                               Receivable
    100  |                                  | 100                                100|
    After receivable adjustment, it looks like this:
    Customer                        Revenue                               Receivable                  Bad Debt Expense
    100  |                                  | 100                                100|                                        |
                                                                                            100                        100
    Receivable adjustment does not adjust the customer balance/open items.  It only takes $ from the receivables and moves them to a separate g/l account.

  • Payment Wizard without payments (on account)

    Hello,
    maybe I misunderstood the payment wizard but if I add manually a payment (incoming/outgoing), why does it then appear in the recommendation report (as the payment is already DONE)?
    I don't want to transfer the payment on account back to my supplier/customer and he won't do it either...
    If on the BP master data the checkbox "Single Payment" is activated, the situation becomes even worse as I cannot combine incoming and outgoing payments on account with invoices anymore, which would at least give it a small sense...
    The SAP Support stated that this is intended as it is and I wonder why? In SBO 2005A payments on account were not listed in the recommendation report and my customer is understandably confused right now...
    So, if there is any possibility to get the behaviour from 2005A in 2007A, I'd like to know it
    Kind regards,
    Sebastian Kleiner

    Hi Sebastian,
    in 2007 the manually executed payment on account appears in the recommendation report as long as it is not reconciled. In case of an outgoing payment on account, the amount will be displayed negative in the report & may be included in the payment run to reduce the total payment amount by that sum. In essence, the application states in the recommendation report that there are outstanding invoices to be paid, but also unreconciled payments. It thus gives the user the opportunity to avoid overpayment.
    The functionality of 'Single Payment' defines that the Payment Wizard is to create a separate payment for each open invoice. As long as an invoice is not reconciled, it is open, regardless of whether there is a matching payment on account or not.
    Please consider using the internal reconciliation functionality to match payments on account with the appropriate invoice(s) or include the payment on account in the payment wizard run to adjust the payment. When using 'single payment', you need to use the internal reconciliation since then negative journals are not included in the payment run, you will find these transactions in the 'Non-included Transaction Report' at the recommendation stage of the payment wizard.
    All the best,
    Kerstin

  • Commission Query not picking up payment on Account linked later

    Hi Experts,
    I created a query for a Client who need to pay Sales Commission to Sales Employees. This report must show only the Invoices that was Paid.
    The Query works fine, exept that it will not pick up the following Payments: When they makie a Incoming Payment on Account and then later link it to an Invoice via the Internal Reconciliation screen.
    SELECT T0.[DocNum] AS 'Incoming Payment', T0.[DocDate] AS ' Incoming Payment Date', T0.[CardCode], T0.[CardName],  T3.[SlpName], T3.[Commission], T1.[DocNum] AS 'Invoice Number', T2.[OpenSum] AS 'Invoice Line Amounts', T2.[OpenSum] * T3.[Commission] / 100 AS 'Commission Amount'
    FROM ORCT T0  INNER JOIN OINV T1 ON T0.DocEntry = T1.ReceiptNum INNER JOIN INV1 T2 ON T1.DocEntry = T2.DocEntry INNER JOIN OSLP T3 ON T1.SlpCode = T3.SlpCode
    WHERE T0.[DocDate] >=[%0] AND  T0.[DocDate] <=[%1]
    How can I get these Invoices that was linked to a Payment to also show in this query?
    Thanks,
    Marli

    I know that this is an old post, but in case someone else wants to use this code I wanted to point out that this code assumes that only invoices are included in payments.  If other types such as deposits or credits are included in the payment, then you will get the wrong results.
    Need to change the link to OINV slightly to check the document type for Invoices
    JOIN
    OINV T1 ON T1.DocEntry = T4.DocEntry AND T4.InvType = 13 -- AR Invoice Hdr
    Then need to do this same for the other possible document types.

  • Rounding in Incoming Payment

    I have a bit of a problem I hope someone cna help me with
    in Administration > General Settings > Display I set both amounts and Prices to 5
    In Documents settings I set the rounding to be Currency not Document.
    In AP Invoice Entry,  I have the ability to round the total of an Invoice to whole cents (US Dollars)
    My problem comes with the AR Invoice.  First I can not round the total of an Invoice,  and when I try to apply a payment,  the payment leaves a fraction of a cent open on the invoice or puts the remainder on account.
    How do I get and AR invoice to round to whole cents or get the fraction of a cent applied to a rounding account in Incoming Payments?  I see a rounding field in Incoming payments but there is no way to put an amount in the field. In form settings for the Incoming payments,  I am not able to activate the field
    I appreciate any help in advance
    Thanks
    Dana

    Hi,
    You can check Note no. 662600 regarding the Calculation of the Rounding field in A/R and A/P documents on the Service Market Place.
    Also, in the Payments, the under/over payment option can be a solution for the part of the nominal amount left.
    Hope it helps.
    Regards,
    Jitin Chawla

  • T code for Total incoming payment

    Dear friends
    I want to know the the Tcodes / menupath for the following reports.
    1. The total incoming payment received from a particular e PAYER/Customer.
    2. The total outstanding payment of a particular payer/ customer.( goods have been despatched and invoice has been raised but payment has not been made.)
    Thanks & regards
    debasish

    Hi:
    for Incoming Payment
    Manually F-28 - Incoming Payments
    Automatic payment Program - F110
    For   outstanding payment of a particular payer/ customer
    Refer to T.code
    FBL5N - Display/Change Line Items
    Input customer account,Company code and select open items radio button.
    You will able to see all the oustanding recievables or open items from customer.
    Please let me know if you need more information.
    Assign points if useful.
    Regards
    Sridhar M

  • Payment on account - Accounts receivable

    Hello all!
    If I get a payment from a customer (incoming payment) with no invoice reference, how/where can I post that payment on the customer's account?
    For Vendor/Outgoing payments F-58 gives me a checkbox to mark the payment as a payment on account, but I just can't find the same for a Customer/incoming payment (there's nothing on F-28).
    Thanks for your help!
    Carlos

    Hi, Carlos!
    Is this payment due to be made? I mean, should customer have done this payment?
    If so, I would run it from FB01, as described above. If it was an incorrect payment, that you will have to reverse it to your customer, I would create a credit memo and clear it further.
    Please, give more details regarding your business scenario. Will be easier to help you.
    Also, if your account is managed by open item, try FB05. Transaction to be processed: Incoming Payment
    Regards,
    Thiago

  • Block Negative Payment on Account

    Hello
    I suggest there should be a block when a negative payment on account will be added. I have explain more 5 people at my company how to correctly receive payments using the incoming payment screen, and the 5 have made the following mistake at least once:
    A customer makes a partial payment, let's say the invoice amount is 1,000, but he pays 700. So the correct way to do it is, change the 1,000 number under the Total Payment column to 700, and then right click to add the payment means. Well, by coinciden the 5 people have at least once forgot to change the amount on the Total Payment and went directly to the payment means screen, causing a negative payment on account.
    Positive payment on accounts are good because some times we use them as a deposit from customers, but we have never had the need of a negative payment on account. Also, since a negative payment on account is created, the customer will now owe a Journal Entry transaction instead of an invoice, causing a big problem when we send them statements.
    So, if there are some companies that do need the ability to make negative payment on accounts (I do not know which situation is it, but it might happen for certain companies), it will be great to have the option to enable and disable a BLOCK for NEGATIVE PAYMENT ON ACCOUNT

    Actually, SAP does show a message each time a payment on account will be created, but warnings are good for me, but not for the common people. I believe softwares should also help avoiding human errors. A Block will be much better
    For example, our company loves the block of adding a sales order without a delivery date, because it pressures sales people to add a delivery date. But we also try to enforce sales people to use the shipping type drop down list, and more than 50% of the times they forget. So adding this optional blocking features will help build a software that every level can use.

  • Direct payer 'Incoming payment method E'

    Dear Friends,
    1) What is Direct payer..?
    2)In transaction FD03, for a  Customer under company code tab, payment transactions
    what does 'Incoming payment method E' mean..?.       
    Can you kindly explain me ..? Thanks in advance.

    Hi Kim,
    By default in the IS-U print form, the payment method is derived from the print doc header as you stated but in your case this is blank even though you are successfully debiting the customer's account because the payment method is configured on the CA.  I have seen this before too and I believe it has to do with some config in the way that you are running your pre-authorized bank debit.  This is probably not a problem and you likely do not need to change config or worry about the payment method showing in the print doc header.
    The quicker fix might be to adjust the code in the print form to look at field EZAWE on the contract account to determine if/when to display the appropriate payment method message.  for example:
    CASE wa_doc_header-pymet. "REMOVE AND EVALUATE BELOW INSTEAD
      case wa_cont_acct-ezawe.
        when '1'. gv_pymet_message = text-p01.                  "1st
        when '2'. gv_pymet_message = text-p02.                  "10th
        when '3'. gv_pymet_message = text-p03.                  "15th
        when '4'. gv_pymet_message = text-p04.                  "25th
        when 'D'. gv_pymet_message = text-p00.
        when 'E'. gv_pymet_message = text-p00.
        when 'P'. gv_pymet_message = text-p00.
      endcase.
    I hope this is of some help.
    Regards,
    geoff

Maybe you are looking for

  • How to update correctly a UDT at FORM_DATA_ADD

    Hi, When adding an item marketing document, my add-on has to update a UDT with all the lines in the document. I have placed the update of this UDT in the BeforeAction == false and ActionSuccess is true on et_FORM_ADD_DATE. But what if an error messag

  • Openbox Print Screen keybind Won't work

    In .config/openbox/rc.xml i've got: <!-- Screenshot --> <keybind key="Print"> <action name="Execute"> <command>scrot -q 100 -e 'mv $f ~/Screenshots/'</command> </action> </keybind> Nothing happens when i press the Print Screen key.I checked with Xev

  • Out of memory Exception in webcenter sites

    Hi experts, I installed webcenter sites 11gR1 on weblogic with Jrocket. In development system ,if no.of users accessing at a time its getting down. Could some one help me to resolve this issue. For Ref. in sites.log i found [2013-03-21 15:20:33,777]

  • ADF components not Rendering on ie9 Browser

    This is a strange behavior , ADF components like ( table , DVT graph ) are not rendering on the ie9 browser ( keep fetching ...) . However , works fine with ie8,Google chrome, firefox . Believe some setting is required in my client brower ie9. Any id

  • CS4 using a Mac and want to play video using windows media player

    Hi I am having issues with file types to play video back using Windows media player. I am producing video using Premiere CS4 on a Mac and I need to know what format to use to have the files play in windows media player as .mp4 is not compatable with