Undeclared Identifier while making View

By | September 30, 2021

As Sage 300 provides an functionality to create a custom views, here in this blog we will be discussing about the error “error C2065 : ‘IDSS_BASE_GDNOTES’ : Undeclared Identifier” while making the view.

New Stuff:  Unable to connect to the database or Database specification is not valid

Below is the screenshot of the error that may occur:


The above displayed error is not explanatory, and the developer cannot understand the same by simply reading it

Below is the screenshot of the error file:


There is an error in gdnotes.c file from path – C:\DEV\GD\SOURCE\VIEWS, so we will see how to fix the same.

Below is the screenshot of the file:


Developers can add a line ‘#define IDSS_BASE_GDNOTES’ in GD.i (C:\DEV\GD\source\project) file and make the project again after that make the view this will resolve the issue we were facing earlier.

About Us

Greytrix – a globally recognized and one of the oldest Sage 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 (listed on Salesforce Appexchange), 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.

The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.

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