I have a DAI view that I can execute and browse the result set with no problem. But the report connected to that view gives a SQL error "Incorrect syntax near the keyword IF". That keyword does not occur in the view -- so DAI has to be generating it on-the-fly.
I had been muddling my way through setting up an alias1 filter on customer ID. I had that working fine. I could login as a user that had an alias1 value of "XYZ" and when browsing the view as that user, the result set was constrained to rows for "XYZ".
Thinking something I'd done wrong was causing the error, I removed the alias value definitions. However the system won't delete the system alias definitions -- and I'm thinking this has something to do with the error.
I've blanked out the values you see displayed, clicked save, get the system updated message, and then navigate back to this screen and the values are not gone. (BTW -- its tedious that navigation returns to the system start page after each update to any user or system data, and one has to navigate back to where one started.)
I admit I'm delving into this without having fully read the docs in this area and my understanding is still hazy so I'm probably doing something dumb.
Bob