Browse By Tags

  • 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…
  • update onhand on MasterStockItem

    Hi, Is there any way to update the onhand qyt in a MasterStockItem from the SDK?
  • Sample ODBC/SQL queries for getting Sales Order information, Customer Information, and inventory information?

    Can anyone offer any sample SQL scripts for getting information, such as Customer Information (given a customer ID), sales order information (given a sales order number or customer ID), and/or inventory information (given an Item ID) out of the database…
  • 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…
  • Purchase orders and character limits

    Currently i am working on a program meant to create purchase orders using excel files to import some data into said order. So far the only problem i seem to keep having is that certain things, such as the Term and Address fields have a "Character limit…
  • .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…
  • Add "date due" into an invoice from API SDK

    Hi, I am developing an application to enter an invoice to Peachtree using the API .NET SDK for Sage 50 2013 , and I want to set the date due into the invoice object ( I noted that the property is visible and it can accept a nulleable value) but when I…
  • Taxable invoice detail line

    Hi, I am using .NET SDK and I am reading the detail lines from an invoice with the class "SalesInvoiceSalesLine" and all goes fine, but when I need to know if the detail line is taxable or not I do not find any property that indicates it. I was thinking…
  • What happened to Address.Key in SDK 2014?

    Just curious what happened in the 2014 .NET SDK for accessing the identifier for an address? Now it appears you can only access the Contact identifier.... It seems odd that Sage would completely remove that unless I'm missing something. The latest…
  • Sage 50 User Security with SDK (.NET)

    Is there any way to log on to the company with a specific Sage 50 User Company from the SDK .NET ? Previously, with COM interface, there is an option (CheckCompanyUsesPasswords) to ask Sage 50 if the company we want to open has security (User and password…
  • Upgrade to 2014 Sage-50 US edition causing me major headaches

    Hello, I was prompted to perform the upgrade to 2014 Sage-50 US Edition. Was prompted to convert database. Afterward, when I attempted to use the Sage .NET API to talk to it, I ran into errors... Sage.Peachtree.API.Exceptions.UntranslatedException…
  • How can I determine the current accounting year and period through the API?

    Hello, Am using the .NET API to create sales invoices in Sage. However, am getting the following error when I validate() or save() the sales inventory: Sage.Peachtree.API.Exceptions.ValidationException was unhandled by user code HResult=-2146232832…
  • .NET API Account Balance Question

    Is there a way to retrieve an Account Balance, at a point in time, using the .NET API? Thanks.