• .NET Core Compatibility with Sage 50 US SDK/API

    Hi. Is the Sage 50 US .NET SDK/API compatible with .NET Core 2.2? If not, what's the ETA now that Microsoft has announced that .NET Core will replace .NET Framework? If yes, it is compatible, then I'm having a problem I really need some help with, please…
  • 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…
  • 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…
  • ASP.NET Error PRForms.dll

    Hello, 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. However, the same code works as a console app. How do I resolve this issue? …
  • 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…
  • Sage 50 SDK - Employee punch in and punch out time.

    FormerMember
    FormerMember
    Hello, Greetings ! I had just downloaded Sage 50 SDK and I am new to this system.. I am looking for the way to get punch in/Out i.e. employee check in and check out of company. I tried to look for EmployeeLedger class but didn''t find any such reference…
  • Is it possible to attach files via the SDK?

    FormerMember
    FormerMember
    I need the ability to programtically attach files to Invoices, Purchase Orders, Purchase Journal items, etc. The only Attachment bundle methods I find are read-only. Is it possible to achieve this via the SDK?
  • 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…
  • inventory and customers in .net api

    When will inventory and customers be added to the.net api? The com api is difficult to use. Thanks.
  • 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…
  • 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…
  • I Need XML Template for purchase order and sales order import to sage 50

    Hi, I am using sage 50 application version 2017 and Peachwserver DLL version is 24.0 and Run time version is v4.0.30319. I am also using visual studio version 2013. My Sample Code: public static void Import(BOAccountSettings settings, Logger logger…
  • 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…
  • Get Application Unique Key of a company

    Hello All, I have a created a new company. I need to access that file through my .net application. To begin connection it asks for "Application ID". I have searched in my sage sotware regarding id. I couldn't get. Where do I get my application id? …
  • 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…
  • How do I get a development license key for Sage?

    Hi All, I am very new to Sage and just recently received the developer partner welcome email. I have a client using Sage, they have requested that I integrate their inhouse system with Sage so that they no longer need to manually type invoices. I have…
  • 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…
  • RE: Sales Invoices Factory

    Hi Bob, will you please share your experience, how to get List of entered invoice from sage 50(with code sample). I am using Microsoft .Net framework. Thanks. Sandeep