Has anyone introduced custom feature flags i.e. a ...
# suitescript
c
Has anyone introduced custom feature flags i.e. a checkbox is ticked somewhere which means your script should branch into a new bit of code/module etc? I've got a set of scripts that are shared between multiple subsidiaries and some have different requirements, I want to enable certain features for certain subs and allow them to turn the features on and off themselves. This is easy enough to do but it doesn't feel 'right' having if(feature) {do something else} littered around the code.