Linked Button To SalesOrder, Error No Matching Record ODBC 2028

Hello,
I've added a LinkedButton to a Matrix Cell.
This is ok.
But the LinkedButton only works correct with the DocEntry
Number of SalesOrder ,not with desired DocumentNumber.
For Example, SalesOrder Document
DocEntry = 310
DocumentNumber = 400073
Entering 310 to matrix cell and clicking the
LinkedButton, the SalesOrder with DocumentNumber
400073 will be loaded.
Entering 400073 to matrix cell and clicking the
LinkedButton, error ODBC 2028 occurs.
Has someone an idea, how to link that
button properly to the DocumentNumber??
The source
'adding column
Set sbo_cOlumn = sbo_Matrix.Columns.Add
                    (UID:="1",Type:=it_LINKED_BUTTON)
'adding UserDataSource
oForm.DataSources.UserDataSources.Add UID:="1",
                      DataType:=dt_LONG_NUMBER
'bind column to UserDataSource
sbo_cOlumn.DataBind.SetBound
                  Bound:=True, TableName:="", Alias:="1"
' create linked Button
Set sbo_LinkedButton = sbo_cOlumn.ExtendedObject
sbo_LinkedButton.LinkedObject = lf_Order
Regards
Thomas

Hi,
I have the same problem with linking to Sales Order.
Sugesstion to use DocEntry instead of DocNum is correct only partially and it looks user-unfriendly even if you hide DocEntry value and have DocNum in the next column.
If you open "Inventory/Pick and Pack/Pick List" and select any pick, you can see a standard link to SO's DocNum, not to a DocEntry
Can please anybody explain how it is done?
Thank you
Natalya

Similar Messages

  • A/R Invoice Draft failed with error - "no matching records met ......."

    Hi Guys,
    For the past one week I have been struggling to import draft A/R invoices into SAP Business One 9.0 PL 07. The database to which i'm doing this import continually returns the error "no matching records met ........." during simulation and also import stage.
    Interestingly, I noticed that import picks draft invoices with only one row detail leaving out the ones with more than one row details. I desperately need a solution to this issue as my client is scheduled to go live coming Monday.
    A sample of the structure of the data is below for your review and advice:
    ODRF
    DocEntry
    DocNum
    DocType
    DocDate
    DocDueDate
    CardCode
    CardName
    DocCurrency
    DocObjectCode
    DocEntry
    DocNum
    DocType
    DocDate
    DocDueDate
    CardCode
    CardName
    DocCur
    ObjType
    1
    1
    dDocument_Items
    20140122
    20140122
    GH-XX-001
    Customer A
    GHS
    13
    2
    2
    dDocument_Items
    20140122
    20140122
    GH-XX-002
    Customer B
    GHS
    13
    3
    3
    dDocument_Items
    20140122
    20140122
    GH-XX-003
    Customer C
    GHS
    13
    DRF1:
    ParentKey
    LineNum
    ItemCode
    Quantity
    Price
    WarehouseCode
    VatGroup
    DocNum
    LineNum
    ItemCode
    Quantity
    Price
    WhsCode
    VatGroup
    1
    0
    AB-0003
    2
    34.7018
    01
    VP
    1
    1
    LC-0002
    1
    27.0245
    01
    VP
    1
    2
    TW-0002
    1
    26.8469
    01
    VP
    1
    3
    DG-0002
    5
    28.161
    01
    VP
    1
    4
    FLI-075
    25
    7.83
    01
    VP
    2
    0
    AB-0003
    27
    31.5478
    01
    VP
    2
    1
    DG-0002
    8
    25.6
    01
    VP
    2
    2
    TW-0002
    5
    23.9652
    01
    VP
    2
    3
    KW-0002
    8
    27.7913
    01
    VP
    2
    4
    LC-0002
    10
    24.1249
    01
    VP
    2
    5
    FLI-075
    35
    7.8261
    01
    VP
    2
    6
    FLI-075
    2
    7.8261
    01
    VP
    3
    0
    AB-0003
    6
    31.5478
    01
    VP
    3
    1
    DG-0002
    40
    25.6
    01
    VP
    3
    2
    LC-0002
    20
    24.1249
    01
    VP
    3
    3
    KW-0002
    15
    27.7913
    01
    VP
    3
    4
    FLI-075
    5
    7.83
    01
    VP
    Please advice on how i can work at transferring this data into SAP Business One. Thanks for your help in advance.
    Regards
    John

    Hi,
    You may check this SAP note for service type invoice. Follow instruction and apply for above conditions.
    1135341 - How to import service invoices for foreign customers
    Thanks & Regards,
    Nagarajan

  • Payment Wizard error: 'No matching records found  'Bank Codes' (ODSC) (ODBC -2028)'

    Hi Experts,
    I am running a Payment Wizard for a Bank Transfer for a certain vendor, however I get the error "No matching records found  'Bank Codes' (ODSC) (ODBC -2028)".
    I already checked my Bank settings and payment method settings but I still get the error.
    I checked SAP Note 1980507 but the scenario should be without bank details in the BP payment terms tab. But in my case, its defined yet I get the same error as reported.
    Any help would be appreciated.
    Thanks,
    Don

    Hi,
    Please check whether following setup done for payment wizard.
    725786
    - Definitions necessary for the payment wizard
    Thanks & Regards,
    Nagarajan

  • Error: No matching records found 'G/L Accounts' (OACT) ( ODBC-2028)'

    Hi all
    While adding outgoing excise invoice from Delivery the system gives the foll error:
    No matching records found 'G/L Accounts' (OACT) ( ODBC-2028)'
    Please note that
    1. I have already mapped cenvat accounts in outgoing/incoming in general tab of G/L account determination.
    2. I have two fiscal years 09-10 and 10-11. Both are unlock. Im working on 09-10 fiscal year and cenvat accounts are mapped for both fiscal years.
    3. For rounding i have also mapped rounding account.
    4. I am easily able to create incoming excise invoice.
    5. I am able to  add some of outgoing excise invoice but in the accounting tab there is no transaction.
    6. My excise tax codes are BED+VAT in which BED is of 0 rate and VAT is of 12.5% or 4% rate, the reason for taking BED as 0 is the comapany is trading and we have to pass excise to customer by taking item as batch.
    This is whole scenario.
    Plz solve my problem considering all these points. Waiting.
    Thanks
    Edited by: Malhotra Saurabh on May 11, 2010 7:13 AM

    I have managed item by groups and warehouse is excisable as i have done GRPO in that warehouse.
    I have already given cenvat accounts in Warehouse too.
    Edited by: Malhotra Saurabh on May 11, 2010 7:55 AM
    Edited by: Malhotra Saurabh on May 11, 2010 7:57 AM

  • Drag&Relate with error 'no matching records found'  when adding UDF columns

    in SBO 2007A I added a large amount of UDF fields to marketing documents title section. Then I tried Drag&Relate, as result i got only the error 'no matching record found ....'.
    I removed some of the UDF Fields and Drag&Relate works correct. It seems to be a length problem of the table row. But I have no information about such a restriction and the error message dont say anything about length problem.
    Does anybody know about this behavior and the maximum length of table rows, or is there any other solution to fix this problem?

    Hello,
    there are approximatly 170 fields and most of them are alphanumeric (internaly nvarchar(max)) - when i remove 2 fields it works.
    Best regards
    Klaus
    Edited by: Klaus Steinkellner on Jan 13, 2011 4:27 PM

  • Print sequence error - No matching records found

    Hi experts,
    We are facing an issue when choosing to print a sequence of two documents. These two documents can be printed individually without any error, but when we try to print the sequence, we are getting the error "No matching records found".
    This issue occurs in both SAP 9.0 (pl5) in Inventory Movement document and in SAP 8.82 (pl5) in all purchase and sales documents.
    Has anyone faced the same issue?
    Thank you in advance.
    Kind Regards,
    Vassilis Korolis

    Hi,
    It is an application error in 8.82 & 9.0 versions.
    Please check SAP note:
    1981583 - An error appears when you use Print Sequences for a Stock
    Transfer document.
    Thanks & Regards,
    Nagarajan

  • Incoming Payments Error No matching records found G/L Accounts.

    I have a client that uses foreign currency. It appears that when I enter an incoming payment with VEF currency get this error. This only happens to some customers.
    When I make a partial payment and Do Not change the Total Payment on the line I get the error
    No matching records found 'G/L Accounts' (OACT)
    For example I have an invoice for VEF1000.00. I do not change the Total Payment. I go to the Payment Means and enter a Bank Transfer for VEF600.00. When I try to add I get the error.
    However, if I first change the Total Payment amount to VEF600.00, and then enter the payment means Bank Transfer for VEF600.00 I can add the incoming payment without the error.
    Any suggestions

    Hi,
    Can you please confirm whether the issue is happening even after the Rounding Account is defined in the G\L Determination window under the Administration > Setup > Financials?
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Error: No matching record found 'G/L Account (OACT)(ODBC -2028)

    This is the error that I got while trying to update the Sales Order with my add-ons.
    All the required details were filled in the columns including the delivery date.
    PLEASE REPLY SOON.
    Thank You

    Hi Sudatta,
    It seems to be a error relating to Rounding Account as per the note I read.
    Check link <a href="https://service.sap.com/sap/support/notes/874131">https://service.sap.com/sap/support/notes/874131</a>
    In case you are not able to login to read the Note.
    Symptom
    When attempting to add a marketing document with rounding, the following error message appears: "No matching record found 'G/L Accounts' [ODBC 2028]"
    Other terms
    Rounding, G/L account, error message, marketing documents, matching record, account, missing, SAP Business One
    Reason and Prerequisites
    There is no rounding account defined.
    Solution
    Define a rounding account under:
    'Administration' > 'System Initialization' ->'G/L Account Determination' -> 'General' tab page under "RoundingAccount" field.
    Regards
    Suda

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

  • Error during matching record - Urgent

    Hi All:
    with below sample data
    ============================
    GKEY             EQ_NBR             PERFORMED            TSERV_ID
    =================================================================
    43593981     ECMU1715182     23-Jun-2008 2:04:56 PM     EXM
    43593983     ECMU1715182     23-Jun-2008 2:13:53 PM     YARD SHIFT
    43593984     ECMU1715182     23-Jun-2008 3:26:33 PM     YARD SHIFT
    43593985     FCIU8043523     23-Jun-2008 3:47:15 PM     YARD SHIFT
    43593987     FCIU8043523     23-Jun-2008 3:50:15 PM     EXM
    43593989     FCIU8043523     23-Jun-2008 3:52:26 PM     YARD SHIFT
    I want to display those records having YARD SHIFT after EXM
    If there are more than one YARD SHIFT records THEN the very first YARD SHIFT after EXM
    should be display where se.performed BETWEEN trunc(sysdate-120/1440,'mi')
                        AND trunc(sysdate,'mi')
    I wrote following query:
    select
    gkey, se.eq_nbr, se.performed, se.tserv_id
    from service_events se
    where se.performed BETWEEN trunc(sysdate-120/1440,'mi')
                        AND trunc(sysdate,'mi')
      and se.tserv_id in ('YARD SHIFT')
      and exists (select 1 from service_events se1
                      where se1.tserv_id in ('EXM')
                        and se1.equse_gkey = se.equse_gkey
                        and se.performed > se1.performed
      and se.eq_nbr = 'ECMU1715182'
    which display following result
    GKEY             EQ_NBR             PERFORMED            TSERV_ID
    =================================================================
    43593983     ECMU1715182     23-Jun-2008 2:13:53 PM     YARD SHIFT
    43593984     ECMU1715182     23-Jun-2008 3:26:33 PM     YARD SHIFT
    This is wrong, I need following record to be display
    43593983     ECMU1715182     23-Jun-2008 2:13:53 PM     YARD SHIFTNo record should be display if performed does not exist between trunc(sysdate-120/1440,'mi')
    AND trunc(sysdate,'mi')
    Thanks
    Hassan

    Boneist will be well aware that you have more than 5
    records. The "SELECT ... FROM DUAL UNION ...."
    'section' of her example is used to create a
    representative set of sample data with which she can
    work (i.e. the same as the sample data that you
    supplied). It is similar to creating a table
    and inserting rows, but it's quicker, easier, cleaner
    and cooler.Looks like I'll need to add a "-- start of test data setup" at the beginning to make it even clearer!
    P.S. One little thing, PLEASE try to avoud use of the
    word "urgent" in your posts, it is generally regarded
    as being a bit rude :) (you may have noticed
    Boneist's alteration of the title.
    CheersI was going for subtly sarcastic... did it work?! *{;-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • 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.

  • Error -2028 Update No matching records found (ODBC -2028)

    An apology for my English, I'm trying to update a field but I get this error:
    No matching records found (ODBC -2028)
    This is part of the code that I use to add new ones and works fine, when I change the oItems.Add (); by oItems.Update () does not work.
    public static void addItem(DataRow itemObject)
       oItems = (SAPbobsCOM.Items)(oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems));
       oItems.ItemCode = itemObject["ItemCode"].ToString();
       oItems.ItemName = itemObject["ItemName"].ToString();
       lRetCode = oItems.Add();
       if (lRetCode != 0)
          oCompany.GetLastError(out lErrCode, out sErrMsg);
    I get the data from MySql, and I tried putting the data manually from an existing record and does not work
    Any ideas why?

    Hi,
    Before you can call Update on an item you need to call the GetByKey method to retrieve the item you want to update:
    public static void updateItem(DataRow itemObject)
       oItems = (SAPbobsCOM.Items)(oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems));
       if(oItems.GetByKey(itemObject["ItemCode"].ToString())
            oItems.ItemName = itemObject["ItemName"].ToString();
            lRetCode = oItems.Update();
            if (lRetCode != 0)
                    oCompany.GetLastError(out lErrCode, out sErrMsg);
    Kind Regards,
    Owen

  • Link Button In Grid

    Hai To All,
                 Iam creating reports for my module. For that iam using grid to  display the fields. Now my issue is i want to place the link button(Orange arrow) for specific fields.
    For Example,
    For Supplier Code iam placing the following code so that i can able to get view the link button and if i click i can able to open the Business Partner.
    Grid.Columns.Item(0).Type = SAPbouiCOM.BoGridColumnType.gct_EditText
                                    Dim oCol As SAPbouiCOM.GridColumn
                                    oCol = Grid.Columns.Item(0)
                                    oCol.LinkedObjectType = 2
    Similar to that i want to create link button for my user defined screen that is my screen.I registered as UDO as "PI_UDO"
    Grid.Columns.Item(0).Type = SAPbouiCOM.BoGridColumnType.gct_EditText
                                    Dim oCol As SAPbouiCOM.GridColumn
                                    oCol = Grid.Columns.Item(0)
                                    oCol.LinkedObjectType = "PI_UDO"
    If i give "PI_UDO" as my linked object it is not accepting.No error display also....
    If i use none option for linked button,
    Grid.Columns.Item(0).Type = SAPbouiCOM.BoGridColumnType.gct_EditText
                                    Dim oCol As SAPbouiCOM.GridColumn
                                    oCol = Grid.Columns.Item(0)
                                    oCol.LinkedObjectType = -1
    I cant able to view the link button......
    Weather we can able to create link button for our screen???
    In Forum someone told that we can....But some told as cannot??
    What is the solution for this???
    Its an urgent requirement can anyone help me.......
    Regards,
    Anitha
    Edited by: ani nazir on Jul 30, 2008 11:06 AM

    Thanks Petr,
    If i use like that i can able to open the screen but there is an error
    "No Matching Records found in Business Partner"
    In Matrix Item Link press event i made bubbleevent=false
    Regards,
    Anitha

  • 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

  • No Matching records found (OACT) - A/P Credit Memo

    Hi Experts
    When i try to post an A/P Credit memo, SAP B1 gives an error No Matching records found (OACT). i checked all the account determination. could not find anything any suggestions to solve this problem.
    Thanks in advance
    Kanishka Wickrama

    Hi Kanishka,
    in addtion to the ususal accounts necessary for transactions involving stock you also need to define the Sales & Purchase credit accounts. Also, you might check whether there is a freight charge that needs to be credited or if a different tax code is used. Even if the tax rate is zero, the application will look for an account to be defined.
    There could be a multitude of other reasons which are documented in the EES : GL Account missing, which is available [here|https://psd.sap-ag.de/PEC/calendar/html/recording.php?hck=3163a8d6a4540ecf1794ece0245f291154d30e1080359d2e994ef79c1a469aa0cd808769d9c7ee30ca342c6803d2ebcec3eb71a928d6db187dfb1fc2cf640395].
    All the best,
    Kerstin

Maybe you are looking for

  • Itunes 6.0 - if download is on playlist, it won't burn - Please help

    Hi Everyone (and Toonz, perhaps we can continue where we left off in Dec) Basically my problem is that I can't burn any purchased tracks from Itunes. I can burn uploaded stuff from my own cd collection, but not if it has a purchased track on the play

  • IPhone 5c stopped turning on after IOS  8.1 update.

    2 days ago i decided to update my iPhone 5c to IOS 8.1. There was no noticeable issues with the update, but after attempting to use the phone, i did notice that the phone was not powering on. I've contacted apple support, and have done all the troubl

  • Having problems installing Photoshop CS3...

    Hello, I have been trying to install Photoshop CS3  on my new computer which has Windows 7 and everytime I install it and than click on the Icon to start the program and register it, it will paritially load (so just an outline of the window with Phot

  • WAD-Error configuration.

    Hi Gurus, I am presently working on WAD in my sandbox system. Problem: Our's WAD is not configure when i try to save a template I get following error. Portal unavailable or config problem. please contact system admin. Can any one give me hint how to

  • Source of the Australia's Address Dictionaries

    Which is the source for the Australia Address Cleanse month directory files? The Australia Post? Thanks.