Question

I'm working on a C# .NET application that needs to integrate to Accpac 5.6. I have not been able to find any useful documentation on the Accpac API. Where can I find Accpac API documentation?

Was it helpful?

Solution

There isn't a huge amount of documentation unless you sign up for Sage's Development Partner Program. In general you can record a macro of a process that you want to do through your integration (like creating invoices, for example) and then translate the resulting VBA code into the language that you're using.

Joining the Development Partner Program is likely overkill for what you're needing. Typically you'd ask your dealer (is you're a customer) for the documentation. There are a few other sites around that have some information like Tek-Tips.com. If you have specific questions then we can try to answer them here at SO.

OTHER TIPS

I know this post is old, but hopefully, this answer will be useful to developers that still might have the same problem.

ACCPAC comes bundled with two types of APIs, the COM API (AccpacCOMAPI), and the .NET API (ACCPAC.Advantage).

In my research, I found some Accpac COM API documentation on the Stephen Smith's blog which you can download here. Smith also wrote a tutorial in VB to explain some of the workings of the API (a simple connection to Accpac), and he has several articles that discuss the APIs, mainly the .NET API, among other things . The tutorials on Ken's Programming offer a good introduction to the COM API, and they are written in C# (your preferred language). Find them here and here.

Furthermore, the COM API is explored in the ACCPAC 'System Manager User Guide', since it is that API that is used to write Macros. The document, which can be downloaded here for ACCPAC 6.0A, explains how different objects relate to each other, their purpose, properties and methods. Read the chapters 13, and 14.

Hope this will help whoever's reading.

Live long and prosper.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top