Selection criteria error: Class Non-existent

Sometimes when selecting on a field, one gets an error, [Application error], "Selection criteria error: Class Non-existent"

In this example, the selection was on a Supplier field on the purchase order window, GESPOH.

It turns out in this instance, there were problems with the BPS data type, some how malformed.

Copying the BPS data type from the X3 reference folder resolved the issue.