AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Acumatica Generic I...
Calculating Initial...
 
Notifications
Clear all

Questions Calculating Initial Response Time (Cases GI)

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Tim Rodman 5 years ago
2 Posts
2 Users
0 Reactions
1,796 Views
RSS
Daniel Collins
Posts: 1
 Daniel Collins
Topic starter
October 26, 2020 5:23 pm
(@dcollins)
New Member
Joined: 5 years ago

I am trying to get an accurate initial response time from our Cases generic inquiry and need to account for Business Hours only. I know I can use the initial response field to provide an amount for the entire amount of time lapsed between case open and the first response but I need to calculate the total hours (and Ideally minutes too) for the Business hours that pass between case open and first response. 

Business Hours: M-F 8:30AM - 5:30PM

 

Example:

Case Created: Saturday 10/24/2020 7:32AM

Initial Response: Monday 10/26/2020 5:23PM

Initial response Time: 57h 51m 

*Goal* Initial Response Time (Business Hours Adjusted): 8h 53m

 

Has anyone had this requirement before and potentially have a way of calculating this on a GI? Or is there some preference I am missing that we could use to set this up for the field to calculate with business hours only calculated?

I have been running through so many different formulas and cannot get the GI to give me the correct calculation for some reason (most likely user error here).

Thanks!


1 Reply
Tim Rodman
Posts: 3204
 Tim Rodman
Admin
October 27, 2020 12:00 am
(@timrodman)
Famed Member
Joined: 11 years ago

Regarding the idea of Acumatica calculating this automatically, I don't think there is a way, but that would be a good question for the new Acumatica community forums at https://community.acumatica.com . Most of the forums content here on AUGForums.com will now focus on the reporting tools in Acumatica.

Regarding how to calculate it in a Generic Inquiry, off the top of my head here, what about taking the Case Created pieces apart, adding days/hours to the pieces, and putting them back together again.

For the appropriate day, you could detect a weekend day with the DayOfWeek() function and move it to the following Monday.

For the appropriate hour, you could detect if it's before 8:30am or after 5:30pm with the Hour() function and move it to the next working our if it's outside the bounds.

The resulting formula might be pretty long, but it should work in theory.


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,532 Topics
  • 11 K Posts
  • 45 Online
  • 2,418 Members
Our newest member: Chad Treadwell
Latest Post: Limited or no support from Acumatica?
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

  • Rafie Schwartz
Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2026 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×