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

    Hi, Is there any way to update the onhand qyt in a MasterStockItem from the SDK?
  • 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 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…
  • SDK Performance is tooooo slow

    Hi, I have sage 50 accounting, the data are on a local server (within same network). We have no issue with the performance when using Sage 50 but when using the SDK it's really [:@]tooooooooooooo[:@] slow Listing companies takes 45 seconds! Finding…
  • 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…
  • Limiting the number of sales orders returned in the SalesOrderFactory

    Is there a way to limit the number of sales orders that are returned when using the SalesOrderFactory by specifying some type of parameter? I'd like to just return a set of orders for a date range instead of every Sales Order on the system. I'm having…
  • How do you keep from having to 'allow access' every time you run your app?

    I have an Application ID and I can start a new session and open our production company, but every time I (or anyone) runs this c# .net app it always says that I have to open Sage and allow access. I open Sage and select 'Always Allow' but we have to do…
  • SalesInvoiceFactory does not contain definition for Create‏

    I would like to ask why I am getting the above error when using the following for integrating with Sage SDK: sales_invoice_factory = Company.Factories.SalesInvoiceFactory; SalesInvoice invoice = sales_invoice_factory.Create();
  • RE: Creating Invoices through SDK

    Hi, I tried: SalesInvoice sales_invoice = Company.Factories.SalesInvoiceFactory; but getting: > Cannot implicitly convert type 'Sage.Peachtree.API.Factories.SalesInvoiceFactory' to 'Sage.Peachtree.API.SalesInvoice'
  • 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…
  • Getting Sage's transactions using .NET SDK

    Hello, Docs have only list of API classes/methods with short desc. So I have a question: How to get a basic list of transactions of any type from .net app ? Which API class to use / any sample for it ? We were doing integration app for QuickBooks…
  • .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…
  • Payments - COM VS .NET API

    Hello everyone, I recently wrote a little home-brew application for my office that used the COM functions to interop with, what we had at the time, Peachtree 2008. We upgraded within the last month to Sage 50 2014 and I've begun to rewrite the same…
  • 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…
  • 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…
  • Where is a complete list of filter constructs?

    Hi, Having trouble creating filters because I cannot find a complete list of the filter constructs available to put into a filter expression's Property method. I am particularly looking for how to select a single account based on its Key(guid),…