Goods return - No Matching Record Found

Hi,
i made Goods return through DI for my add-on.. its worked fine sofar.. i made lot of GRN(goods return) sofar.
but suddenly its saying error No Matching Record Found(-2028)...
Any Suggestions?
Regards,
Ganesh K
Anyone post sample coding for Goods returs using DI..
Edited by: Ganesh Karunakaran on Nov 17, 2008 8:16 PM
Edited by: Rui Pereira on Dec 23, 2008 3:39 PM

I don't have a specific answer to the goods return object but usually when I get the message about no matching records found, it is referring to a foreign key field that doesn't exist in a master table.  Perhaps a bad item number or some other value that you are trying to put into a field that gets edited against another B1 master table somwhere.

Similar Messages

  • Linked btn for AR invoice returnes "no matching record found AR inv. OINV"

    hi all,
    linked button (see the code bellow)  upon click returns "no matching record found AR invoice OINV" error message. If I cut & paste the number into AR Invoice FORM, invoice 'opens'  without any problems.
    Please help
    oUserDataSource= oForm.DataSources.UserDataSources.Add("DocNum",SAPbouiCOM.BoDataType.dt_SHORT_TEXT,100);
    oColumn = oColumns.Item("DocNum");
    oColumn.DataBind.SetBound(true,"","DocNum");
    oLink=(LinkedButton)oColumn.ExtendedObject;
    oLink.LinkedObject=SAPbouiCOM.BoLinkedObject.lf_Invoice;

    Hi Oleksiy,
    If I'm not mistaken, linking of documents works on the DocEntry rather than the DocNum. Just try it in your code so we can see if it works.
    oUserDataSource= oForm.DataSources.UserDataSources.Add("DocEntry",SAPbouiCOM.BoDataType.dt_SHORT_TEXT,100);
    oColumn = oColumns.Item("DocEntry");
    oColumn.DataBind.SetBound(true,"","DocEntry");
    oLink=(LinkedButton)oColumn.ExtendedObject;
    oLink.LinkedObject=SAPbouiCOM.BoLinkedObject.lf_Invoice;
    DocEntry is the primary key and not DocNum. I know this isn't ideal, but I don't know if it is possible otherwise. If you have (for example) a choose from list on the same field, you should change the CFL to return the DocEntry rather than the DocNum.
    Hope it helps,
    Adele

  • Creating a Good Receipt PO via DI API No matching records found (ODBC -2028)

    Hi,
    I trying to create a Good Receipt PO via DI API.  It is working when the user I used to log in to SAP via the DI API is a Professional User but when I changed it to a Limited Logistics User, I'm receiving the No matching records found (ODBC -2028). I have already added the SDK Tools license to that user but still I'm receiving that error.
    So is it that the DI API will only work with a Professional User license or I can still use a Limited Logistics User?

    HI J S L,
    I get same error when I use different user that I just now add the SDK Tools without restarting the database server.  But previous user that I added SDK Tools before restart, no error.
    Today
    User 1 - add SDK Tools, no restart, error
    Last Wednesday
    User 2 - add SDK Tools, no restart, error
    Today - database server restarted this morning
    User 2 - no more error
    Both User 1 and 2 are Limited Logistics User.
    Best regards,
    Dennis

  • No matching records found Goods receipt PO (OPDN) (ODBC-2028) [Message 131-

    Hello,
    We are having a problem viewing one of our goods receipt. When going into a PO weu can see that there is a target document, but when we click on it the following message pops up u2013 u2018No matching records found Goods receipt PO (OPDN) (ODBC-2028) [Message 131-183]u2019. You cannot view the goods receipt by going through the purchasing module either. You can however see it when you go into the item and then right click and choose u2018stock posting listu2019. It then shows the goods received from GRPMS at the bottom under the GR no
    We now have the invoice and need to enter it onto SAP but because you cannot view the GRN it wonu2019t allow me to copy from the GRN.
    Could some offer assistance.
    Regards,
    Juan

    Dear Juan82,
    From what you say it looks like it is an issue that should be reported by message in order to be fixed.
    Please, log a message on the portal with your S number.
    When you write the description of the issue please attach screenshots that can help us to understand the issue.
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • No matching record found G/L Account (OACT) A/P Credit Memo

    Hello Experts,
                                   When i post A/P Credit Memo i get message as No matching record found G/L Account (OACT).
                                    Version SAP B1 8.8 PL11
    I tried following
       check  the rounding account In G\L determination.
       check  the offset account in G\L determination.
    everything is properly set.
    We did upgrade from 2007B to SAP B1 8.8
    Please Suggest
    Quick reply will be helpful

    Hello Gordon & Sachin,
                                                                                    I have even tried in test system , same error it gives,
                                                   I have check the Purchase return , Purchase credit and Expense Account , everything is
                                                   properly set.
                                                   When i do copy to from A/P Invoice , it is getting added                                                                               
    One more error it gives mewhen  i load or open   the from of Purchase A/p credit Memo, it
                                                  Gives error in red color as "Divide By zero error encountered (NFN1)
    Please Suggest

  • No matching Records Found (OACT) for G/L Accounts -2028

    Hi,
    While Adding APInvoice got copied from GRPO shows NoMatching Records Found (OACT) GLAccounts -2028 for a user for a particular document series. For the same user, for different docseries, APInvoice(Copy from GRPO) can able to add. Also, the same document showing error can be added by user having FullAuthorization.
    Also Direct APInvoice without copy from GRPO can be add.
    What might be the problem?
    Any suggestion is appreciated.
    Thanks in Advance,
    Parvatha Solai.N

    Hi,
    Please refer threads No matching Records Found (OACT) for G/L Accounts -2028
    Can't Copy from Good Receipt PO to AP Invoice
    Thanks & Regards,
    Nagarajan

  • Freight Setup, Stock = Yes. Error Message: No matching records found 'G/L A

    Dear Experts,
    I want to distribute the Freight Charge into Item Cost at Goods Receipt PO, so i setup the Freight under Administration > Setup > General > Freight
    Revenue Account and Expense Account are entered properly.
    Distribution Method = Row Total
    Drawing Method = Total
    Stock = Yes
    When i Add the Goods Receipt PO, error message prompt: No matching records found 'G/L Accounts' (OACT) (ODBC-2028).
    If i change Stock = No, then the Goods Receipt PO can be added successfully.
    I am using SAP 8.8 Patch 14. Can you please advise where did i configure wrongly?
    Thanks.
    Regards,
    Lay Chin

    Dear all,
    Found the answer accidentally, add the Freight Charge in AP Invoice instead of Goods Receipt PO. Then it works.
    Thanks.
    Regards,
    Lay Chin

  • No matching records found  'G/L Accounts' (OACT) (ODBC -2028)  [Message 131

    hello ,
    grpo created by  mistake n nw while closing grpo document.. and
    i am getting this error
    No matching records found  'G/L Accounts' (OACT) (ODBC -2028)  [Message 131-183]
    any suggestions
    Edited by: rudra.ykvr on Jun 1, 2011 3:27 PM

    Hi rudra.ykvr,
    you need to define the Goods Clearing account under Administration -> set up -> Financials -> GL account determination -> Stock.
    Please keep in mind that there will be no correction of the stock account if you simply close the GRPO.
    All the best,
    Kerstin

  • AR Credit Memo 'No matching records found 'Whse Journal'

    Good day!
    I encountered this error during adding of ar cm based on ar invoice. I tried looking for solutions here but to no avail.
    No matching records found 'Whse Journal' (OINM) (ODBC-2028)' Message 131-183
    Any thoughts?
    Thank you.
    Edited by: Denisse Calaquian on Mar 4, 2011 4:31 AM

    Hi Denissee
    This thread will resolve your issue - Can't Copy from Good Receipt PO to AP Invoice

  • Error Code: -2028 :[OACT] , 'No matching records found (ODBC -2028)'

    Hi,
    I am trying to add Outgoing payment based on an invoice through the DI API but I got an error"[OACT] , 'No matching records found (ODBC -2028)". I was just using the SAP Business One 2005 Demo data to set all the value. The C# code is below:
    public static void AddOutgoingPayment(SAPbobsCOM.Company company){
         SAPbobsCOM.Payments vPay = (SAPbobsCOM.Payments) company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oVendorPayments);
         vPay.CardCode = "V23000";
         vPay.CardName = "Anthony Smith";
         vPay.Address = "1901 Maynesboro Drive, Suite 200, Camden PA  19065, USA";
         vPay.JournalRemarks = "Outgoing - V23000";
         vPay.DocDate = DateTime.Today;
         vPay.DocType = SAPbobsCOM.BoRcptTypes.rSupplier;
         vPay.CashSum = 100000;
         vPay.DocCurrency = "USD";
         vPay.CheckAccount = "_SYS00000000002";
         vPay.DocObjectCode = SAPbobsCOM.BoPaymentsObjectType.bopot_OutgoingPayments;
         //Purchase Invoice
         vPay.Invoices.DocEntry = 21;
         vPay.Invoices.DocLine = 0;
         vPay.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_PurchaseInvoice;
         vPay.Invoices.SumApplied = 100000;
         //Check     
         vPay.Checks.AccounttNum = "100-3443-7867";
         vPay.Checks.BankCode = "BOA";
         vPay.Checks.Branch = "54";
         vPay.Checks.CheckNumber = 389;
         vPay.Checks.CheckSum = 100000;
         vPay.Checks.Details = "Check";
         vPay.Checks.DueDate = new DateTime(2006,3,1,0,0,0,0);
         int returnVal = vPay.Add();
         int errCode;
         string errMsg;
         if(returnVal != 0){
              company.GetLastError(out errCode, out errMsg);
              string msg = string.Format("Error Code: {0}; Error Message: ", errCode, errMsg);
              Console.WriteLine(msg);
              return;
              Console.WriteLine("Successfully Add outgoing payment!");
    I am confused why I get this error and would appreciate if anyone can help me out.
    Thank you in advance,
    Sunny

    Hi Sunny,
    The quickest way to resolve this may be to try and enter the transaction manually using the same data you are testing in code. It looks like there's incomplete company setup (my guess is GL account determination but it could be a number of things).
    If you can enter the transaction manually then you are not populating all required fields in code before attempting to add it.
    Hope this helps,
    Owen

  • No Matching records found

    Hi All
    When a user trying to select or choose little yellow arrow of the document to approve in the message/alert window why the system displays "No Matching records found "(WDD1) (ODBC-2028)"
    Other Info SAP B1 2007B Patch level 14.  All the approval templates are in active and Data ownership authorisations are enabled
    thanks
    SV Reddy

    Hi SV Reddy,
    SAP Note Number: 1128378 and 1261872 might a good reference to narrow down this problem.
    Thanks,
    Gordon

  • No matching records found 'Batchs and Serial Numbers' (OSRD) (ODBC-1028)

    Hi experts,
    These days In our 2007 system, we had a serial number maintain problem on 'Recipt from Production' transaction.
    When we open 'Serial Number Management' form, we can not update S/N by 'Complete' operation mode for some items. but it works for 'Update' operation mode.
    The system show 'No matching records found 'Batchs and Serial Numbers' (OSRD) (ODBC-1028)' in the status bar.
    How could I fix it ?
    thanks for your help.

    Hi Wilson,
    Do you manage the serial number transaction for respective item with "On Every Transaction" or "On Release Only" (in Item master data)? Because, when you manage those item with "On Every Transaction", you should already filled the serial number when you tried to receive those item whether by Goods Receipt PO or Receive from Production transaction.
    "Complete" operation in Serial Numbers Management only works for item which you manage by "On Release Only", it doesn't work for item which managed using "On Every Transaction". Hope I don't misunderstood your question.
    Best Regards,
    Hendry Wijaya

  • -2028 Error: No Matching Records Found

    Good Day
    Experts:
    I am using the oPurchaseOrder object to build a PurchaseOrder from an approved Material Requisition. I am getting an error: -2028 No Matching Records Found.  This error number is not in the list.  Does anyone have experience with what it means?
    Thanks,
    EJD

    Hey There
    Here is the code.  I thought I saw somewhere that there are requirements for what needs to be passed to the object.  However, I cannot recall where that is at...Forum, Notes here or in the Help files.  What again is required to be passed to the oPurchaseOrder object? I seem to think CardCode, Item and Date maybe. 
    Dim vPurchaseOrder As SAPbobsCOM.Documents
    vPurchaseOrder = g_B1Connection.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
    vPurchaseOrder.DocObjectCode = SAPbobsCOM.BoObjectTypes.oPurchaseOrders
    vPurchaseOrder.Lines.ItemCode = Item
    vPurchaseOrder.Lines.ItemDescription = Description
    vPurchaseOrder.Lines.Quantity = Qty
    vPurchaseOrder.Lines.Price = EaCost 
    vPurchaseOrder.Lines.WarehouseCode = "STOCK"                     
    vPurchaseOrder.Lines.ShipDate = ReqDate
    vPurchaseOrder.CardCode = Supplier
    vPurchaseOrder.SalesPersonCode = SalesPersonCode
    vPurchaseOrder.DocumentsOwner = OwnerCode
    retVal = vPurchaseOrder.Add
    Thanks,
    EJD

  • No matching records found (ODBC - 2028) in adding the Check

    Hi Experts,
    Im having a problem with the Manual Checks, if i insert the record to Manual Check i encounter error "No matching records found (ODBC - 2028)". Please help us identify the problem thanks.
                Dim _OUTGOING_PAYMENT As New OutgoingPaymentUnit()
                Dim oPayment As SAPbobsCOM.Payments = Nothing
                oPayment = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oVendorPayments)
                Dim oPayCheck As SAPbobsCOM.Payments_Checks = oPayment.Checks
                '1. DocDate
                oPayment.DocDate = _OUTGOING_PAYMENT.DocDate
                oPayment.DueDate = _OUTGOING_PAYMENT.DocDate
                oPayment.TaxDate = _OUTGOING_PAYMENT.DocDate
                '2. DocCurrency
                oPayment.DocCurrency = _OUTGOING_PAYMENT.DocCurrency
                '3. Bank Account
                If (_OUTGOING_PAYMENT.TransferType = "H") Then
                    'I inserted the code here to set the manual check
                    oPayCheck.CheckAccount = _OUTGOING_PAYMENT.BankAccount
                    oPayCheck.ManualCheck = SAPbobsCOM.BoYesNoEnum.tYES
                ElseIf (_OUTGOING_PAYMENT.TransferType = "C") Then
                    oPayment.CashAccount = _OUTGOING_PAYMENT.BankAccount
                ElseIf (_OUTGOING_PAYMENT.TransferType = "B") Or (_OUTGOING_PAYMENT.TransferType = "R") Then
                    oPayment.TransferAccount = _OUTGOING_PAYMENT.BankAccount
                End If
                '4. DocRate
                oPayment.DocRate = _OUTGOING_PAYMENT.DocRate
                '5. Name
                oPayment.CardCode = _OUTGOING_PAYMENT.CardCode
                '6. Balance
                '7. C + P Balance
                '8. Trans Type
                '9. Ref No
                If (_OUTGOING_PAYMENT.TransferType = "B") Then
                    oPayment.TransferReference = _OUTGOING_PAYMENT.RefNo.ToString()
                ElseIf (_OUTGOING_PAYMENT.TransferType = "H") Then
                    oPayCheck.CheckNumber = CInt(_OUTGOING_PAYMENT.RefNo)
                End If
                '10. Amount
                If _OUTGOING_PAYMENT.DocCurrency = "SGD" Then
                    If _OUTGOING_PAYMENT.TransferType = "C" Then
                        oPayment.CashSum = _OUTGOING_PAYMENT.Amount
                        'oPayment.CashSumSys = _OUTGOING_PAYMENT.Amount
                    ElseIf _OUTGOING_PAYMENT.TransferType = "H" Then
                        oPayment.Checks.CheckSum = _OUTGOING_PAYMENT.Amount
                    ElseIf _OUTGOING_PAYMENT.TransferType = "B" Then
                        oPayment.TransferSum = _OUTGOING_PAYMENT.Amount
                    ElseIf _OUTGOING_PAYMENT.TransferType = "R" Then
                        oPayment.CreditCards.CreditSum = _OUTGOING_PAYMENT.Amount
                    End If
                Else
                    If _OUTGOING_PAYMENT.TransferType = "C" Then
                        oPayment.CashSum = _OUTGOING_PAYMENT.Amount
                    ElseIf _OUTGOING_PAYMENT.TransferType = "H" Then
                        oPayment.Checks.CheckSum = _OUTGOING_PAYMENT.Amount
                    ElseIf _OUTGOING_PAYMENT.TransferType = "B" Then
                        oPayment.TransferSum = _OUTGOING_PAYMENT.Amount
                    ElseIf _OUTGOING_PAYMENT.TransferType = "R" Then
                        oPayment.CreditCards.CreditSum = _OUTGOING_PAYMENT.Amount
                    End If
                End If
                oPayment.JournalRemarks = _OUTGOING_PAYMENT.Description
                oPayment.Remarks = _OUTGOING_PAYMENT.Remarks
                iRetVal = oPayment.Add()
                Return iRetVal
    Your help is much appreciated. I am using SAP 8.8 PL15

    Bank Code, and Branch is required. Thanks

  • No Matching Records Found ''G/L Account''

    Dear All ,
    I am Posting A/P Invoice which is based on GRPO, but while adding document system is showing the following error
    No Matching records found ''G/L Accounts'' (OACT) (ODBC-2028) [Message 131-183].
    The G/L Account determination is Item Group wise and i have checked the Account determination in Item Group everything is fine and i would like to know the Possible reasons for this error.
    Regards,
    Kashi

    Hi,
    Kindly check the following settings :
    1. Check the G/L account setting of the item.
    If managed by Warehouse, then check warehouse -> Accounting tab.
    If item group, then check item group -> accounting tab.
    If item level, then check the item master data.
    Defined all acccounts for the warehouse/item group/item.
    2. Check administration -> setup -> financials -> G/L Account Determination -> General tab. Define the Rounding Account.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

Maybe you are looking for