Skip to Content
Menu
This question has been flagged
1 Reply
1255 Views

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

Avatar
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
1
Dec 24
863
4
Dec 24
30297
2
Dec 17
16469
0
Apr 15
3665
1
Mar 15
9252