Report parameter

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Mar 1, 2012
Company: GSS

I have a warehouse report created by 1C report's builder. However, each user only can see a warehouse which he or she have right. I do not know how to catch user in session to fill warehouse parameter, anyone can help me?

 
#2
People who like this:0Yes/0No
Active user
Rating: 2
Joined: Oct 4, 2018
Company:

Hello, Ha Thien Thach!

I think, key word "ALLOWED" in query text is what you need for automatically filter data for current user:

 
#3
People who like this:0Yes/0No
Active user
Rating: 2
Joined: Oct 4, 2018
Company:

But this way is right only if you use RLS in roles. Somehow like this:

 
Subscribe
Be the first to know tips & trick on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.