• System.IO.IOException: The process cannot access the file c:\sage\peachtree\company\~PVSW~.LOC because its being used by another process

    I am having an issue even beginning an api session from the code below I get the above exception. The Actian Zen workgroup Engine has a lock on the file. // the main session into the Sage 50 application PeachtreeSession apiSession = new PeachtreeSession…
  • Error While Importing invoice to Sage 50 using SDK - "Reference number is not unique for this customer or vendor"

    While creating and saving invoice to Sage 50 using SDK i occasionally get below error message - " Reference number is not unique for this customer or vendor. Reference number is used by another customer or vendor ." Not sure what this error message…
  • Import Purchase Order Journal Change Order

    Is there a way to import a PO Change Order into Sage 50 via the com sdk? I don't see it on the list that can be passed into the CreateImporter function.
  • How can I get the last date the item was updated in the inventory?

    Hi Expert, Currently, I need to get last date and time the item was updated in the inventory and date and time when the item was created ,I did not find the field related from the method which can get the inventory information supported in the Sage…
  • 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…
  • Export G/L Trial Balance

    We are using COM API to export G/L Trial Balance data from sage. We are getting current balance but we require last year ending balance, so anyone have any idea to fetch last year ending balance through COM API for trail balance.
  • Job Phases and Cost Codes

    Hello, I can't seem to find how to set the phase and cost code for a PurchaseOrderLine object with the SDK. I can set the JobReference just fine but I need to be able to set the phase and cost code as well. Am I missing something or is it not possible…
  • Sage 50 SDK search Invoice(or SalesOrder)

    Hello, I would like to search out a sales order with using .NET SDK. I don't know how to search out the sales orders by ship to name or address. Is there any example? I was trying this code, Dim fType As String = "" Dim fString As String = TextBox3…
  • Reading or exporting pay types

    Is there a way in the SDK to read the pay types along with the custom names associated with them? If not, is there a way in the Sage 50 application to export the pay types? I've searched all of the options, but I can't seem to find it. Thanks.
  • COM API - switch company without open UI

    Hi, there, I am trying to see if we can using COM API to switch company without open Sage UI. The APIs we're looking are: OpenCompany and OpenCompanySecure Anything will help! Thanks
  • Integrating with SAGE cloud

    Hi, Sorry if this is the wrong forum but I did not find a better match. I have a client currently using SAGE 50 2018 that is considering upgrading to SAGE cloud, and we need to know if there is a way to import invoices and export customer data from…
  • Sage 50 SDK - Employee punch in and punch out time.

    FormerMember
    FormerMember
    Hello, Greetings ! I had just downloaded Sage 50 SDK and I am new to this system.. I am looking for the way to get punch in/Out i.e. employee check in and check out of company. I tried to look for EmployeeLedger class but didn''t find any such reference…
  • 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…
  • Duplicates Customer Id skip and Import to sage 50

    Hi, I am using sage 50 U.S Edition and Visual Studio 2013. I need to import sales order csv file to sage 50 if customer id is not available in sage 50 customer details that sales order customer id will be import to customer details ,if already exists…
  • Import to sage 50 Exception

    Hi, I am using sage 50 U.S Edition 2013 and visual studio 2013. I am using Interop.PeachwServer dll with c# console application. When i import csv file using dotnet c# into sage 50 accounting software 2013 version ,some records data is invalid so…
  • Update records throw sage 50 U.S Edition 2013 Application

    Hi, I am using sage 50 U.S Edition 2013 version. How can update records in sage 50 Accounting Software?
  • Exception Throw

    How can handling by moving to next record from catch block when this particular exception occurs in sage 50 application when i import sales order csv?
  • Update Records into sage 50 (Interop.PeachwServer.dll)

    Hi, I am using Sage 50 U.S Edition 2013 SDK and visual studio 2013. When I update the csv records into sage 50 is not working its throw some exception like its already having this record and skipped execution so next records not import into sage 50…
  • I Need XML Template for purchase order and sales order import to sage 50

    Hi, I am using sage 50 application version 2017 and Peachwserver DLL version is 24.0 and Run time version is v4.0.30319. I am also using visual studio version 2013. My Sample Code: public static void Import(BOAccountSettings settings, Logger logger…
  • XML file format import to sage 50 using .net framework

    Hi, I want to know about .xml file import to sage 50 using .net framework c#.
  • What is the Filed for Expense account for Vendor on Export when using the COM API

    Using the COM API, I was able to export VendorId, VendorName. But when it tried to import Expense account, I was not able to distinguish which peachwIEObjVendorListField to use. So, I tried to use Exporter.AddToExportFieldList((short)PeachwIEObjVendorListField…
  • Payment & Credit tab's Message Field access from API

    FormerMember
    FormerMember
    Hi, I have a C# application using the Sage 50 US 2015.3 SDK to access data within a company's data file. I cannot locate the .NET class and property for the Message field which appears under a Customer's "Payment & Credit" tab. This is the field on…
  • Import using interop DLLs program

    Hi ALL, I have imported the Invoice record in Sage 50 US using interop dll program, But it is not returning GUID is. Can any one help me to get the working? string path = System.Windows.Forms.Application.StartupPath; string FileNameXML; string…
  • Vendor Defaults list availability from C# SDK

    Is there any possibility to access lists available on Vendors Defaults from SDK ? I just want to get Payment Methods - as I have seen even in example it was hard coded to Master Card and I haven't found any object which could give me acces to that.
  • Interop.PeachwServer.GetOverdueInvoices not exporting all unpaid invoices

    I am not getting all unpaid invoices using Interop.PeachwServer.GetOverdueInvoices. App.GetOverdueInvoices(1, duedate, invoicenum, custname, amount, custID, PostOrder, POA, transdate, begbal) What can i do to verify what might be the cause?