Skip to main content
Solved

Inquiry/Dashboard- labor time


I am currently creating a dashboard for our executive team.  I have created a new inquiry for the fields I need to pull in.  I am using the KPI widget and the labor looks like it is coming through in seconds and the inquiry is doing the same when I use SUM in the total aggregate function. Does anyone know how to make it add minutes/hours?

 

 

Best answer by kyle90

@jsteck - Found this post while trying to do something similar - hopefully you’ve figured this out in the meantime, but just in case any one else gets stuck here.

 

You’ll want to convert the LaborTime to decimal, this will give you the total labor hours in minutes which you can then divide by 60 to get total labor hours. This should aggregate as a SUM in the GI

=CDec([AMMTran.LaborTime])/60

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

4 replies

BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • 733 replies
  • October 13, 2023

@jsteck I’m not sure I’ve seen the aggregates on seconds before, typically inputted times are stored in minutes, so if you have a grouping on the employee then you can divide the sum of minutes by 60 and get the hours.
Might be helpful to post some pictures or a .zip of your current GI so we can see it. I’m a visual kind of guy and it really helps me to see it


  • Author
  • Freshman II
  • 2 replies
  • October 13, 2023

Hello,

 

Here is the screenshot @BenjaminCrisman 

 


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2809 replies
  • November 27, 2023

Hi @jsteck were you able to find a solution? Thank you!


Forum|alt.badge.img+1
  • Pro III
  • 106 replies
  • Answer
  • February 15, 2024

@jsteck - Found this post while trying to do something similar - hopefully you’ve figured this out in the meantime, but just in case any one else gets stuck here.

 

You’ll want to convert the LaborTime to decimal, this will give you the total labor hours in minutes which you can then divide by 60 to get total labor hours. This should aggregate as a SUM in the GI

=CDec([AMMTran.LaborTime])/60


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