Skip to main content
Question

How to skip Branch Access Rights Verifiation in Selectors


aaghaei
Captain II
Forum|alt.badge.img+9

I have a special use case that I need to have Acumatica Engine to skip Branch Access Rights verification on a specific Selector. Out of the box, when Access Right is imposed to Companies/Branches using the User Roles, Whereever Acumatica Engine points BranchID in a DAC which is subject to Row Level Security adds a clause to where statement something like

BranchID IS NULL OR BranchID IN (IDs of the branches user has access)

How I can force the system to skip these access verification in a specific selector. I have used CacheAttached Event and am “Replacing” the selector attributes but still the list is shown is filtered by the branches user has access. I tried a simple selector something like

[PXSelector(typeof(Search<CashAccount.cashAccountID>))]

but still I see where statement is appended to limit the branches user has access. How I can go around this?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings