• 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…
  • 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…
  • update onhand on MasterStockItem

    Hi, Is there any way to update the onhand qyt in a MasterStockItem from the SDK?
  • Could not load file or assembly 'Sage.Peachtree.Domain, Version=2015.2.0.196' ...

    Hi, I have a machine that was just reinstalled Sage50 2015, when I try to access it from my app I get this error: Message: Could not load file or assembly 'Sage.Peachtree.Domain, Version=2015.2.0.196, Culture=neutral, PublicKeyToken=d06c16dde04d83e4…
  • session.CompanyList() returns empty list

    Hi, I have Sage 50 premium 2016 installed in two machines with the company file residing in one of them. I can open the company from both computers without any problem using The local Sage50, in one machine it opens it from c:\sage\peachtree\company…
  • Cannot send journal to Sage 50 US via SDK importer

    I am trying to use the SDK (COM) to transfer a journal entry to Sage 50 (Peactree) but cannot make it work. I can see the import status screen flash out and there is no error occurs during the import; but nothing appears in the sage 50 journal entry report…
  • error: Currently, Invoices cannot be saved in cash-basis companies when using the .NET SDK

    Hi, I'm trying to export an invoice into SAGE50 and I'm getting this error: "Currently, Invoices cannot be saved in cash-basis companies when using the .NET SDK" Other than re creating the company, what else can I do? Why this limitation…
  • How do you keep from having to 'allow access' every time you run your app?

    I have an Application ID and I can start a new session and open our production company, but every time I (or anyone) runs this c# .net app it always says that I have to open Sage and allow access. I open Sage and select 'Always Allow' but we have to do…