Skip to main content
Solved

Using curent user Workgroup in generic inquiries filters

  • 24 February 2022
  • 2 replies
  • 156 views

Hey !

 

I currently face difficulty with filtrering query results  :

I often need to restrict the documents visible for user (ie Invoices or P.O.) I use the @me parameter but I also need to keep the abaility for the general accounting users to see all the lines without restriction (They may not be the creator, last modificator or owner). 

Is the a way to pass the workgroupID of the curent user in parameter  or an other way to escap filtrering with condition of the curent user ? 

 

 

 

Thanks for your help.

 

Cécile

 

2 replies

Userlevel 7
Badge +19

Hi @cecileclep09  Can you please review below link and might help you.

https://asiablog.acumatica.com/2019/03/access-restrictions-by-workgroups.html

@Naveen B , thanks for answering. This post is brillant. 

 

This link adress excatly my need nevertheless, I had in mind a no-code solution:grin:.

I tried some conditions with DacAccessInfo but it isn’t working. (I’m not able to bound this DAC and no condition can be apply to). 

I guess this is not possible.

 

 

Reply