Variable Class Function inside Calculator

By | January 21, 2021

There is a tool in X3 hidden inside the calculator that will tell you everything about the function that you are currently using. Note that this only works with Classic (AKA convergent) functions that are data entry type functions. So, functions under the administration module (for example) will not have this ability as they are not classic functions (i.e. Entry type functions). For example, if you are using Sales order i.e. Function “GESSOH”

it will show are the statistics related to the function “GESSOH”.

  • Go to Right list click on Help >> Diagnosis >> Calculator
Fig : Calculator

Click on the right side of the calculator(refer the below screenshot).

Fig : Calculator

You will see a list with four options. Click on “Variable class”.

 Calculator options
Fig : Calculator options
  • The following screens should load. So, what this tool does is it tells you statistics on the current function you are in. So since I started with Sales Order (GESSOH) it is going to show me the stats for GESSOH.

The first section is the Class Selection. It allows you to view the values and type of classes specific to the function loaded (GESSOH).

  1. The first screen shows the all the classes related top that perticular function and the different variables and fields used in the function and also their respective values.
Fig : Class selection screen

2. This is followed by the Memory Section. Memory allows you to see current memory used as it pertains to the MAXMEM field. It also shows you defaulted classes so you can look them up independently.

Fig : Memory screen

3. Next after that is the Screens Section. The Screens allow you to view what screen codes are accessed by the function.

Fig. Screen used in current function

4. Followed by that is the Tables Section. The Tables show you what Tables are accessed by the function.   Note that there is a max number of tables that a function can open.. The point is there is a max. If you look closely at the table list, you can see some other tables that are not initially part of Sales Order (GESSOH) like BPCUSTOMER table which goes to the Customer function (GESBPC) or ITMMASTER which goes to the Products function (GESITM). So, you can see how each function is tied to each-other.

Fig: Tables used in current function

5. After that is the Variable Class section. This section allows you to see what classes are actually in use currently as opposed to the Class Section where you can lookup all the Classes used for the function.

Fig : Variables used in current function.

6. The next screen “Processing” displays the script files that are being currently used by the function. Processing Section shows what processes are currently being accessed like MENU.adx for getting menus and stuff like that. It can be handy if your looking to see if any custom adx processes are currently running.

Fig.: Script files used in current function

7. And lastly, the Sequential Files section. This section shows what specific files are opened when using the function like mappings and print directories.

Fig : Sequential files used in current function

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 caters to a wide range of Sage X3, a Sage Business Cloud Solution, offerings. Our unique GUMU™ integrations include Sage X3 for Sage, Dynamics 365 CRM and Magento eCommerce along with Implementation and Technical Support worldwide for Sage X3. Currently we are Sage X3 Implementation Partner in East Africa, Middle East, Australia, Asia, US, UK. We also offer best-in-class Sage X3 customization and development services, integrated applications such as POS | WMS | Payment Gateway | Shipping System | Business Intelligence | eCommerce and have developed add-ons such as Catch – Weight  and Letter of Credit and India Legislation for Sage X3 to Sage business partners, end users and Sage PSG worldwide. Greytrix Sales Commission App for Sage X3 simplifies commission calculations and postings on sales transactions.

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.

Greytrix is a recognized Sage champion ISV Partner for GUMU™ Sage X3 – Sage CRM integration also listed on Sage Marketplace; GUMU™ integration for Sage X3 – Salesforce is a 5-star rated app listed on Salesforce AppExchange and GUMU™ integration for Dynamics 365 CRM – Sage ERP listed on Microsoft AppSource.

For more information on Sage X3 Integration and Services, please contact us at, We would like to hear from you.