Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2152 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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".

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
paź 25
17805
1
gru 24
1547
4
gru 24
31781
0
kwi 15
4558
1
mar 15
10057