Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1341 Visualizações

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

Avatar
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
dez. 24
927
4
dez. 24
30446
2
dez. 17
16588
0
abr. 15
3743
1
mar. 15
9307