I've been working on an old custom screen in Service that checks systemFlags to decide if 'stuff' is gonna happen or not.
The code is simple:
//Read system settings
Bool defaultExternal = systemFlags.getBitNo(1);
Bool defaultCopyTo = systemFlags.getBitNo(2);
I'm trying to figure out where these flags are set in the client, and i found where External access level is set (System -> Settings):
If bitNo = 1 is the first checkbox then shouldnt bitNo = 2 be right after?
I haven't found usefull documentation on this. The 'values' are located in config.flags:
, and the explanation is this: "A bitmask of flags controlling various options." ..
But that doesnt really explain where these values can be found in the client and how I can edit bitNo(2) to be something else (besides doing it with a CRMScript). It would have been great to have a deeper understanding of this, so I can use the system settings more often.