How to know a Mask Variable is Initialized or not?

By | May 11, 2016

In Sage X3, sometimes you may have to check for the initialization of a particular mask variable. Sage X3 provides an inbuilt function to do the same.

Below function is used to know whether a mask variable is initialized or not.

varinit ( zone_name [, exp_index ] )

Where,

Zone_name :     [ class ] name_of_variable.

Exp_index :        Integer expression for the index of the variable

VALUE  :

1 : If the zone is initialized

0 : If the zone is not initialized

For example, if you want to know whether BPCNUM (Customer) field of Customer screen (BPC0) is initialized or not, we can use varinit().

Kindly refer to the below screenshot.

Mask Variable Initialization

Hope this blog helps!

About Us

Greytrix is one stop solution provider for Sage ERP and Sage CRM needs. We provide complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.

Greytrix have some unique solutions of Sage X3’s integration with Sage CRMSalesforce.com and Magento eCommerce. It also offers best-in-class Sage X3 customization and development services to Sage business partners, end users, and Sage PSG worldwide.

For more information on Sage X3 Integration and Services, please contact us at x3@greytrix.com .We will be glad to assist you.

Other Related Blogs: