跳至內容
選單
此問題已被標幟
1 回覆
1527 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
12月 24
1072
4
12月 24
30789
2
12月 17
16854
0
4月 15
3891
1
3月 15
9439