Legal entities are paramount in setting up applications. They serve as independent building blocks of settings.
As a matter of fact, most, if not all, settings can be defined for a single legal entity or a distinct set of them. Thanks to this, it is possible to set up very different behaviors and parameters for different legal entities in the same application.
A legal entity properties
A legal entity is quite the simple object, as it only consists in :
- a name : string that is the actual name of the legal entity
- a code : string that is automatically generated from the legal entity's name but can still be freely edited. Its main purpose lies in imports and exports (identification key)
- a country : this is the country in which the legal entity resides. Beware, once the legal entity is created, this value can't be changed
Creating a new legal entity
Creating a legal entity is an easy feat, but sure is not an operation to be taken lightly, as legal entities are at the core of applications.
There are a few rules of thumb when it comes to legal entities :
- it should reflect reality : creating a legal entity that has no meaning in real life is often not a good idea
- it should at least represent a very distinct population of users, subjects to very distinct rules, or managed by an isolated administrator
In order to create a new legal entity, you will have to :
- click on the "Add a legal entity" button (at the very bottom of the list)
- define its name, code and country
- click on the check icon to create it, or the cross to cancel
Disabling a legal entity
Permanent deletion of a legal entity is impossible, for history purposes. But a legal entity can be "disabled", that means it won't ever be shown in interfaces. Disabling is thus a permanent operation : you won't be able to reenable a disabled legal entity.
There is but one condition to disabling a legal entity : it must bear no users. You will thus have to move all its users to a substitute in order to disable it. Once it is done, a "disable" link will appear upon selecting said legal entity.