Skip to main content
Solved

How to Restrict Dashboard View for Managers to Their Direct Reports Only?

  • November 22, 2024
  • 1 reply
  • 56 views

AgntSmith

Hi everyone,

I’ve successfully built a dashboard in Acumatica for Employee Timesheet Status Reporting that includes the following features:

  1. Widgets:

    • Four widgets showing the current week's timesheets categorized by status: OnHoldPending ApprovalRejected, and Approved.
    • Widgets are color-coded:
      • Red for OnHold, Pending Approval, or Rejected if there are hits.
      • For Approved, Red if there are no hits and Green if there are hits.
  2. List View Widget:

    • Displays timesheets for the current week plus two additional open business days.
    • Filters out timesheets that are Approved or Released.
    • Allows managers to drill down into timesheets for additional processing.

Now, I’d like to add a restriction so that managers accessing the dashboard can only view timesheets of employees reporting to them and no one else.

What I Need:

  • Step-by-step guidance on how to implement this restriction within Acumatica.
  • I understand that this might involve:
    • Adjusting the Generic Inquiry (GI) for the dashboard.
    • Adding a condition to filter employees based on the ManagerID field in the EPEmployee table.
    • Possibly using the CurrentUserID function to dynamically limit the results.

I have tried multiple scenario but unfortunately didn’t find a solution as of yet. Any insights or detailed instructions would be greatly appreciated!

Thanks in advance!

Best answer by lauraj46

Hi ​@AgntSmith ,

In the underlying Generic Inquiry(s) you can filter results by using @me on the right hand side of a condition.  This will dynamically limit the results that flow to your dashboard based on which user is logged in. 

As far as rights to drill into specific timecards, that is controlled by defining your Company Tree.  There are other posts on this board that speak to that topic, such as this:

Hope this helps!

Laura

View original
Did this topic help you find an answer to your question?

1 reply

lauraj46
Captain II
Forum|alt.badge.img+8
  • Captain II
  • 606 replies
  • Answer
  • December 3, 2024

Hi ​@AgntSmith ,

In the underlying Generic Inquiry(s) you can filter results by using @me on the right hand side of a condition.  This will dynamically limit the results that flow to your dashboard based on which user is logged in. 

As far as rights to drill into specific timecards, that is controlled by defining your Company Tree.  There are other posts on this board that speak to that topic, such as this:

Hope this helps!

Laura


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