Browse By Tags

  • Session Initialization w/.NET API

    I have the following code to create a session. Session s = new Session(); s.Init("", "XY", "XY1000", "67A"); s.Open(User, Password, Company, DateTime.Today, 0); A client had been using ADMIN/ADMIN for the username and password (don't ask why they…
  • Get All customers, vendors details using .Net SDK

    Hello, How can i get data of all customers and vendors using .NET SDK ? In Development Guide I can see there is a method "Load by name", which can only return 1 Customer/Vendor. But I want to retrieve all the Customers/Vendors. Is it possible…
  • So where do we download the Sage 50 CA SDK now?

    So now that Sage has overhauled their website, I can no longer find a way to download the SDK. I used to be able to find it on the public facing site, but now they've made sure to make no mention of it. All the old links suggesting how to download the…
  • Invalid or missing posting date encountered on Bill of Materials transaction update

    Hi, I've been working on automatic registration of transactions for Bill of materials. but I've been encoutering this issue for a couple of days now. its been throwing me an error that says "Invalid or missing posting date encountered" I opted…
  • BM ProductionRegister - New object error:200

    Hi, i've been constantly getting the error "System.Exception: <NewObject Error: 200>" when I register the BM production entries. here's what I have coded: oSS2.nSetProgram(oSS2.nLookupTask("BM_ProductionRegister_UI")) objTransactionRegister =…
  • Enable COM SDK / API to run in headless mode

    Sage 50 SDK / API requires the Sage 50 desktop UI to remain open. Sage 50 .NET already has this ability implemented exactly how the Sage 50 COM SDK / API should be implemented.
  • Incompatible Company Version Exception

    I went to deploy a desktop application on a clients machine after completing development and testing. Upon authentication, I get the following exception message. I verified that we are using the same version of Sage50 and the build number. Does anyone…
  • Integrate Sage 300 (non-cloud) with a PHP website

    Hello, We have a Sage 300 On Premise (non-cloud) version. We are looking to integrate it with our e-commerce website (PHP). We want to do two-way integration. 1) : From Sage 300 to website Customer invoice, order history, tracking information from…
  • Get all active Sales Taxes

    Hi, I am trying to get all active Tax Codes and iit's taxes using .NET SDK. From tTaxAuth table, I can get all Taxes ,from tTaxCode I am able to get all taxcodes and from tTxCdDtl table I am able to get Tax rate for each Taxcode's tax. I have removed…
  • Does Sage 500 ERP have restful web apis?

    Does Sage 500 offer the same set of web APIs that Sage 300 offers (Sage300WabAPI/swagger)?
  • 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,…
  • 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…
  • 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…
  • Is there a version of the Sage 50 SDK that can be installed for .NET Core on Linux?

    I would like to create a web service that can run on a Linux host. Is there any way to do this?
  • #C and SDK issues

    FormerMember
    FormerMember
    Hi, A little background... We were asked by a client to create a.Net application to do a few things. The more effort we put in the less success we seem to be having. We are trying to create POs, Time records, and add Cost Codes to the DB. Reading…
  • Distribute to Client Computer

    Hello all, We've been using the SDK and everything is working great on our development box. However, we are now ready to distribute to our clients computer. The documentation seems pretty sparse in this regard. How do we distribute the SDK to our…
  • how to download sdk

    i am trying to integrate sage 500 with my application , but i am unable to find from where i can download sage 500 sdk ....can any one help me out ? thank you
  • 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…
  • How do I know if the connection to the database is open ?

    I´m working with sage 50 CA 2016 SDK, and i have a problem with database connection. When I run this code in a console application successfully opens the connection, but when I run the same code in a Winform application , does not open the connection…
  • 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!
  • Using SDK - COM Interface and the CSSDK sample app with Sage-50-US 2014 - Getting unknown error when I run sample app and Sage-50 is not running.

    Hello, I recently subscribed to the Sage Silver Partner program. I have installed the Sage-50-US 2014 app that came with the program. I have also opened the sample app CSSDK that utilizes the COM interface SDK (because I want to create/import Purchase…
  • Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations.

    Hi All, I am getting the message Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations. when I am calling OpenSalesJournal in the 2015.3 SDK. The call stack is: System.MethodAccessException: [F:\Development…
  • 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…