Browse By Tags

  • This customer often pays late. See the Advice topic "Handling Overdue Accounts" for suggestions.

    Hi All, I got This customer often pays late. See the Advice topic "Handling Overdue Accounts" for suggestions errors for creating an Invoice using SDK. This line of my code throws an error. => objSalesJournal.SelectAPARLedger(name); //set customer name…
  • Sage 50 CA Error with SDK "Customer Ofen pay late. see the advice topic Handling Overdue accounts" for suggestion

    hi all, I am getting this error while importing Orders. can anyone suggest how to resolve it?? Sage 50 CA Error with SDK "Customer Ofen pay late. see the advice topic Handling Overdue accounts" for suggestion Thanks, SF
  • 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…
  • Export data from Sage 50 CA using SDK

    Hi all, Is there anyone has an idea to export the data from Sage 50 CA? I was looking at the method w the class "CustomerLedger" but it has only the Save method it does not have the get method, Please let me know if you have any idea of hints to solve…
  • TotalTaxAmount SetTaxAmountByRow not working

    Hi, I am trying to update invoice's total tax using below code TaxSummaryInfo taxSummaryInfo = journal.GetTotalTaxAmountInfo(); if (taxSummaryInfo.GetCount() > 0) { double totalTax = 10; taxSummaryInfo.SetTaxAmountByRow(1, totalTax); taxSummaryInfo…
  • 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…
  • Get all active Sales Taxes

    Hi, I am trying to get all active Tax Codes and iit's taxes using .NET SDK. From tTaxAuth table, I can get all Taxes ,from tTaxCode I am able to get all taxcodes and from tTxCdDtl table I am able to get Tax rate for each Taxcode's tax. I have removed…
  • SalesJournal SetShipDate The field you are trying to change or function you are calling is not accessible under current circumstance.

    Hello Friends, I am using SAGE 2019.1 SDK for importing invoice in my application. I am getting error at the time of SetShip date "The field you are trying to change or function you are calling is not accessible under current circumstance.". I am getting…
  • 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? …