Entity Message¶
Any general message that can be displayed in digest. Users cannot add or remove messages, but they can modify their content in each used language.
A message has a pre-defined type which indicates where it might be used.
Known types for now are :- Connection (to database)
- Business : when the message is related to some entity
- Screen : when the message is related to some information on screen
There is a Unknown type in case the message is not related to anything known.
Special characters might be used when parts of the messages have to be replaced by some non-static information, coming for some entity for example. Special characters look like- %0, %1,...
- [NAME], [KIND],...
When modifiying or translating the message, keep the special characters or information might be missing.
Standard features¶
- Accessible by a code field
- Translatable
Using entities¶
- code : type of message
Examples¶
- 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