i am trying to create the subquery criteria in a BAQ for the following in SQL:
((por.PromiseDt is not null and por.PromiseDt <= cast(dateadd(month, 1, getdate()) AS date)) OR
(por.DueDate is not null and por.DueDate <= cast(dateadd(month, 1, getdate()) AS date)))
As you can see I have essentially ((A and B) OR (C and D)). How do I represent the outermost parentheses in the BAQ? I cannot create a criteria line for just a ( or ) without a table and field. See below: