• Sage Connectivity with external system

    Hi, I hope this email finds you well. My name is Rooma, and I am reaching out to inquire about the connectivity options available for integrating Sage 300 ,50 with a .NET application, specifically for passing financial data. We are currently developing…
  • 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…
  • Could not load file or assembly Sage.Peachtree.Domain

    Hi 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…
  • 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. …
  • 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…
  • 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?
  • Receipt for Sales Invoice gets added as Other Applied Credit instead of Amount Paid at Sale

    FormerMember
    FormerMember
    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? …
  • 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…
  • 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…
  • ASP.NET Error PRForms.dll

    Hello, 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 this issue? …
  • Sage 2018 - upgraded to 2019 and then downgraded back to 2018, now API won't work

    We have written a program for one of our clients using the Sage Peachtree API. Every time they upgrade versions, we always have to get the latest DLLs and rebuild our app to make it work again. However recently they say that they installed Sage 2019,…
  • 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…
  • Importing and Exporting using .NET API

    Hello Everyone, I am having trouble figuring out how to import and export to and from Sage 50 Quantum using the US SDK. I have gone through several of the sample apps and I am just not seeing how things are transacting. I want to import CSV files in…
  • 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…
  • Get Application Unique Key of a company

    Hello All, I have a created a new company. I need to access that file through my .net application. To begin connection it asks for "Application ID". I have searched in my sage sotware regarding id. I couldn't get. Where do I get my application id? …
  • 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…
  • 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…
  • Sage 50 2016 SDK - The type or namespace name 'Sage' could not be found (are you missing a using directive or an assembly reference?)

    Hi, I tried to connect to Sage 50 2016 but It is impossible, when I compile my code, I get this error: Error 4 The type or namespace name 'Sage' could not be found (are you missing a using directive or an assembly reference?) It is a little weird…
  • RE: Sales Invoices Factory

    Hi Bob, will you please share your experience, how to get List of entered invoice from sage 50(with code sample). I am using Microsoft .Net framework. Thanks. Sandeep
  • 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…
  • Get authorization notification again? (SDK / .NET)

    I believe our customer was prompted to authorize the integration of our product with Sage 50, and they chose the "No" option to disallow our product to communicate with Sage 50. How can we get this prompt back in order to attempt to authorize our application…