• 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…
  • Error when using UNC Network path to connect via latest .NET SDK (2021.1)

    Hello: I have been experimenting with the latest version of the .NET SDK (2021.1). My configuration uses UNC network paths and not mapped drives. When I try to run any of the sample applications, I get the following error: Object must be a root directory…
  • The company could not be opened because the file COMPANY.DAT is missing or damaged.

    I have a third party application that integrates with Sage 50. After a client has copied their sandbox company to a new file for their production company, I am no longer able to open the Sage 50 company and receive the following error: I have seen…
  • 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…
  • '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. …
  • 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?
  • 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…
  • Mavenlink/Sage Integration

    FormerMember
    FormerMember
    We are in the process of converting to Mavenlink as our time keeping system and we need guidance from the SDK group to understand what we need to do in order to provide access to the Mavenlink IT team to our Sandbox account in order to understand how…
  • 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…
  • Cannot send journal to Sage 50 US via SDK importer

    I am trying to use the SDK (COM) to transfer a journal entry to Sage 50 (Peactree) but cannot make it work. I can see the import status screen flash out and there is no error occurs during the import; but nothing appears in the sage 50 journal entry report…
  • 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…