• Mavenlink/Sage Integration

    FormerMember
    FormerMember
    We are in the process of converting to Mavenlink as our time keeping system and we need guidance from the SDK group to understand what we need to do in order to provide access to the Mavenlink IT team to our Sandbox account in order to understand how…
  • 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,…
  • 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…
  • 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…
  • Sage API Importing Question

    Hello everyone. I have a question about the Sage 50 SDK. I am trying to create a PO in Sage through the API. Using .Net and C#, I can see the Lines and the specific fields for the PO itself, but I am unsure how to set the Vendor the PO is linked to in…
  • Importing and Exporting using .NET API

    Hello Everyone, I am having trouble figuring out how to import and export to and from Sage 50 Quantum using the US SDK. I have gone through several of the sample apps and I am just not seeing how things are transacting. I want to import CSV files in…
  • Update invoice using COM APIs Code.

    Hi All, I am trying to update invoice in Sage 50 US using COM APIs PeachWServer DLL. but it won't getting update, Can anyone help on this or give me comment or hint to resolve it? Thansk, SF
  • 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…
  • 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…
  • Get Application Unique Key of a company

    Hello All, I have a created a new company. I need to access that file through my .net application. To begin connection it asks for "Application ID". I have searched in my sage sotware regarding id. I couldn't get. Where do I get my application id? …
  • Getting the rate of a Tax Code

    Hi, I'm using the .NET SDK and I cannot find anywhere the actual rate of a taxCode, is this property available at all? Thanks, Ignacio
  • 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 50 2017 could not be integrated with the dll generated by PeachwServer.tlb.

    Hi Experts, We have already an C# developed integration program to integrate with Sage 50 by using a dll generated from PeachwServer.tlb with tlbimp tool. It worked properly before Sage 50 2017. But we found it didn't work on Sage 50 2017.1 the latest…
  • 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…
  • Looking for help with ServiceBridge dispatching software to integrate with Sage 50

    As a distributor, one of our manufacturers is mandating we come on board using ServiceBridge dispatching software. It does not integrate with Sage - only QuickBooks. We are Peachtree/Sage users for over 15 years and would prefer not to make this change…
  • Can't export units of measure.

    When this line executes: var exporter = (Export)app. CreateExporter(PeachwIEObj.peachwIEObjUnitMeasure); I get this error: The import object id specified is not valid. Please check the import object in the documentation. The enum is evaluating to…
  • Using COM API user required Administrator rights ?

    Hi All, I am trying to import data using COM APIs with the C# programming. I got the Error "Your security settings do not allow the action you are trying in this area. Click, help for more information." Is this permission issue, Is while calling COM…
  • .Net and bill of materials.

    Can we access the component items of an AssemblyItem via .Net? I don't see anything obvious in the API. Maybe COM is the only way to get there?
  • .NET API and C# PeachtreeSession events don't seem to be triggering.

    I'm attempting to implement these events, but they don't seem to be triggered when I close either a company, or the Sage application itself. My code notifies me that the event handlers are being added, but the handlers never get called. private static…
  • Need Assistance with Sage 50 2016

    We have developed an application for our customer that runs as a windows service on windows 7. We developed it using Visual Studio 2015 (.NET 4.5.2) against Sage 50 Pro Accounting 2016. The customer is using 2016 Sage 50 (I think the Quantum edition…
  • 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…
  • Having connectivity issue with Sage 50 US 2016 Quantum Accounting Edition

    Hi All, We are having connectivity problems with Sage 50 US 2016 Quantum Accounting Edition. The version of the Sage 50 is " 23.2.00.0184 ". Our application is .Net application which is integrating with Sage 50 US. It is working fine on our end but…
  • 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…
  • 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…