Skip to Content
0
Former Member
Aug 26, 2009 at 08:19 PM

Deactivate functions in an add-on as per client's requirements

25 Views

Is it possible to create an add-on with differents functionalities that could be activated or deactivated depending on the need of each client? We could activate certain functions in the code and create a different installer depending on what the client is interested in.

Let me give you an example.

We have an add-on that has a function of importing journal entries into SAP's database and another function is updating our own database when changes are made into the SAP's employes table (OHEM). These two functions are not related or complementary. Now, not all clients would be interested in getting these two functionalities, they might need either one of them or both. Can we deactivate certain functions in the code and make an installer for the add-on based on what different clients require?

The idea behind this is to avoid making many add-ons for clients where only one add-on would be required.

Thanks for your help.

Pierre