I have a BO ProjectResource that has an attribute Resource of Type Resource, defined with Presentation as a dropdown. I have configured he dropdown to use a query. The query calls a SQL Server stored procedure.
At runtime, the stored procedure is being ignored.
This first shot shows the expected results running the query by hand in SQL:

This next one shows the query (shows the code) that is called in the presentation options for ProjectResource.Resource:

This next one shows the query (look at the filter) that is called in the presentation options for ProjectResource.Resource:

This last one shows the runtime results, which do not match the manual query results form the top screenshot:

So, I am confident that AWAREIM is ignoring the query selection defined in the drop down for ProjectResource.Resource
Any ideas?