Cannot select Category for condition in the purchase requisition workflow

We got a couple of issues when on the purchase requisition workflow how the [Purchase Requisition Lines.Category] is evaluated in workflow conditional statements. While we expect to see it like that:

1

And when you clicked on Enter a value you were able to drill back and select a record from the hierarchy.

While it is shown like:

2

The issue is connected to DEL_ProductCategoryId field which also has label category and it is not connected to Category hierarchy

3

This is due to Foundation Upgrade model installed on the environment. This model is installed when we upgrade between versions: 6.0 to 6.1 or between AX4 to 6

After we are done with data upgrade we can delete this model.

If you installed also CU10 you will also need to delete the model Update for Foundation Upgrade

4

For more details please see video: https://channel9.msdn.com/Blogs/mfp/Microsoft-Dynamics-AX-2012-Uninstalling-the-Upgrade-model

After removing Foundation Upgrade model and Update for Foundation Upgrade you can select correct condition for Category field