• Peachtree 2008 SDK

    FormerMember
    FormerMember
    Looking for the old Peachtree 2008 SDK. I still have the DLL but could not find the documentation. Can anyone help? Thanks.
  • 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…
  • Sage sdk singleton error

    FormerMember
    FormerMember
    Hi, We use the sage sdk framework for a tool who works well, but for 90% of installation case, we have a "Sage.sdk.singleton" during the connection process. In local, we can bug fix this by reinstall Sage. but for our clients, that's more complicated…
  • How to find InventoryItem that has inventory changed only?

    Hi Using the .NET SDK is there a way to search for products whose available inventory has recently changed by date? Thank you
  • update onhand on MasterStockItem

    Hi, Is there any way to update the onhand qyt in a MasterStockItem from the SDK?
  • DllNotFoundException

    Hi, I included the Sage.Peacgtree.API dll but I stll get this error: An exception of type 'System.DllNotFoundException' occurred in Sage.Peachtree.DataAccess.dll but was not handled in user code. Additional information: Unable to load DLL 'w3dbav90…
  • 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…
  • Could not load file or assembly 'Sage.Peachtree.Domain, Version=2015.2.0.196' ...

    Hi, I have a machine that was just reinstalled Sage50 2015, when I try to access it from my app I get this error: Message: Could not load file or assembly 'Sage.Peachtree.Domain, Version=2015.2.0.196, Culture=neutral, PublicKeyToken=d06c16dde04d83e4…
  • 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!
  • An error occurred while importing! This happened for Field Name: EmpEE Fld5-Calc Name

    In the managedCOM I used BOEmployees.LoadAll to pull down an employee I had previously entered. With out editing anything, i saved it back into the COM using BOEmployee.SaveAll. I get this error off of importer.Import(): System.Runtime.InteropServices…
  • session.CompanyList() returns empty list

    Hi, I have Sage 50 premium 2016 installed in two machines with the company file residing in one of them. I can open the company from both computers without any problem using The local Sage50, in one machine it opens it from c:\sage\peachtree\company…
  • 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…
  • 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…
  • Can you generate a pdf of a work order or an invoice from the SDK?

    Our workflow heavily relies on the generation of pdf's created by the sage application. We are looking to automate some of that process, but since we are so heavily tied to using the PDF as the means to interact with the customer (mainly work signoff…
  • 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…
  • 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: Currently, Invoices cannot be saved in cash-basis companies when using the .NET SDK

    Hi, I'm trying to export an invoice into SAGE50 and I'm getting this error: "Currently, Invoices cannot be saved in cash-basis companies when using the .NET SDK" Other than re creating the company, what else can I do? Why this limitation…
  • Have not received Sage 50 SDK

    I applied here http://na.sage.com/us/partners/development-partners-erp-crm-hrms weeks ago for the SDK (and again today) but heard nothing back.
  • 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…
  • How to use .Net SDK to get access to the "Contact" field on Maintain Vendors window

    Hi, I have a problem about getting the data of the "Contact" filed on Maintain Vendors window of the software through the .Net SDK. I have searched the attribute values under the vendor object, and cannot find the right value for this attribute shown…
  • 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…
  • SDK Getting Started

    I am a senior developer who is VERY new to Sage. I haven't ever used it or even seen it. A client wants me to use the SDK to get some very basic invoice and payment information out of Sage 50, but even the "Getting Started" info around here seems a little…
  • setting the ReferenceNumber when creating (importing) a new SalesOrder into Sage50

    Hi, What is the recommended way to set the ReferenceNumber when creating a new SalesOrder. Currently I'm doing this: var invoiceList = sageCompany.Factories.SalesOrderFactory.List(); invoiceList.Load(); var top1 = invoiceList.OrderByDescending(x …