In Sage X3, there are several types of windows design to choose from such as Object, Miscellaneous, Inquiry and Inquiry criteria. Out of which main transaction windows are object types, however miscellaneous types windows offer freedom to customize the windows however the developer wants.
Below we’ll show how to disable a custom window button for miscellaneous windows during runtime.
For this we’re referencing following paths and screenshots below:
Development: All > Development > Script dictionary > Windows (GESAWI)
Script editor: All > Development > Script dictionary > Scripts > Script editor (ADOTRT)
New Stuff: Gross Price logic in Sales and Purchase Order Transactions
-As shown in Fig. 1 we have our miscellaneous window with several custom buttons and all are enabled to use. But if we wanna disable any button based on any condition we can do so based on a Subprogram call.
-First we’ll navigate over to the development window to check the respective button code for the button we need to disable as shown in Fig. 2. Now to disable it we can make use of below code as shown in Fig. 3.
-After the code is scripted and compiled, during runtime we can see the button is disabled as shown in Fig. 4. In the code the button codes are added within the string format.
This way we can disable buttons within the Miscellaneous windows in Sage x3 for various purposes.
About Us
Greytrix – a globally recognized Premier Sage Gold Development Partner is a one-stop solution provider for Sage ERP and Sage CRM needs. Being recognized 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 expertise.
Greytrix caters to a wide range of Sage X3 (Sage Enterprise Management) offerings – a Sage Business Cloud Solution. Our unique GUMU™ integrations include Sage X3 for Sage CRM, Salesforce.com and Magento eCommerce along with Implementation and Technical Support worldwide for Sage X3 (Sage Enterprise Management). Currently we are Sage X3 Implementation Partner in East Africa, Middles East, Australia, Asia. 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 for Sage X3 to Sage business partners, end users and Sage PSG worldwide.
Greytrix is a recognized Sage Rockstar ISV Partner for GUMU™ Sage X3 – Sage CRM integration also listed on Sage Marketplace; GUMU™ integration for Sage X3 – Salesforce is a 5-star app listed on Salesforce AppExchange.
For more information on Sage X3 Integration and Services, please contact us at x3@greytrix.com. We will be glad to assist you.