• Help! Upgraded to Sage 50 2024 and my apps now throw "Unable to cast COM object of type ..."

    Ah I forgot to copy over the latest Interop.PeachwServer.dll and recompile like I have to do every year.. nope still fails. Version 31 dated 10/5/2023, looks good. Downloaded the 2024 SDK to see if anything has changed in the COM interface.. nope, login…
  • 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.
  • 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…
  • 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…
  • 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…
  • Sage 50 could not be opened becausethe company data location .... could not be accessed

    Hi, I have a problem under Windows 8 and Sage 50(2013). When I made a connection to PT from SDK COM objects I had the following error: Sage 50 could not be opened becausethe company data location .... could not be accessed. If this path is correct…
  • .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…
  • Adding Freight to SO

    Hi, Does anyone have a sample, or suggestion on how I can add the Freight charge to a Sales Order imported into Sage from the COM interface via XML. I looked and looked and can get everything else imported but not that. Thanks!! Andreas