Adding Custom Feature to the Enable/Disable Features (CS100000) Screen in Acumatica

By | June 22, 2023

Acumatica, a leading cloud-based ERP solution, empowers businesses to streamline their operations and make well-informed decisions. With its robust customization capabilities, Acumatica allows users to tailor the system according to their specific needs. An important aspect of customization is the ability to enable or disable features within the application. In this blog post, we will explore how to add a custom feature checkbox to the Enable/Disable Features screen in Acumatica.

The Enable/Disable Features screen in Acumatica gives administrators the control to manage the functionality and behavior of the system by enabling or disabling specific features. By default, Acumatica provides a wide range of features that cover various aspects of business operations, including finance, inventory management, sales, purchasing, and more. However, businesses often have unique requirements that may necessitate additional custom features.

To enhance the functionality of Acumatica and add custom feature checkboxes to the Enable/Disable Features screen, we need to follow a few steps:

Create a new customization project (refer to the blog below):

https://www.greytrix.com/blogs/acumatica/2022/12/26/customization-approaches-     in-acumatica/

Access the customization editor and create a new customization field by extending the Features Set DAC. Follow the steps below:

  • Go to the Code section.
  • Click on the Add New Record (+) button.
  • Select the file template as DAC Extension.
  • Choose PX.Objects.CS.FeaturesSet as the Base DAC.
  • Click OK to proceed
CustomFeaturesBlog1.png
  • Just replace the code snippet by following code or as per our requirement.
CustomFeaturesBlog4.png
  • Publish the Customization Project and Go to Enable/Disable Features (CS100000) screen.

Here we can see the new Custom Feature Field is added on the screen.

CustomFeaturesBlog3.png

  • If we want to Display the custom feature in another module. We can use below Code snippet. Just replace the second parameter of Feature attribute from null to typeof(FeaturesSet.Modulename) as below.(i.e. integratedCardProcessing).we need to specify the Feature DAC with the required Parent module.

And Here is the result.

CustomFeaturesBlog5-1.png

Once we’ve added the custom checkboxes, we need to implement the logic to handle the enable/disable functionality based on the checkbox values.

1) Write event handlers to capture changes in the custom feature checkboxes. These event handlers will be responsible for updating the corresponding enable/disable settings for the custom features.

2) Update feature enable/disable settings: Within the event handlers, update the enable/disable settings for the custom features based on the checkbox values. This may involve modifying database records or invoking relevant Acumatica API.

This customization is compatible with the trial version license of Acumatica. However, to use it with a licensed version of Acumatica, it is necessary to inform Acumatica about the addition of this module or integration. Acumatica will then include the custom feature as part of the official license, allowing users who purchase this module to access and benefit from the added functionality.

About Us
Greytrix – a globally recognized and one of the oldest Sage Development Partner and a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners and Sage PSG across the globe. We offer Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that require apex code incorporation into the Salesforce platform.

Greytrix has some unique solutions for Cloud CRM such as Salesforce Sage integration for Sage X3Sage 100 and Sage 300 (Sage Accpac). We also offer best-in-class Cloud CRM Salesforce customization and development services along with services such as Salesforce Data MigrationIntegrated App developmentCustom App development and Technical Support to business partners and end users.
Salesforce Cloud CRM integration offered by Greytrix works with Lightning web components and supports standard opportunity workflow. Greytrix GUMU™ integration for Sage ERP – Salesforce is a 5-star rated app listed on Salesforce AppExchange.

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 information on our Salesforce products and services, contact us at salesforce@greytrix.com. We will be glad to assist you.