Get List of Companies programmatically from Sage 300 using COMAPI in C#

This post was originally published on this site

this blog, we will be looking on getting List of companies from Sage
300 using COMAPI in C# .Net. Company information is required when
working on integration with 3rd
Party Product and also when running an independent application
outside of Sage 300 ERP.

User can have a good working environment to use the product/utility for multiple companies without logging into each company within Sage 300 ERP system. It would be as good as creating our own login screen for an application.

New Stuff:

We will be looking into the steps to
create the same with a sample code.

Step 1:

Include the Sage 300 COMAPI in the project.

Step 2:

Once the COMAPI is included, create the object of the Session, initialize it and loop through the organizations in the session to get the companies.

The list of companies is now available and can be stored in an Array, List, DataTable or any other object and can be used within our program/application.

About Us

Greytrix a globally recognized Premier Sage Gold Development Partner is a one stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.

Greytrix helps in Sage ERP
and CRM upgrades to the latest version and migration for Sage Intacct from
Sage 300, Sage 100, Sage 50 and QuickBooks
; for Sage
100, Sage 300 (Sage Accpac), Sage Enterprise Management (Sage X3) from Sage Pro, Sage 50 US, Sage 50 CA, Sage 50 Usage
Business Works, Sage Business Vision
and QuickBooks; for
Sage CRM from Salesforce | ACT! |
SalesLogix | Goldmine | Sugar CRM | Maximizer

For more information on Sage ERP – CRM migration solutions, please contact us at We will be glad to assist you.

The post Get List of Companies programmatically from Sage 300 using COMAPI in C# appeared first on Sage 300 ERP – Tips, Tricks and Components.

You May Also Like

About the Author: Optimize Our Inventory

Leave a Reply

Your email address will not be published. Required fields are marked *