Sage 300 view to read data using COMAPI in VB6.0

By | August 31, 2020

The customer base of Sage 300 ERP is increasing day by day with huge volume of data. Sage 300 has some fields that are calculated during runtime and are not physically available in SQL tables. Accessing the runtime fields becomes very important for some customization or export routine, Sage 300 business view provides the accessibility of those fields.

New Stuff:

In this blog, we will be looking into the steps to read the data with a sample code. Sample code to read an Average Cost is illustrated below.

Step 1:

Include the Sage 300 COMAPI in the project.

Step 2:

Once the COMAPI is included, create the object of the View, Open the View and Read the fields from the selected view.

View to read vb6

An Average Cost is now available for the selected item and location which can be used for further operations.

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.