• Query Credit Memos using ODBC on Sage 50 2013

    On the documentation, it says I can read Credit Memo using ODBC. This is the image for supported features of Sage SDKs. https://drive.google.com/file/d/0Bylaei-qsakROXlPZFAxdnlZU0dZNk1pNC1pQnBBYVRQdzBN/view?usp=sharing So I created a simple application…
  • 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…
  • 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…
  • My COM User ID and Password do not work

    I'm trying to use the sample COM project CSSDK and am having trouble logging in, I'm trying to log in with the User ID and Password I was sent by sage support to access the COM interface but I get the "Access is denied." message. What am I doing wrong…
  • 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…
  • Sage 50 Scripting Support?

    Is there a way to have Sage50 run a script internally or does it have to be an actual independent app? Meaning is there a way to put a call in one of the .ini files that will run a script/macro whenever an action occurs such as an item is added to a sales…
  • C# GetApplication returns null with Peachtree 2008

    I am creating an automated import of Purchase Invoices for a client who is using Peachtree 2008 Premier, and I've downloaded Sage 50 2016.0 SDK. I'm using the credentials that were provided when I downloaded the SDK and the function returns NULL. When…
  • RequestAccess is always returning AuthorizationResult.Pending

    I am new to the Sage 50 SDK. I am trying to write a sample program to connect to a sample company database. When I call the session "RequestAccess" method, it is always returning "AuthorizationResult.Pending". Do I need to pass a username and password…
  • Sage 50 Accounting database table layout?

    I've asked a similar question earlier regarding the database layout/design and got a piece of code from someone (which I will paste below). This piece of code gets the Shipping info, the order number, and other info. What I'm looking for is how to get…
  • SDK Crash to create a Customer instance

    I have developed an application that get customer information from Sage 50, this application never is stopped until the user decide to do it, I mean, when the user starts the process to get customer information from Sage 50, the application connects to…
  • Possible to generate invoice PDF files please?

    Each working day we have a few sales orders. We would like to programmatically send an invoice (PDF file) to each customer by email. Possible to do in Sage Quantum 50 US? Use the SDK? Any hints are greatly appreciated!
  • Cannot send journal to Sage 50 US via SDK importer

    I am trying to use the SDK (COM) to transfer a journal entry to Sage 50 (Peactree) but cannot make it work. I can see the import status screen flash out and there is no error occurs during the import; but nothing appears in the sage 50 journal entry report…
  • Error Importing Employee List -- EmpEE Fld2-Calc Name

    I have a program that uses the COM SDK to import (Update) the Employee list with Hours and Payrate. We converted from 2012 to 2015. I updated the program to use the 2015.2 SDK. But I get an error when trying to Import: EmpEE Fld2-Calc Name I don't…
  • Access Sage 50 through SDK with less privilege account

    Hi, I am developing a .NET application to read customer and Receipt details from Sage 50 to import to our Microsoft Dyanmics CRM. Therefore I use Sage 50 SDK to connect to the company and access data via the API. However there are other sensitive data…