Combo box displaying string options but binding to an int column value

Hi there, I am trying to setup a custom combo box field and have it point to an int UD field while displaying string text values for each indexes but can’t seem to figure out how. The closest I got was by using user codes, setting the BO and pointing to the right user code. I then get an error message when showing the field saying that LineDesc doesn’t exist but it’s what the field is called and Epicor even puts it to that by default. Thank you for your help!

Welcome to our little community, Remi! I am not exactly sure how to do what you need, but if you are using the classic customizations, you can insert a BAQ combo box, and define the display and value members separately. The value member gets saved, and display member gets shown in the combo box. In my example I am saving the display field, but you could easily put description in the display field, or anything else.


Good luck!