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

By | April 24, 2020

In this blog, we will be looking on getting List of companies from Sage 300 using Advantage API 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: Get List of Companies programmatically from Sage 300 using COMAPI in VB6.0

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

Step 1:

Include the Sage 300 Advantage DLL in the project.

Step 2:

Once the Advantage DLL 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, Data Table or any other object and can be used within our program/application.

About Us

Greytrix – a globally recognized and one of the oldest Sage Gold Development Partner is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged 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 competence.

Greytrix offers unique GUMU™ integrated solutions of  Sage 300 with Sage CRM, Salesforce.com, Dynamics 365 CRM and Magento eCommerce along with Sage 300 Migration from Sage 50 US, Sage 50 CA, Sage PRO, QuickBooks, Sage Business Vision and Sage Business Works. We also offer best-in-class Sage 300 customization and development services and integration services for applications such as POS | WMS | Payroll | Shipping System | Business Intelligence | eCommerce for Sage 300 ERP and for Sage 300c development services we offer, upgrades of older codes and screens to new web screens, latest integrations using sData and web services  to Sage business partners, end users and Sage PSG worldwide. Greytrix offers 20+ addons for Sage 300 to enhance productivity such as GreyMatrixDocument AttachmentDocument NumberingAuto-Bank ReconciliationPurchase Approval SystemThree way PO matchingBill of Lading and VAT for Middle East. The GUMU™ integration for Dynamics 365 CRM – Sage ERP is listed on Microsoft Appsource with easy implementation package.

For more details on Sage 300 and Sage 300c Services, please contact us at accpac@greytrix.com, We will like to hear from you.