• How to get SDK for Sage 50 Desktop ?

    Hi I'm a software developer and my client uses your Sage 50 Desktop software. I have task to add some wrapper around SDK which allow client to add data into Sage 50 from third party software. I am looking for SDK. I discovered this page : https://support1…
  • 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…
  • 'Non-zero amount must be rounded to whole currency' Sage 50 SDK

    When trying to save a sales order using the Sage 50 SDK, I get the error: ``` 'Non-zero amount must be rounded to whole currency'...``` I've been able to save them using something like `_.Amount = _.CalculateAmount(_.Quantity, _.UnitPrice);` which…
  • Does Windows Service Connecting to Sage 50 US Via SDK Count As A User

    Our client has a five user license installation. We noticed that our windows service shows up as a user in login manager. Does this mean that a we need a new license for the windows service connecting to Sage 50 via the SDK?
  • Could not load file or assembly Sage.Peachtree.Domain

    Hi I have written a windows service that speaks to Sage 50. It runs on three computers. On only one computer, I see this in the logs: 2020-07-09 11:01:27.277 -04:00 [DBG] Could not load file or assembly 'Sage.Peachtree.Domain, Version=2020.2.0.219…
  • Do I Need A New Application ID For Each Installation?

    We have a developer license and application ID which we have used to create a connector that pulls data from an ERP into Sage 50. It runs as a windows service. It has worked well on all our development boxes. Yesterday, we tried to install the windows…
  • Vendor Names Changed On Save Without Any Reason

    This issue may or not be related to the Vendor.IsModified always being true ( https://www.sagecity.com/support_communities/sage50_accounting_us/f/sage-50-u-s-software-development-kit-sdk/132513/vendor-ismodified-is-always-true ). I'm posting it separately…
  • Vendor.IsModified is Always True?

    I'm trying to troubleshoot some problems I'm having, so I wrote a very simple .NET Framework v4.7.2 C# console application to narrow down where the problem is. One issue I've found is immediately after loading any Vendor record, IsModified is always true…
  • Customer.Contacts and Vendor.Contacts in the UI

    Hi. I have a simple question that seems like it should be obvious but is actually baffling. In the .NET API, you can access the "Contacts" property on both the Customer object and the Vendor object. There are contacts like BillToContact and PaymentsContact…
  • .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…
  • 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, 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,…
  • 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…
  • 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…
  • Downloading 2015 SDK

    Sage sent me a link to download the SDK. I select the 2015 SDK and Agree to the term then I end up here Sage download manager In order to utilize the Sage Download Manager you need to install .NET Framework 4.0 on your machine. The following…