Drop Down List returning inactive items

We have just made some adjustments to all of our indirect codes and as a result I have significantly more inactive indirect codes then I do active codes which was the purpose. However, on time and expense entry when I go to select an indirect code, the drop down list is returning every indirect code regardless of whether it is inactive or active.

I cannot delete these codes as they have posted labor transactions against them.

Does anyone know how to modify an out of the box drop down list to only return “active” codes?

What i would do is create a Customization for this, select the ComboBox/DropDown that i want to edit on Developer Mode and in the properties of the ComboBox theres a property named SearchFilter and i would put in there the filter, it should be something like IsActive = 1

Something like this works for filtering
image

Thank you guys! That worked great!

Since you resurrected this ancient thread, I will take the opportunity to encourage everyone to vote for this idea: https://epicor-manufacturing.ideas.aha.io/ideas/KNTC-I-2605