Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2159 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
říj 25
17807
1
pro 24
1551
4
pro 24
31791
0
dub 15
4572
1
bře 15
10060