I have the following code to create a session.
Session s = new Session(); s.Init("", "XY", "XY1000", "67A"); s.Open(User, Password, Company, DateTime.Today, 0);
A client had been using ADMIN/ADMIN for the username and password (don't ask why they…
Hello,
How can i get data of all customers and vendors using .NET SDK ?
In Development Guide I can see there is a method "Load by name", which can only return 1 Customer/Vendor.
But I want to retrieve all the Customers/Vendors. Is it possible…
So now that Sage has overhauled their website, I can no longer find a way to download the SDK. I used to be able to find it on the public facing site, but now they've made sure to make no mention of it. All the old links suggesting how to download the…
Hi,
I've been working on automatic registration of transactions for Bill of materials.
but I've been encoutering this issue for a couple of days now.
its been throwing me an error that says "Invalid or missing posting date encountered"
I opted…
Hi, i've been constantly getting the error "System.Exception: <NewObject Error: 200>" when I register the BM production entries.
here's what I have coded:
oSS2.nSetProgram(oSS2.nLookupTask("BM_ProductionRegister_UI"))
objTransactionRegister =…
Sage 50 SDK / API requires the Sage 50 desktop UI to remain open.
Sage 50 .NET already has this ability implemented exactly how the Sage 50 COM SDK / API should be implemented.
I went to deploy a desktop application on a clients machine after completing development and testing. Upon authentication, I get the following exception message. I verified that we are using the same version of Sage50 and the build number. Does anyone…
Hello,
We have a Sage 300 On Premise (non-cloud) version. We are looking to integrate it with our e-commerce website (PHP). We want to do two-way integration.
1) : From Sage 300 to website Customer invoice, order history, tracking information from…
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…
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,…
When we hire new employees where I work, we have to create accounts in all kinds of different programs. Plus create windows accounts and email accounts. I wrote a Information Management Program that I have connectors to all our programs (all Microsoft…
The company account is accessible through the desktop Sage 50 US Edition just fine. When we try to access through our app that uses Sage API to access it gives the following message. ANyone knows what the issue is?
WIndows 2012 Server R2
Sage 50…
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…
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…
Hello all,
We've been using the SDK and everything is working great on our development box. However, we are now ready to distribute to our clients computer. The documentation seems pretty sparse in this regard.
How do we distribute the SDK to our…
i am trying to integrate sage 500 with my application , but i am unable to find from where i can download sage 500 sdk ....can any one help me out ?
thank you
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…
I´m working with sage 50 CA 2016 SDK, and i have a problem with database connection.
When I run this code in a console application successfully opens the connection, but when I run the same code in a Winform application , does not open the connection…
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…
Hello,
I recently subscribed to the Sage Silver Partner program. I have installed the Sage-50-US 2014 app that came with the program. I have also opened the sample app CSSDK that utilizes the COM interface SDK (because I want to create/import Purchase…
Hi All,
I am getting the message Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations. when I am calling OpenSalesJournal in the 2015.3 SDK. The call stack is:
System.MethodAccessException: [F:\Development…
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…