Developer Tools
JDeveloper
You created a view object that can be used as the provider for a list of values in the user interface. That view object also serves as a list of valid values in the validation of the CustomerId field.
When you configured the validation rule, it should have looked like this:
The Validation Rules section on the Attributes page should look like this: