Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2341 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
ott 25
18094
1
dic 24
1667
4
dic 24
32075
0
apr 15
4755
1
mar 15
10227