-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
Similar Messages
-
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,
DonHi,
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 AMI 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 -
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 -
-2028 [nnm1], 'No matching records found (ODBC -2028)'
Hi All
When the AR invoice saving, I am getting the error -2028 [nnm1], 'No matching records found (ODBC -2028)'
could any one help me in this regards
AmalHi ian
Here is my source code. Could you help me what may be the wrong.
Dim i As Integer
Dim RetVal As Long
Dim ErrCode As Long
Dim ErrMsg As String = ""
Dim sItemCode As String
Dim dblQty As Double
Dim sItemName As String
Dim dblPrice As Double
Dim dblDis As Double
Dim sTax As String
Dim dblTotal As Double
Dim vInvoice As SAPbobsCOM.Documents
vInvoice = vCmp.GetBusinessObject(BoObjectTypes.oInvoices)
vInvoice.CardCode = txtCardCode.Text
vInvoice.CardName = lblCardName.Text
vInvoice.HandWritten = BoYesNoEnum.tNO
vInvoice.DocDate = lblDate.Text
vInvoice.DocTotal = Val(lblGrTotal.Text)
vInvoice.DocType = BoDocumentTypes.dDocument_Items
vInvoice.DocObjectCode = 13
Dim lSingleItem As ListViewItem
For i = 0 To ListView1.Items.Count - 1
sItemCode = ListView1.Items(i).Text
lSingleItem = ListView1.Items.Item(i)
sItemName = lSingleItem.SubItems.Item(1).Text
dblQty = Val(lSingleItem.SubItems.Item(2).Text)
dblPrice = Val(lSingleItem.SubItems.Item(3).Text)
dblDis = Val(lSingleItem.SubItems.Item(4).Text)
sTax = lSingleItem.SubItems.Item(5).Text
dblTotal = Val(lSingleItem.SubItems.Item(6).Text)
vInvoice.Lines.ItemCode = sItemCode
vInvoice.Lines.ItemDescription = sItemName
vInvoice.Lines.Quantity = dblQty
vInvoice.Lines.Price = dblPrice
vInvoice.Lines.Currency = "INR"
vInvoice.Lines.TaxCode = "VAT0"
vInvoice.Lines.PriceAfterVAT = dblPrice
if i>0 then vInvoice.Lines.Add()
Next i
RetVal = vInvoice.Add
'Check the result
If RetVal <> 0 Then
vCmp.GetLastError(ErrCode, ErrMsg)
MsgBox(ErrCode & " " & ErrMsg)
End If -
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 KorolisHi,
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 suggestionsHi,
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 -
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,
SunnyHi 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 -
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 YouHi 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 -
Posting from Deposit *No Matching record found (JDT1) (ODBC-2028)*
Hello Experts,
While posting the transactions from Deposit Module, system gives an error No Matching record found (JDT1) (ODBC-2028) .... ?
if I UNCHECK the option, Reconcile amounts after deposit, it posts the transactions but I do not know the impact it gives on Bank LEDGERS.
Thanks & Regards,Please check this thread:
Error when adding deposits
Thanks,
Gordon -
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 PMHi 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 -
"No matching record found 'G/L Account (OACT)(ODBC -2028)"
This error I am facing while adding Outgoing Excise Invoice based upon Delivery made.
We have already discussed this issue but none of the solution is working out in my case.
I have created Rounding A/C also in G/L Account Determination, but the problem remain as it is.
Kindly resolve the issue.
Khushwant
[email protected]hello Khushwant Singh Sansowa,
i just found this @ SAP Support.
*fist possible solution.*
Synchlog Error: 'No matching records found (ODBC -2028)'
Symptom
Synchlog Error Message:-2028:[OACT] , 'No matching records found (ODBC -2028)'
Other terms
Netpoint, SAP Business One, SAP Business One ecommerce, ecommerce, e-commerce, Net Point, Web tools, Business One ecommerce, Netpoint Synchmanager, Netpoint Website, Business One e-commerce, CRM Anywhere, Web tools server, WebCRM
Reason and Prerequisites
Program Error
Solution
May recieve the following message during a synchronization: -2028:[OACT] , 'No matching records found (ODBC -2028)' SBOOrder synchmodule, NetpointToSBO() synchmethod
To resolve this error, ensure that the items in the order have a GL account or warehouse code assigned to them within B1 Item Master Data - Inventory Data
2nd Possible Solution
"No matching record found 'G/L Accounts' [ODBC 2028]"
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.
3rd Possible solution.
Error 'G/L Accounts' '(ODBC 2028)' While Adding Market Docum
Symptom
While adding the marketing document into the system error message [OACT] 'No matching records found - 'G/L Accounts' '(ODBC 2028)' appears. When the user checks all definitions it looks like all accounts are defined.
Other terms
AP Invoice, Tax Account, Default Accounts, Chart of Account, User Defined, ODBC 2028, 7.6 SP0, SAP Business One, B1
Reason and Prerequisites
The User Defined Chart of Accounts is used.
Solution
When the user chooses User Defined Chart of Accounts under Administration -> System Initialization -> Company details -> Basis Initialization tab , the default accounts remain in the "G/L Account Determination", "Define Tax", "Define Warehouse" windows under Administration -> Definitions -> Financials and Administration -> Definitions -> Inventory. User has to check and define all accounts.
hope this will help u..
FIDEL -
Dear Expert,
When i am adding the Receipt from Production Document i am getting the below error:
No Matching Record found 'G/L Account' (OACT) (ODBC -2028) [Message 131-183] in Receipt from Production
Thanks & Regards,
Tushar Nathwani
Edited by: Tushar Nathwani on Nov 2, 2010 11:36 AMHi,
You may check this thread :
Re: Error: [No matching records found 'G/L Accounts' (OACT)...] @ AR Invoi
Thx,
JimM -
No matching records found 'Alerts Template' (OALT) (ODBC -2028) [Message
I have setup our approval templates. When I try to add a new purchase order, I am getting the following error: No matching records found 'Alerts Template' (OALT) (ODBC -2028) [Message 131-183].
Can you please let me know what is causing this error and what I should do to fix it.
Regards,
FredI think I am getting close to resolving this issue. When I compare the alerts management, I have found that all of the predefined alerts are missing. How do I get them back into the system?
Regards,
Fred.
Maybe you are looking for
-
Nvidia 8600M GT GPU issues - please explain
what is this exactly? well, whatever it is, someone told me this is why my MBP is in shop right now! screen went totally black lastnight with the computer running fine and normal. if this Nvidia thing is truly the problem and damaged, is this a big d
-
Can Host ID be changed on Solaris 10
Recently upgraded an Ultra 10 from Solaris 2.6 to Solaris 10. Problem: We use an application that is no longer supported by the manufacturer. The application ran on the Ultra when it had Solaris 2.6. It required a specific host ID because it was orig
-
When i turn my iPad on, it keeps showing me how to use it, some random pictures, how to use mail etc. Anyway how to disable this?
-
CProjects Phase not replicating in PS (PPM5.0 Accouting integration)
Hi, We are on PPM5.0. Coding masks in PS restric us to use the Project and Phase IDs (in cProjects) according to the PS naming convention. Having named the phase ID in accordance to the PS level 2 ID, when I "Flag for transfer", I get accounting erro
-
Really impossible to watch shows on websites?
Lots of websites (networks like cbs.com, hulu.com if not using Hulu Plus, etc.) allow you to watch full-content episodes of recent TV shows, streamed to the browser. I know the iPad doesn't do Flash, but I still feel like I must be missing something