Filtering a “Reason” ComboBox based on a read-only “Status” ComboBox in AppStudio

I’d use the User Codes instead of a UD table. You can make each status code a UDCodeType and then the available reasons would be CodeIDs under that type. Then your Reason combo can be setup as a usercodescombo (see link below for reference), and instead of hard coding your Code Type in the Filters Params you could try CodeTypeParam=‘{yourdataview.UD_OrderStatus_c}’.

I haven’t tested that so it might need tweaked a little.

2 Likes