• 64-bit MS Access with 32-bit Sage 50 US SDK

    Does anyone have experience interfacing with Sage 50 US with MS Access utilizing the Sage 32-bit SDK?
  • Sage Connectivity with external system

    Hi, I hope this email finds you well. My name is Rooma, and I am reaching out to inquire about the connectivity options available for integrating Sage 300 ,50 with a .NET application, specifically for passing financial data. We are currently developing…
  • PeachtreeException: "Can't start Btrieve Transaction."

    Sage 50US 2023 .NET SDK, calling PurchaseInvoice.Save() and received "Can't start Btrieve Transaction." Stack Trace: Sage.Peachtree.API.Exceptions.PeachtreeException: Can't start Btrieve Transaction. Sage.Peachtree.API.Entity.SaveInternal() Sage.Peachtree…
  • How can I get the sales filtered by KEY?

    I am using the SDK, but I can't find how to filter by KEY use ID and/or KEY and it tells me that it is not possible Dim m_salesList = oCompanyContext.Factories.SalesInvoiceFactory.List() oFilterFact = FilterExpression.Equal(FilterExpression.Property…
  • .NET 5, 6 Support

    Hello. Do we know when it might be possible to interface a .NET 5+ project with Sage 50? Any idea of ETA or direction would be greatly appreciated. It looks like .NET Framework 4.8 was release just over 3 years ago (April 2019). If you're reading this…
  • VendorReceiptFactory filtering

    I would like to filter the List with a customer ID. The VB code looks like this: Dim p As Sage.Peachtree.API.VendorReceiptList = Me.company.Factories.VendorReceiptFactory.List() Dim vendorFilter = PropertyFilterExpression.Equal(PropertyFilterExpression…
  • ETA on .NET 5+ Compatibility with Sage 50 SDK/API?

    Hello, I was wondering if there is a rough timeline for compatibility with .NET 5+ (formerly known as .NET Core) with the Sage 50 SDK/API? Apologies if I'm missed a similar question on the forums; I made a best-effort to check before asking. As far…
  • Sage.Peachtree.API v2021.1.1.176 - SalesInvoice.Save() Issue

    Has anyone seen/resolved the following error when trying to save a sales invoice using SalesInvoice.Save()? Error: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index It worked fine before we…
  • Integrating Objets100cLib (Sage dll) to third party c# application

    Hi , Greetings of the day !!! I need help integrating Objets100cLib (Sage dll) to third party c# application , can any one help with this ? i want to access data like suppliers/articles etc. Thanks in advance
  • RPC_E_SERVERFAULT

    Hi , I am getting RPC_E_SERVERFAULT error while I am trying to exporting the data using COM API C# code. I am able to login into Sage using APIs,I can delete the transaction but the Specifically I can not do the export and getting this error. …
  • Company identifier always NULL?

    Hello, My company updated to Sage 50 2020. Since then a program, we wrote, that was working before (Sage 50 2017) stop working. Diving into the code I found that the CompanyIdentifier is not longer being populated and comes NULL, basically I am using…
  • Getting exception 'Non-zero amount must be rounded to whole currency' Sage 50 C# WPF?

    FormerMember
    FormerMember
    When I try to add an amount in AmountPaid field & if the amount = 55.23 then it throws an exception with stated text "Non-zero amount must be rounded to whole currency" I tried AmountPaid = Match.Ceiling(amount) which changes the 55.23 to 56 which works…
  • Incompatible Company Version Exception

    I went to deploy a desktop application on a clients machine after completing development and testing. Upon authentication, I get the following exception message. I verified that we are using the same version of Sage50 and the build number. Does anyone…
  • Unable to Access/ Open Sample Company in Sage50

    Dear Sage Support, Good Morning, Hope everyone is doing great, I'm having hard time connecting my .NET Application via .NET SDK for Sage50 Accounting. I have prepared an sample CONSOLE APPLICATION in order to test the authentication as per documentation…
  • Integrating Sage 50 Quantum Accounting 2019 with .NET Application

    I have built web application (.NET Application) that caters to business needs of my client. My client have been doing/ managing their accounting via Sage 50 Quantum Accounting Desktop Version software at their end. Now, since we as a part of their…
  • Error installing console app

    FormerMember
    FormerMember
    I have created a windows service in a console application using TopShelf library. If i run the app directly it works but i when I try to install it I get an error of Unhandled Exception: System.ArgumentException: Specified directory could not be found…
  • IProcserver 32 not found

    Hi ALL, I am working for a client, I am unable to connect with COM API on their machine. After a long investigation, I came to know there is an Iprocserver is not available on their Machine. Here is the reference image. if someone can help me. …
  • COM API - New build issue.

    Hi All, I am trying to connect the Sage 50 US COM APIs 2019 - version 26. when I run my program which is written in the C#.Net is giving the below error. Creating an instance of the COM component with CLSID {49073E6E-C47A-41DD-BF5A-01184439577C…
  • How we can add customer note to any sales order through sage 50 api

    I am searching for a way around that how we can add customer notes on any existing SO through sage Peachtree API.
  • Sage 50 SDK installation on Windows 10

    Hi Expers: After my Sage 50 2018.2 SDK installation on Windows 10 I got problem when I tried to create a Login Object by COM: Unable to cast COM object of type 'System.__ComObject' to interface type 'PeachtreeAccounting.Login'. This operation…
  • NullReferenceException when creating invoice line items

    Getting this error when I try and add lines to a new sales invoice: // Create invoice var invoice = Company.Factories.SalesInvoiceFactory.Create(); // Invoice #, Date, Customer ID invoice.CustomerReference = customer.Key; invoice.ReferenceNumber…
  • There was a problem opening company.: (inner exception: FileNotFound)

    var companyId = GetCompany(); try { // Request authorization from Sage 50 for our third-party application. AuthorizationResult authorizationResult = Session.RequestAccess(companyId); This line Session.RequestAccess throws a PeachtreeException: FileNotFound…
  • Help with Sage 50 Integration with SQL

    FormerMember
    FormerMember
    I am looking for a developer who can help with integration from SQL database in our custom ERP application to directly call up orders in SAGE 50 to create Invoices and share Customer Data.
  • SDK seeking permissions every time

    Hi, We are trying to build up an application using the Sage SDK to create invoices in the Sage 50. In our testing , we found that the Sage SDK is prompting for the user to give permission every time (even if it is same company file that we gave permissions…
  • Is SAGE 50 SDK available in x64 bit?

    FormerMember
    FormerMember
    Is SAGE 50 SDK available in x64 bit? We are trying to integrate with Microsoft CRM Online, which is x64...... Thanks -dclarke