Issue in Adding  Incoming Payment

Hi,
when i am trying to raise the incoming payment i get the error -
>"Invoice is already closed or blocked"
plz Reply

Hi,
Please close your first thread. In order to get others' reply, you have to reply back when you got response.
Thanks,
Gordon

Similar Messages

  • Error -2028 : No matching Record found while adding Incoming payment

    Hi all,
             I was trying  to add an Incoming Payment using DI API, checked both DocEntry and ChequeSum property..and all other properties and seems set as well, it would be better if you can give any solution.Thank you
    Regards
    Sijimon Sidharthan
    oPay.CardCode = oInvoice.CardCode;
                                       string sCardName=oInvoice.CardName;
                                  oPay.CardName = oInvoice.CardName;
                                  oPay.JournalRemarks = "820 Import Test" +  oInvoice.CardCode;
                                  oPay.ApplyVAT = SAPbobsCOM.BoYesNoEnum.tYES;
                                  oPay.CashSum = 189.77;
                                       int conP=oInvoice.ContactPersonCode;
                                  oPay.ContactPersonCode = oInvoice.ContactPersonCode;
                                       string cur =oInvoice.DocCurrency;
                                  oPay.DocCurrency = oInvoice.DocCurrency;
                                  oPay.DocDate = now;
                                  oPay.TaxDate = now;
                                  oPay.DocRate = 0;
                                  oPay.LocalCurrency = SAPbobsCOM.BoYesNoEnum.tYES;
                                  oPay.DocType = SAPbobsCOM.BoRcptTypes.rCustomer;//rAccount;
                                  oPay.HandWritten = SAPbobsCOM.BoYesNoEnum.tNO;
                                  oPay.Remarks = "remarks";
                                  oPay.Reference1 =iBaseRef.ToString();//"R";
    //                              oPay.TransferAccount = "10100";//OTRC doesn't contain any code
    //                              oPay.TransferDate = now;
    //                              oPay.TransferSum = 0;
                                  #region Invoice
                                  oPay.Invoices.AppliedFC = 0;
                                  oPay.Invoices.DocEntry = iBaseRef;//baseEntry;
                                       int ln=oPay.Invoices.LineNum ;
                                  oPay.Invoices.DocLine = 0;
                                  oPay.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_Invoice;
                                  //oPay.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_ChequesForPayment;
                                  oPay.Invoices.SumApplied = 189.77;//amount;
                                  oPay.Invoices.Add();
                                  #endregion Invoice
                                  #region Cheque
                                  oPay.Checks.BankCode ="026008866"; //"026002794";//"Leumi";
                                  oPay.Checks.CheckAccount="10200-00";//"10203";//-00";//"1HD";10203-00
                                  oPay.Checks.DueDate=Convert.ToDateTime("04/03/2007");
                                  oPay.Checks.CheckSum =189.77;
                                  oPay.Checks.CheckNumber = 12345678;
                                  oPay.Checks.Add();
                                  #endregion Cheque
    int ret=oPay.Add();
                                  if(ret!=0)
                                       int lErrCode; string sErrCode;
                                       oCompany.GetLastError(out lErrCode, out sErrCode);
                                       MessageBox.Show(ret.ToString ()+ sErrCode);

    Hi Lan,
              I tried to add IncomingPayment with another Database works fine with all these properties..think some extra settings may be there in the database now I'm working , do you have any idea regarding to solve this issue ..Thank you
    Regards
    Sijimon Sidharthan

  • Issue with customer Incoming Payment

    Hi Gurus,
    I need your help related to an issue with Incoming customer payment. This is the first time I am doing this Incoming payment set-up. I have odne the payment program set-up for outgoing payments. I need to configure the automatic payment program for incoming payments. After the payment run is successfully executed, we need to create and send Idoc's to the bank. This process of payment run and Idoc creation is being used successfully for outgoing payments.
    From configuration side, I have created a new payment method and have set it up for incoming payments. I have selected ACH as format and PPD as format supplement. I did the bank set-up and have assigned a partner profile to it. I have assigned a reference key 17 in the SPRO-> Print->Payment media.
    The issue is that when I run the payment run for customer open item, the payment run is successful and the item gets cleared but no Idoc's are being generated. I have entered my House bank and account number in the variant as well. I am getting the following error:
    Step 001 started (program SAPFPAYM_SCHEDULE, variant &0000000000869
    No variants found for format ACH
    No Payment Media Created in Format 100
    I would really be thankful if you can help me in resolving this issue. I am not sure which step I am missing.
    Thanks,
    Best Regards,
    Shalu

    Hi Lakshmipathi,
    Yes the Document split has been activated. This issue is the specific one. We have different C&F location. Sales happens accross India. Hence we have created the Business area concept for each location to get the location wise balance sheet. I have also activated the zero balancing for Profit center and also Business area so that i can derive the Location wise Balance sheet.
    Now the sales invoice has been processed from C&F Location. Customer deposit the Cheque directly to the Head office Bank and not at the C&F Location bank. I don't want to clear the existing open item because 50% of the cheque gets bounced. So i am booking the incoming payment without clearing the open item.
    While processing the incoming payment user is entering the C&F location business area in the customer line item (Credit line item) and Head office business area for the Bank line item as the bank is at the Head office so that we can arrive the Balance sheet.
    Now system is not deriving the profit center for the customer line item even though the business area wise zero balance has been activated. Recon account field status group has market as optional for profit center but in F-28 i am not able to get the profit center field (Because it is balance sheet item).
    The Document type already been configure for Document split and the Recon account also categorised as Customer inthe doc splitting. I don't have any problem with document split other than this issue.
    For this issue anything can be done in the document split??
    Regards,
    Devendran

  • Issuing receipt  for Incoming payment

    There is need to issue a receipt for the incoming payment recieved,is there any transaction in Gl where we can issue a receipt for incoming payment.

    Hello Kumar,
    Unfortunately, it is not possible to create a UDF in any wizard.
    Kind Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • Issue while doing Incoming Payment & Foreign Currency Revaluation

    Hi,
    When i am doing Customer Incoming Payment, we are getting one more line item Foreign Currency Revaluation with Zero amount.
    Bank A/c - Debit
    Customer A/c - Credit
    Foreign Currency Revaluaiton A/c - Credit
    Why Foreign Currency Revaluation Accounting is coming into the Picture? How can i remove this from settings? Please advise me..
    Thanks
    KC

    Hi,
    Check Table T030H, whether for the customer reconciliation account the entry is maintained there.
    Secondly, you are getting this entry because, the customer line item that you are clearing is in a currency different from your local currency.
    Regards,
    SAPFICO

  • Error adding Incoming Payments

    hello all
    I have a third party application, and I need to migrate incoming payments generated by that application. I read the headlines fit to be migrated to and through a loop trying to insert as many as required.
    A payment can pay multiple invoices to a client. And this payment can be made partly in cash, another in check and another in credit card.
    I had several error codes, but I will go for parts, first I get an error code (-10) and says it is an invalid document number in RCT2.DocEntry, reviewing SAP B1, if exist the invoice.
    For i = 0 To dvMigrar.Count - 1
       Console.WriteLine(CType(dvMigrar(i)("Ingreso_Caja"), String) + " " + dvMigrar(i)("Recibo_de_Caja"))
       vPay.Series = oSeries.Series
       vPay.ApplyVAT = BoYesNoEnum.tNO
       vPay.CardCode = Trim(dvMigrar(i)("Cliente_No"))
       vPay.CashSum = 0
       vPay.DocCurrency = "USD"
       vPay.DocDate = dvMigrar(i)("Fecha")
       vPay.DocRate = 0
       vPay.DocTypte = 0
       vPay.HandWritten = 0
       vPay.JournalRemarks = "Ingreso desde POS - " & CStr(dvMigrar(i)("Recibo_de_Caja"))
       vPay.LocalCurrency = BoYesNoEnum.tYES
       vPay.TaxDate = Now
       'Migración de Detalle Facturas Pagadas
       SlctCmd = "SELECT * FROM DOC_ABONAR_POS WHERE Ingreso_Caja = " & dvMigrar(i)("Ingreso_Caja")
       Dim SqlAdapter2 As OleDbDataAdapter = New OleDbDataAdapter(SlctCmd, MyConnSQL)
       dsMigrar2 = New System.Data.DataSet
       SqlAdapter2.Fill(dsMigrar2)
       Dim dvMigrar2 As DataView = New DataView(dsMigrar2.Tables(0))
       For j = 0 To dvMigrar2.Count - 1
          vPay.Invoices.Add()
          vPay.Invoices.DocEntry = dvMigrar2(j)("DocEntry")
          vPay.Invoices.InstallmentId = dvMigrar2(j)("No")
          vPay.Invoices.DocLine = j
          vPay.Invoices.InvoiceType = BoRcptInvTypes.it_Invoice
          vPay.Invoices.SumApplied = dvMigrar2(j)("Valor")
          vPay.Invoices.InvoiceType = BoRcptInvTypes.it_Invoice
       Next
       If (vPay.Add() <> 0) Then
          Console.WriteLine("No se pudo generar Pago")
          'Check Error
          Call vCompany.GetLastError(nErr, errMsg)
          If (0 <> nErr) Then
             Console.WriteLine("Error encontrado:" + Str(nErr) + "," + errMsg)
          End If
       End If
    Next
    I'm trying to pay several invoices at the same incoming payment
    Thanks in advance
    Edited by: Oscar Alberto Cornejo on Nov 14, 2011 11:20 AM

    hi trying for this sample code.
    Its working for me
         Dim blnNEWFirstRecord As Boolean = True                    
        For z As Integer = 0 To oSPRecSet.RecordCount - 1
                                oSalesPayments.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_Invoice
                                oSalesPayments.Invoices.DocEntry = oSPRecSet.Fields.Item("DocEntry").Value
                                oSalesPayments.Invoices.SumApplied = oSPRecSet.Fields.Item("OpenAmount").Value
                                If Not blnNEWFirstRecord = True Then
                                    oSalesPayments.Invoices.Add()
                                End If
                                blnNEWFirstRecord = False
                                oSPRecSet.MoveNext()
                            Next
    oPaymentError = oSalesPayments.Add()

  • 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

  • Incoming payment linked to 2 projects

    Dear All,
    I have an issue with the incoming payment. For example the client is a project based industry. Now for customer A there at Project-1, Project-3, Project-6. Diffrent AR invoice is been raised to the customer and now the customer pays a cheque having full amount of Project-1 and Full amount of Project-3. While doing the incoming payment how do I select two rows with diffrent Project number so that when the journal is passed by SAP for incoming payment, the project gets reflected in the Journal automatically for both the projects.
    Please help and guide. Using SAP 2005B.
    regards,
    Kamlesh

    Dear Sridharan,
    Its the simple basic way which you are telling but what if the customer pays a single cheque for say 4-5 projects, so do the user has to entry 5 times incoming payment which would make a tedious task. And each and everytime select the project.
    Any alternative way by which this can be handled prject wise payment ( combining 1 reciept with diffrent allocation to projects )
    Regards,
    Kamlesh

  • Validation for Customer Incoming Payment

    Dear All,
    We are facing one issue regarding customer incoming payment. When user is making income payment via f-28, he enters the credit control area and GL Account according to division.
    Problem is, though customer master in Sales Area is not maintained, system allows to post the incoming document. Due to it, customer credit limit does not get updated and we have to update it manually every time by resetting the customer master.
    Do anyone have any validation for that in F-28?
    Regards,
    Jigar

    Hi,
    Look in to the given link for Create Validations.
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/5b/d231e143c611d182b30000e829fbfe/frameset.htm
    Regards,
    Sridhar Sha

  • Vendors in Incoming payments

    Dear All,
    Business scenario:
    We have 6 branches .And branch users will enter the incoming payments received from their location customers.But the issue is in incoming payments they shouldn't be able to choose the vendor / they shouldn't be able to view the invoices due to vendors / they shouldn't be able to view the amounts of each invoice.
    How we can made it possible in B1 ???
    Regards,
    Suresh kannan

    Hi,
    I agree with suda that you cannot prevent anybodey to click vendor button unless you create new menu for payment process using sdk.
    Btw Suda, in some region (local settings) if we select vendor button in incoming payment the invoices will be display.  So, in what version (local settings) that if we click vendor in incoming payment menu the invoice will not be shown?
    Regards

  • Incoming Payment Error(-2028) Data source - No data found, pls help me

    Dear friend,
    Im struggle in Adding Incomming Payment, I got -2028 Error msg,
    DATA SOURCE – NO DATA FOUND pls help me to solve
    Its My code
    Public Sub incopay(ByVal oform As SAPbouiCOM.Form)
            Dim incom As SAPbobsCOM.Payments
            Dim value As Integer
            Dim strerror As String
            Try
                Dim rset As SAPbobsCOM.Recordset
                oitem = oform.Items.Item("om")
                oedit = oitem.Specific
                vfd1 = oedit.String
                incom = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments)
                incom.AccountPayments.AccountCode = acc
                incom.AccountPayments.AccountName = accn
                incom.AccountPayments.Decription = "deposit"
                incom.AccountPayments.SumPaid = vfd1
                'incom.CardCode = "C1"
                'incom.CardName = "Shama Broadcast Contents & Services (P) Ltd."
                incom.DocDate = Now
                incom.DueDate = Now
                incom.TaxDate = Now
                incom.DocCurrency = "INR"
                incom.Reference2 = 2
                incom.JournalRemarks = "Incoming Payments - 161020"
                'incom.AccountPayments.Add()
                'value = incom.Add
                incom.CheckAccount = "102020"
                incom.Checks.DueDate = Now
                incom.Checks.CountryCode = "IN"
                incom.Checks.BankCode = "HDFC"
                incom.Checks.Trnsfrable = SAPbobsCOM.BoYesNoEnum.tNO
                incom.Checks.CheckSum = 100
                incom.Checks.Add()
                incom.AccountPayments.Add()
                value = incom.Add
            Catch ex As Exception
                oapp.MessageBox(ex.Message)
            End Try
            ''incom.AccountPayments.Add()
            ''value = incom.Add()
            If value <> 0 Then
                ocompany.GetLastError(value, strerror)
                MsgBox(value & "   " & strerror)
            End If
        End Sub
    Regards,
    Hempradeep.S

    Hi Hempradeep,
    I haven't tried executing your code, but suggest that you try and solve it with elimination. This means you make your code shorter and shorter until it posts.
    So firstly take out the account payment and the check payments and just do a cash payment and see if it posts. If it posts then you gradually add the code you hade previously until it gives you that error again.
    That error you got can be because of many reasons. It could be that the cardcode, gl account, currency, etc, etc, etc does not exist. It could be because of any data you specify from another table does not exist or does not relate to this object. Like when you're posting to a customer and you actually specify a supplier (just an example and not your problem).
    Start with a very basic incoming payment and work your way up to the code you've got there now.
    Good luck,
    Adele

  • Clearing issue Incoming payment due to Cash discount ( customers)

    Hello,
    During processing automatic incoming payments the system don't clear the customer open item in case the customer has taken a cash discount.
    The clearing should be done automatically in the posting area 2 but now the the user needs to do manual interventions in the FEBAN in order to clear the customer
    We checked the payment terms and verified the discount taken by the customer and they are ok
    After investigation we guess that the original SD invoice don't send the Discount amount and Discount base amount to FI, because  we saw that those fields are empty in the FI document (RV),
    Also in Billing the Cash discount base field in empty...
    When i tried to create a manual customer invoice those fields are well filled in and the system clears the customer open item perfectly !
    Any one an idea how to fix it ?

    Hello,
    Thanks for your feedback but the issue is not solved.
    Is there difference in clearing behaviour in case the open item posting is orginated from  a SD invoice ( Billing) because as stated before, when I make a FI sales invoice (FB60) the system perfectly accepts the cash discount and post and clears in postingarea 2
    Also when I consult the open item position (FBL5N) the cash discount amount field is empty which is not the case when I post an FB60 invoice
    Summarized
    We are usiing the automatic bank statement program ( FEBC), during posting the system post perfectly posting area 1 (FEBP) but fails the post postingarea 2 ( the system makes a payment advice) the message the system generates ' Difference to large for clearing F5263'
    Many thanks for help

  • Issue in Incoming payments

    Hi
    We have an issue in incoming payments for Customers. In our legacy, the incoming cheques are collected and entered in legacy with details of customers, bank details of instrument, amount, date of instrument. No accounting entry is generated at this stage. Then a second person, verifies the details with physical instruments and  just selects the bank. The system passes the accounting entry and prepares the bank deposit reciept.
    We suggested using F-28 for booking customer incoming payments. But the client is insisint on the process to be mapped in the same way as Legacy
    Regards
    Sanil Bhandari

    Hi
    We have shown the F110 process also to the customer. The issues are
    1. The Cheques are receieved at the Customer's location and then are sent to respective banks. The bank cannot provide a DME format
    2. The process and the screen has to be exactly as per the legacy
    Regards
    Sanil

  • INCOMING PAYMENT  ISSUE

    I need to post Incoming Payment for a customer via SDK.
    This case I have to select all transaction like ( AR INVOICE , ADVANCE AMOUNT IN INCOMING PAYMENT, CREDIT JE ,DEBIT JE ,OUTGOING PAYMENT,A/R DOWN PAYMENT , A/R CREDIT MEMO )
    ERROR CODE is: BASE DOCUMENT ENTRY AND TARGET DOCUMENT ENTRY DOES NOT MATCH
    i need some explainable about doc-line concept , where and in which case  we have to give docline property
    Thanks in Advance

    Dear Jaykumar / Tausif,
    In AR customer ref no. set one FMS like  (Copy sequence in Customer Ref no.) and fetch your Sequence number in your customer ref no.
    its sole your incoming payment issue problem and agging reports also.
    Try its manually first and let me know.
    Regards
    Mangesh Pagdhare
    Edited by: MANGESH  PAGDHARE on Aug 4, 2011 7:22 AM

  • Customer Incoming Payment Issue

    Dear Friends,
    I have recived Customer Incoming Payment for more than 4000 line items.
    Please let me know how to post and cleared this open items in one shot.
    I tried to post in F-28 but it will take lot of time to select thousands open items.
    Kindly let me know is there any other method to hangle this kind of issue..
    Thanks,
    JD

    Hi Javed,
    Run T.code f-28 and when you select the customer code in open item selection then choose select all and then documents which you do not want to clear, deselect them.
    It will take less time.
    Regards,
    Ankur

Maybe you are looking for

  • Error with the email Notification XPD Targeted Ideations

    Hi Team,     We are working with xPD in Portal 7.0 SP 16, we have configured portal with xpd correctly, first in Development Environment and it work fine, the problem is when we did the same configuration in QA Environment, because we are having prob

  • How to autoextend tablespace in Oracle 9i

    Dear All, I have currenctly a tablespace ABC. Database is failing to writing. I want to alter tablespace ABC and want to make its AUTOEXTEND ON. Could any body please suggest the SQL Query how to do this. Regards,

  • Can operations continue to run when logged in as another user?

    I've logged in as myself and I have set an operation to run, its going to run for a while and I would like the ability of my wife to log in. When you do this the operation pauses while logged in as her. Can it continue to run at the same time?

  • Re: dualphone 4088 keeps saying network connection...

    OMG, I can't believe Chat and Vision - I have this problem on a unit received today - Worked for like 20 minutes then looses it's IP Address and will only work as a land line. So I phone them, get someone who know a bunch of english words, but unfort

  • Intercompany Sales settings

    Hi, Can anyone please tell me in brief the necessary and mandatory settings required in case of Intercompany Sales Scenario? I checked few threads but couldn't get a satisfactory answer.