• About API does not provide inventory adjustment interface

    I want to get the specific record of inventory adjustment, but this is not provided in the API. Can I add an inventory adjustment API?
  • I/O Error on API call after server migration

    Recently, we had a client's Sage 50 server migrated. A full backup of the company file was taken, moved to the new server, and then the backup restored overwriting the company directory on the new server. We are able to log into the Sage 50 company on…
  • 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…
  • 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…
  • 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…
  • updated to sage 50 2018 and application is not working

    I have an SDK application that was written and working with sage 50 2017 we updated to sage 50 2018 and now its not working do I need to do something to active with 2018 do I need a new application name or application password
  • Unable to get API key, been trying for a year+

    FormerMember
    FormerMember
    I've been submitting the form on this page https://www.sage.com/en-us/partners/independent-software-vendors/# on and off every month or so for a year+ now but never get a reply, Today I tried sending an e-mail to this address [email protected] Waiting…
  • 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…
  • update onhand on MasterStockItem

    Hi, Is there any way to update the onhand qyt in a MasterStockItem from the SDK?
  • Advice on Integrating our WMS (ASP.Net web app) to Sage 50

    We have a Warehouse Management System (WMS) that is a Saas Web Application (not an intranet hosted web app) that is external to our company's network and firewall. We want to integrate it with a local Sage 50 instance. Our thought was that we needed…
  • 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…
  • Sage SDK Web Support

    Does the Sage 50 SDK support web applications? I'm attempting to create an ASP.NET application to talk with Sage back and forth. I added the API to the website with it simply starting a session but I receive an expection: Could not load file or assembly…
  • 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…
  • SDK Performance is tooooo slow

    Hi, I have sage 50 accounting, the data are on a local server (within same network). We have no issue with the performance when using Sage 50 but when using the SDK it's really [:@]tooooooooooooo[:@] slow Listing companies takes 45 seconds! Finding…
  • 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…
  • Limiting the number of sales orders returned in the SalesOrderFactory

    Is there a way to limit the number of sales orders that are returned when using the SalesOrderFactory by specifying some type of parameter? I'd like to just return a set of orders for a date range instead of every Sales Order on the system. I'm having…
  • 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…
  • SalesInvoiceFactory does not contain definition for Create‏

    I would like to ask why I am getting the above error when using the following for integrating with Sage SDK: sales_invoice_factory = Company.Factories.SalesInvoiceFactory; SalesInvoice invoice = sales_invoice_factory.Create();
  • RE: Creating Invoices through SDK

    Hi, I tried: SalesInvoice sales_invoice = Company.Factories.SalesInvoiceFactory; but getting: > Cannot implicitly convert type 'Sage.Peachtree.API.Factories.SalesInvoiceFactory' to 'Sage.Peachtree.API.SalesInvoice'
  • Purchase orders and character limits

    Currently i am working on a program meant to create purchase orders using excel files to import some data into said order. So far the only problem i seem to keep having is that certain things, such as the Term and Address fields have a "Character limit…
  • Getting Sage's transactions using .NET SDK

    Hello, Docs have only list of API classes/methods with short desc. So I have a question: How to get a basic list of transactions of any type from .net app ? Which API class to use / any sample for it ? We were doing integration app for QuickBooks…
  • .Net Api or SDK

    Hi, A client need to create an automatic service to create a file with all the invoices in a time range. I tried the ODBC connection but can´t see any table with the invoices information. Is that possbile with the .net Api or the SDK? and where…
  • Add "date due" into an invoice from API SDK

    Hi, I am developing an application to enter an invoice to Peachtree using the API .NET SDK for Sage 50 2013 , and I want to set the date due into the invoice object ( I noted that the property is visible and it can accept a nulleable value) but when I…
  • Payments - COM VS .NET API

    Hello everyone, I recently wrote a little home-brew application for my office that used the COM functions to interop with, what we had at the time, Peachtree 2008. We upgraded within the last month to Sage 50 2014 and I've begun to rewrite the same…
  • Taxable invoice detail line

    Hi, I am using .NET SDK and I am reading the detail lines from an invoice with the class "SalesInvoiceSalesLine" and all goes fine, but when I need to know if the detail line is taxable or not I do not find any property that indicates it. I was thinking…