Entity Code » History » Version 2
« Previous -
Version 2/8
(diff) -
Next » -
Current version
Blaise Carrupt, 23.07.2014 10:43
Code Entity¶
A code is a common entity that regroups entites having following fields :- a translatable code field
- a translatable description
Typical codes are “Type of...”.
A code has two aspects :- the definition of the code (the code itself)
- the list of values that can be selected in digest
The definition gives the meaning of the code, and says what it’s used for. “Type of screen” is a code, as well as ”Invoice status”.
The code has a type (which obsiously are codes too) :- System :
*user cannot modify the code except for its description
*user cannot add or remove values, neither modify an existing value except its description - System/User :
*user cannot modify the code except for its description
*user can add and remove values or modify existing values - User : user created the code
*user can delete or modify the code
*user can add and remove values or modify existing values
- System : user cannot modify the value, except its description
- User : user can modify the value
Accessible by a code field
Translatable
- code : type of message
- SCR_FIELD_MANDATORY - Field '%0’ is mandatory, Le champ '%0’ est obligatoire - Screen
- NO_ROW_SELECTED - No row has been selected, Aucune ligne n’a été sélectionnée - Screen