• Read Only message when attempting to SAVE a new PurchaseOrder or PurchaseInvoice

    I need to know if the SDK will allow you to SAVE a PurchaseOrder or PurchaseInvoice So far no success. Getting error that the entity is READ-ONLY. Also, I do not see a "CREATE" method for purchase order lines or purchase invoice lines. I need…
  • 'Non-zero amount must be rounded to whole currency' Sage 50 SDK

    When trying to save a sales order using the Sage 50 SDK, I get the error: ``` 'Non-zero amount must be rounded to whole currency'...``` I've been able to save them using something like `_.Amount = _.CalculateAmount(_.Quantity, _.UnitPrice);` which…
  • Does Windows Service Connecting to Sage 50 US Via SDK Count As A User

    Our client has a five user license installation. We noticed that our windows service shows up as a user in login manager. Does this mean that a we need a new license for the windows service connecting to Sage 50 via the SDK?
  • RPC_E_SERVERFAULT

    Hi , 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. …
  • 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…
  • 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 true…
  • Connecting to external server takes very long

    Hello, I've created an application for Sage 50 using the SDK and I'm having a bit of an issue connecting to our company on a server. If I start a Peachtree session with a local company I created on my machine it works great but when I start a session…
  • Sage 50 2019 SDK Release Date

    FormerMember
    FormerMember
    Hey there. We recently updated our Sage 50 Accounting software from 2018 to 2019. Naturally, the software we use that integrates with Sage is now unable to connect and sync data. Is there a current release date for the Sage 2019 SDK or is there a…
  • Is it possible to attach files via the SDK?

    FormerMember
    FormerMember
    I need the ability to programtically attach files to Invoices, Purchase Orders, Purchase Journal items, etc. The only Attachment bundle methods I find are read-only. Is it possible to achieve this via the SDK?
  • 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…
  • SDK seeking permissions every time

    Hi, We are trying to build up an application using the Sage SDK to create invoices in the Sage 50. In our testing , we found that the Sage SDK is prompting for the user to give permission every time (even if it is same company file that we gave permissions…