Browse By Tags

  • Access Sage 100 i7 data from outside...

    Hello, A client of mine owns SAGE 100 i7 and I wonder whether it's possible or not to access his data from outside (from a webserver hosted in Azure) like the bank transactions... Any idea? Thanks in advance for any help. Best regards…
  • 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…
  • Looking for C# code to search for SO

    Hey all, I’d like to look up a Sale Order using C#, any clues would be greatly appreciated. Thanks!
  • Collaboration sought for Import of SO Invoices from XML file with BOI

    I am hoping there is someone out there with an ability and willingness to help me. As a Master Developer with have not really had much need to develop things using BOI since we can always modify the code if needed. We have taken the class and we are…
  • 2018.0 SDK and System.String Sage.Simply.Work.Repository.get_Func19() error

    I upgraded our sage .Net SDK to 2018.0. And from .Net 4.5.2 to 4.6.2. But now when I run our application and try to access sage data I get an exception: System.String Sage.Simply.Work.Repository.get_Func19() on this line of code: SDKInstanceManager…
  • Update invoice using COM APIs Code.

    Hi All, I am trying to update invoice in Sage 50 US using COM APIs PeachWServer DLL. but it won't getting update, Can anyone help on this or give me comment or hint to resolve it? Thansk, SF
  • Re: Where do I get Interop.ProvideX.dll

    Years ago our master developer provided us with a copy of Interop.ProvideX.dll for a .net application we have. The file is from 2009, it works with Pvxcom.exe. We are having issues with this version (leaving too many copies running, crashing in the middle…
  • Add Purchase Invoice / also known as Purchase Journal/ also knows as GRV using Sage 50 U.S SDK 2018

    I wanted to add SaleInvoice using the SDK and found out that there is a method Company.Factories.SalesInvoiceFactory .Create(). But When I wanted to create PurchaseInvoice, I tried to look Create() Method in Company.Factories.PurchaseInvoiceFactory. But…
  • #C and SDK issues

    FormerMember
    FormerMember
    Hi, A little background... We were asked by a client to create a.Net application to do a few things. The more effort we put in the less success we seem to be having. We are trying to create POs, Time records, and add Cost Codes to the DB. Reading…
  • 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…
  • Getting error "Unable to select this batch. This batch was created in Invoice Data Entry." from SO_Shipping_BUS

    I am trying to create a new batch and use the SO_Shipping_BUS object to process a sales order automatically through Shipping Data Entry. The code works if I use SO_Invoice_BUS, but not for SO_Shipping_BUS. When I try to set the invoiceNo key, I get…
  • 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? …
  • Getting the rate of a Tax Code

    Hi, I'm using the .NET SDK and I cannot find anywhere the actual rate of a taxCode, is this property available at all? Thanks, Ignacio
  • Not able to create Sales Orders in Sage 100 using BOI

    I have written a code to create sales orders from my c# code.But when i set customerNo$,it always fails and returns '0'. Here is my Code namespace SageSalesOrder { class Program { public static string successCheck(int checkValue, string call) {…
  • 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…
  • How to find log in credentials for Sage 50 database

    I am trying to go through some of the code examples in the SDK, obviously one of the first functions that runs is the database connection function. I have tried sysadmin with various passwords but I can never successfully connect to the database to try…
  • Add payments to invoices added through the SalesJournal?

    I am using the .NET SDK (C#) to export invoices and payments of those invoices from my own database into Sage50. I managed to create invoices (payment type = pay later) in the Sage50 db using the SalesJournal class. I now need to add payments for…
  • 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…
  • Can't open Sage Connection using .Net ConnectionManager and EntityFramework

    I need to be able to read the Sage DB using EntityFramework (EF), and The SDK Connection Manager. Other users are currently working with this company. You may open the company in multi-user mode or wait for the other users to stop using the company…
  • .Net and bill of materials.

    Can we access the component items of an AssemblyItem via .Net? I don't see anything obvious in the API. Maybe COM is the only way to get there?
  • 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…
  • Development Partner resources

    I just joined the Development Partners program because based off the website the program offers “Access to a software development kit (SDK), including tools, sample code, and resources you need to successfully develop and test applications. For selected…
  • 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…