We have given our sales folks access to the Salesperson WB Tracker. The menu item behind it is SalespersonWorkBenchTracker.dll. However when I go to dashboards, I see only Salesperson Workbench.
We would like to create s second dashboard, with different information, that has the same security rules as the Salesperson Workbench tracker. Where can I find the implementation of the security rules? I made a copy of the SalesPersonWorkbench so that I could poke through it, but have found nothing. Thus far, I have tried the the following:
About half the z queries in the WB tracker (am still going through them)
In the tracker itself
I am assuming that I am looking for criteria that has something to do with whether the current user is an authorized user of a specific workforce ID, but I have not yet come across anything like that.
DB security related to sales info is heavily influenced by Territories. If you’re using Territories, you might have hit some impassable security issues.
We are using territories. I just want to be able to take the same security logic and apply it to another dashboard, but I can’t see where the security logic is to even read it.
From my experience, if you use BAQs or Business objects, the framework just handles it. If you’re going to the database via dbContext and code then you’re on your own. A BAQ definitely respects territory (and plant, and company, and tenant) rules.
As long as you include the Customer table into your BAQ, then the normal territory logic will be used. Epicor applies additional security logic automatically to certain tables, which automatically includes the customer table as one of those tables.