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?