• ValidationException when building CustomerCreditMemo - Sage 50 SDK .NET

    Greetings all, We use the .NET SDK for Sage 50 to integrate our software with Sage 50. I've got a situation where we're trying to make a Credit Memo in our software to push over in to sage 50. During a relatively routine step, we are getting a Sage ValidationException…
  • ASP.NET Error PRForms.dll

    Hello, After updating the Sage50 application to the 2019 version I'm receiving an error "Could not load file or assembly 'PRForms.DLL' or one of its dependencies." when referencing Sage.Peachtree.API in an ASP.NET application. Any Suggestions? I had…
  • Sage 2018 - upgraded to 2019 and then downgraded back to 2018, now API won't work

    We have written a program for one of our clients using the Sage Peachtree API. Every time they upgrade versions, we always have to get the latest DLLs and rebuild our app to make it work again. However recently they say that they installed Sage 2019,…
  • Sage 50 2019 SDK Release Date

    FormerMember
    FormerMember
    Hey there. We recently updated our Sage 50 Accounting software from 2018 to 2019. Naturally, the software we use that integrates with Sage is now unable to connect and sync data. Is there a current release date for the Sage 2019 SDK or is there a…
  • SDK and Updating Employees

    FormerMember
    FormerMember
    When we hire new employees where I work, we have to create accounts in all kinds of different programs. Plus create windows accounts and email accounts. I wrote a Information Management Program that I have connectors to all our programs (all Microsoft…
  • Getting PeachTree API exception - Entity is read-only

    FormerMember
    FormerMember
    The company account is accessible through the desktop Sage 50 US Edition just fine. When we try to access through our app that uses Sage API to access it gives the following message. ANyone knows what the issue is? WIndows 2012 Server R2 Sage 50…
  • Posibility to create VendorCredit

    Hi, I'm working with .NET SDK and COM API for multiple operations - now I would like to create Vendor Credit memo but I haven't seen it in any example - is there possibility to create it over COM API ?
  • Peachtree 2008 SDK

    FormerMember
    FormerMember
    Looking for the old Peachtree 2008 SDK. I still have the DLL but could not find the documentation. Can anyone help? Thanks.
  • 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…
  • Sage sdk singleton error

    FormerMember
    FormerMember
    Hi, We use the sage sdk framework for a tool who works well, but for 90% of installation case, we have a "Sage.sdk.singleton" during the connection process. In local, we can bug fix this by reinstall Sage. but for our clients, that's more complicated…
  • How to find InventoryItem that has inventory changed only?

    Hi Using the .NET SDK is there a way to search for products whose available inventory has recently changed by date? Thank you
  • update onhand on MasterStockItem

    Hi, Is there any way to update the onhand qyt in a MasterStockItem from the SDK?
  • DllNotFoundException

    Hi, I included the Sage.Peacgtree.API dll but I stll get this error: An exception of type 'System.DllNotFoundException' occurred in Sage.Peachtree.DataAccess.dll but was not handled in user code. Additional information: Unable to load DLL 'w3dbav90…
  • Sample ODBC/SQL queries for getting Sales Order information, Customer Information, and inventory information?

    Can anyone offer any sample SQL scripts for getting information, such as Customer Information (given a customer ID), sales order information (given a sales order number or customer ID), and/or inventory information (given an Item ID) out of the database…
  • 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…
  • CriptographicException and System.InvalidOperationException

    I can hit all the sample databases and my private database locally; however, when deployed I get this exception: System.Security.Cryptography.CryptographicException","StackTrace": " at Sage.Peachtree.API.PeachtreeSession.VerifyOrRequestAccess(CompanyIdentifier…
  • Looking for Peachtree 2012 SDK

    Where can I find the Peachtree 2012 SDK? I need to update some custom integration that a contractor built a few years ago. Thank you!
  • An error occurred while importing! This happened for Field Name: EmpEE Fld5-Calc Name

    In the managedCOM I used BOEmployees.LoadAll to pull down an employee I had previously entered. With out editing anything, i saved it back into the COM using BOEmployee.SaveAll. I get this error off of importer.Import(): System.Runtime.InteropServices…
  • SDK

    FormerMember
    FormerMember
    I am trying to get the Sage50 Accounting SDK (USA Edition). I went here and filled out the corresponding form on Thursday and again today. http://www.sage.com/us/partners/development-partners-erp-crm-hrms I haven't got anything back yet. Any help…
  • Conect to remote server in SDK

    Hi guys, I’m new on this of using Peachtree and VB.net as a develope tool, right now I’m trying to read information from Peachtree but I haven’t found a way to connect to a ramote server. If I use the server and the VB.net tool in the same PC, the…
  • 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…
  • Sage 50 2016 SDK - The type or namespace name 'Sage' could not be found (are you missing a using directive or an assembly reference?)

    Hi, I tried to connect to Sage 50 2016 but It is impossible, when I compile my code, I get this error: Error 4 The type or namespace name 'Sage' could not be found (are you missing a using directive or an assembly reference?) It is a little weird…
  • C# GetApplication returns null with Peachtree 2008

    I am creating an automated import of Purchase Invoices for a client who is using Peachtree 2008 Premier, and I've downloaded Sage 50 2016.0 SDK. I'm using the credentials that were provided when I downloaded the SDK and the function returns NULL. When…
  • Can you generate a pdf of a work order or an invoice from the SDK?

    Our workflow heavily relies on the generation of pdf's created by the sage application. We are looking to automate some of that process, but since we are so heavily tied to using the PDF as the means to interact with the customer (mainly work signoff…