Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1387 Представления

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

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
дек. 24
965
4
дек. 24
30553
2
дек. 17
16678
0
апр. 15
3814
1
мар. 15
9362