Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1848 Tampilan

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

Avatar
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
3
Sep 25
17378
1
Des 24
1301
4
Des 24
31304
0
Apr 15
4253
1
Mar 15
9747