Business rule not working with database view

mlklein
Kilo Contributor

I created a database view to join 3 tables for querying via the ODBC driver. The numerous exclusions I needed did not work via the Where clause in the views so I created a business rule to execute BEFORE Query with conditions that exclude data for specified fields (like unit = TAMUG). But when I run a report to test the rule on this database view, it doesn't work.  Does the rule not filter the data unless you script it?  Or is querying via a report not a good test?

6 REPLIES 6

mlklein
Kilo Contributor

Here is the field details:

I haven't seen DB views able to work with the prefix proceeded by a ".". As far as I have seen, the prefix should be proceeded with a "_" to work properly.

 

So your where clauses would be like "pj_sys_id = pt_parent"