Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1540 Vues

I just found that in selection field key is store not the value why is that give me valid reasons 

Avatar
Ignorer
Meilleure réponse

Keys are compact and consistent across records (e.g., 'draft', 'done', 'cancelled'), which makes them easier to query and process in the backend.

Values (display text) can be longer, localized/translated into different languages, or dynamic, which would make database queries less efficient if stored directly.

The localization impact is significant, if someone in Spain marked a Sales Order as "Hecho" then it would cause problems for someone in the United States looking for Sales Orders marked as "Done".

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
déc. 24
1078
4
déc. 24
30797
2
déc. 17
16877
0
avr. 15
3908
1
mars 15
9455