• Error when using UNC Network path to connect via latest .NET SDK (2021.1)

    Hello: I have been experimenting with the latest version of the .NET SDK (2021.1). My configuration uses UNC network paths and not mapped drives. When I try to run any of the sample applications, I get the following error: Object must be a root directory…
  • 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…
  • 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…
  • Importing and Exporting using .NET API

    Hello Everyone, I am having trouble figuring out how to import and export to and from Sage 50 Quantum using the US SDK. I have gone through several of the sample apps and I am just not seeing how things are transacting. I want to import CSV files in…
  • How to overwrite the sales tax using sdk

    We want to be able to write the Sales tax of a document back to sage using a third party application. From the .net dll, we have understood that the sales tax can only be calculated but not written to. But we want to know if there is any way we can edit…
  • How to get assembly component list using .net api ?

    How do I get the component list for an Assembly item using the SDK ? I can get the list of Assembly items using the AssemblyItemFactory, but it does not have a Bill of Materials or Components collection for each item. The only way I've found so far…
  • 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…
  • 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…