Browse By Tags

  • Sage 300 SDK read function

    Hi all, I am trying to read the vendor using SDK, But I dont get any result with that, Can any one help me how to make a call to read all the vendors using Sage SDK? Thanks
  • SDK trigger for the HMRC CIS verification

    Hi, I noticed we can load and update any CIS properties/settings for subcontractors using the Sage 50 .NET SDK. Is there any way to 're-trigger HMRC CIS verification' after update from the SDK? Thanks, Martin
  • Why do some report tasks have a .NET Configuration File?

    During discussion today the question came up "Why do some Sage 500 report tasks have a .NET Configuration file and others do not?" Since the report task is still written in VB 6 and there seems to be a necessity to interact with .NET because of the configuration…
  • 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…
  • 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.
  • How to set date range for customer export? sage50 api question.

    Im exporting sage50 customer details in this code. Please let me know how can I set date range to the exporter object so that will pull only contact updates within certain dates. Code- exporter = (Export)ptApp.CreateExporter(PeachwIEObj.peachwIEObjContactsList…
  • ListPage not filtering from DefaultValue of FilterBox field

    When running a page built from the ListPage class, the list does not filter when you run the page when using DefaultValue set in a FilterBox screen field. Example, in the pers_status field of the FilterBox OnCreate is DefaultValue="Active"; The list shows…
  • Managing Entity Progress easily with .NET SDK ???

    Hi all, I have three different workflow for three different entities : Opportunity, Contracts & Services (where Services depends on Contracts) I need to implement relationships and automatisms between those elements as they are part of the same Global…
  • .Net Dispatch.StartTransaction method

    Hi, Is there an issue with Dispatch.StartTransaction() method? It is not working for me. Below is an example Dispatch.StartTransaction(); bool error = false; for (int i = 0; i { Record entityRecord = FindRecord("Company", "comp_companyid=" + i…
  • .Net API

    Hi Guys Our client's requirements are to create a file upload screen where they upload Excel files to & some processing is done on the data. I simple interface with a file upload & a submit button. Below is the code. public override void BuildContents…
  • 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…
  • 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…
  • SalesJournal SetShipDate The field you are trying to change or function you are calling is not accessible under current circumstance.

    Hello Friends, I am using SAGE 2019.1 SDK for importing invoice in my application. I am getting error at the time of SetShip date "The field you are trying to change or function you are calling is not accessible under current circumstance.". I am getting…
  • 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…
  • 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…
  • 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?
  • update onhand on MasterStockItem

    Hi, Is there any way to update the onhand qyt in a MasterStockItem from the SDK?
  • Add payments to invoices added through the SalesJournal?

    I am using the .NET SDK (C#) to export invoices and payments of those invoices from my own database into Sage50. I managed to create invoices (payment type = pay later) in the Sage50 db using the SalesJournal class. I now need to add payments for…
  • Need a code demo for Shipping Rate Detail Creation

    Hello Experts! Could you please give a code demo about how to create Shipping Rate Detail? I knew how to create a Shipping Rate: oSS.GetType().InvokeMember("nSetProgram", System.Reflection.BindingFlags.InvokeMethod, null, oSS, new object[] { TaskID…
  • 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…
  • Sage 50 - SDK Download

    Hi, I would like to know where I can get the Sage 50 SDK? Thanks! Simon