• Inventory Unit Activity Report value not correctly

    I use SDK to insert Inventory Adjustment data , the data in Invnetory Adjustment Journal report is correct , but data in Inventory Unit Activity Report is not correct .

    if using Support Utinities-integrity check , the data in Inventory Unit Activity Report…

  • .NET 5, 6 Support

    Hello.  Do we know when it might be possible to interface a .NET 5+ project with Sage 50?  Any idea of ETA or direction would be greatly appreciated.

    It looks like .NET Framework 4.8 was release just over 3 years ago (April 2019).

    If you're reading this and…

  • Setting shipping/mailing addresses in Sales Orders and Purchase Orders

    I feel like there's something I'm missing.

    I can successfully create a Sales Order and a Purchase Order with line items in Sage50 using the .NET API (not ODBC). The issue I'm having is that while the correct vendor/customer are set, the address…

  • Integrating Objets100cLib (Sage dll) to third party c# application

    Hi ,

    Greetings of the day !!!

    I need help integrating Objets100cLib (Sage dll) to third party c# application , can any one help with this ? i want to access data like suppliers/articles etc.

    Thanks in advance

  • I/O Error on API call after server migration

    Recently, we had a client's Sage 50 server migrated. A full backup of the company file was taken, moved to the new server, and then the backup restored overwriting the company directory on the new server. We are able to log into the Sage 50 company on…

  • Import Unit Cost for Inventory Adjustments with the COM API

    I'm trying to import the Unit Cost field among others for Inventory adjustments via the COM Interface. For some reason this one field likes to remain at 0.00 even when making a positive adjustment with a value greater than 0.00.

    Here is an example of…

  • 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 50 SDK…

  • Could not load file or assembly Sage.Peachtree.Domain


    I have written a windows service that speaks to Sage 50. It runs on three computers. On only one computer, I see this in the logs:

    2020-07-09 11:01:27.277 -04:00 [DBG] Could not load file or assembly 'Sage.Peachtree.Domain, Version=2020.2.0.219,…

  • Sage 50 business object interface


    Currently, I created a C# project for getting Purchase Order, Sales Order values in sage 100, and used PO_PurchaseOrder_bus, SO_SalesOrder_bus business object interface to get these values. 

    shall I use the same business object interface to get the…


    Hi FormerMember,

    I am getting RPC_E_SERVERFAULT error while I am trying to exporting the data using COM API C# code. I am able to login into Sage using APIs,I can delete the transaction but the Specifically I can not do the export and getting this error…

  • 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. 


    exporter = (Export)ptApp.CreateExporter(PeachwIEObj.peachwIEObjContactsList…

  • Getting tax percentage with SalesTaxCodeReference.

    I am currently trying to display the percentage of the sales tax on an invoice.
    I am able to get the SalesTaxCodeReference off of the invoice but I am unsure how/where to find the percentage.

    any help would be appreciated for this Sage novice.

  • Can not set custom Sales tax amount

    I'm syncing orders from the eCommerce store to Sage 50 US using .net SDK.

    The sales tax amount is calculated based on different sales tax percentage. I can not configure each time in sage 50 as I make changes in tax percentage in the eCommerce store…

  • Initializing APP.m_company

    Could someone provide an example or explain how to initialize APP.m_company and the other components of that class?

    I am trying to run the sample app with the correct version of the SAGE software but it does not see an open company (APP.m_company is blank…

  • Accounting Period

    I've found how to get a list of the Accounting Periods through the SDK (Using .net API). Is there a place to find the current period so I'm not entering or updating records from an accounting period?

  • 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.

  • Getting exception 'Non-zero amount must be rounded to whole currency' Sage 50 C# WPF?

    When I try to add an amount in AmountPaid field & if the amount = 55.23 then it throws an exception with stated text "Non-zero amount must be rounded to whole currency"

    I tried AmountPaid = Match.Ceiling(amount) which changes the 55.23 to…

  • Receipt for Sales Invoice gets added as Other Applied Credit instead of Amount Paid at Sale

    I'm using the C# .NET Sage 50 2019.1 SDK. I am creating a Sales Invoice and after saving I want to attach a Receipt and record it as Amount Paid at Sales. Every time I do this Sage 50 shows the Receipt as an Other Applied Credit. Is this possible?…

  • 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…

  • Vendor Names Changed On Save Without Any Reason

    This issue may or not be related to the Vendor.IsModified always being true (https://www.sagecity.com/support_communities/sage50_accounting_us/f/sage-50-u-s-software-development-kit-sdk/132513/vendor-ismodified-is-always-true).  I'm posting it separately…

  • Vendor.IsModified is Always True?

    I'm trying to troubleshoot some problems I'm having, so I wrote a very simple .NET Framework v4.7.2 C# console application to narrow down where the problem is.  One issue I've found is immediately after loading any Vendor record, IsModified is always…

  • Sage.Peachtree.API.Exceptions.ReadOnlyEntityException: 'This entity is read-only.'

    Receiving an error when attempting to save an invoice in Sage50 on prem. I have verified the Sage customer, and products are active. Any suggestions?

    Sage.Peachtree.API.Exceptions.ReadOnlyEntityException: 'This entity is read-only.'

    at Sage.Peachtree…

  • ValidationException when building CustomerCreditMemo - Sage 50 SDK .NET

    Greetings all,

    We use the .NET SDK for Sage 50 to integrate our software with Sage 50.

    I've got a situation where we're trying to make a Credit Memo in our software to push over in to sage 50. During a relatively routine step, we are getting a Sage ValidationException…

  • COM API - New build issue.

    Hi All,

    I am trying to connect the Sage 50 US COM APIs 2019 - version 26. when I run my program which is written in the C#.Net is giving the below error.

    Creating an instance of the COM component with CLSID {49073E6E-C47A-41DD-BF5A-01184439577C} from…

  • ASP.NET Error PRForms.dll


    I'm receiving an error "Could not load file or assembly 'PRForms.DLL' or one of its dependencies."  when referencing Sage.Peachtree.API  in an ASP.NET application.  However, the same code works as a console app.  How do I resolve…