Quantcast
Viewing all articles
Browse latest Browse all 5139

How to use a query in two different roles without copying it

Hi,

 

The report I try do should display only data that concerns only Controlling area (0co_area) of the user (there is need for two groups of users)).

 

So far I created an authorization where I wrote down "0co_area = 1002" condition.

Image may be NSFW.
Clik here to view.
Bez tytułu.png

then I created a role connected with that authorization.

Image may be NSFW.
Clik here to view.
Bez tytułu.png

 

In that role I have a query with variable processing by authorization.

Image may be NSFW.
Clik here to view.
Bez tytułu.png

Then I intend to create similiar authorization and role connected to it for users of 0co_area=1000.

 

Now I think the only way is to create a copy of the query and copy it to the role for 0co_area=1000.

The problem is that I dont wan't to have two querries instead of one.

 

Any answers appreciated, 

Regards, Leszek 


Viewing all articles
Browse latest Browse all 5139

Trending Articles