In Sage Enterprise Management, we have a built-in “Isreadonly” property to check whether the class instance can be modified. This built-in property returns whether the properties of an instance can be modified or not. It can be tested but not modified.
- If MY_INSTANCE.isReadonly is 1, properties cannot be modified. Any modification attempt will raise an error with error code 143.
- If MY_INSTANCE.isReadonly is 0, properties can be modified and accessors will be triggered. This is the default value when a class is instantiated.
MY_INSTANCE: name of the name of the class instance which is to be tested. If the value is 0 then the Instance can be modified.
Kindly refer to the below snippet of code for better understanding.
Hope this Helps!
Greytrix is a 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 has some unique solutions of Sage X3 integration with Sage CRM, Salesforce.com, and Magento eCommerce along with Sage X3 migration from Sage 50 US, Sage Pro, and QuickBooks. We also offer 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 firstname.lastname@example.org. We will be glad to assist you.