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

— The Forums are now read-only —

— All new activity now takes place here: —

AugForums.com Discord Server
Forums
AUG Forums
Acumatica Generic I...
Time Card GI Decima...
 
Notifications
Clear all

Questions Time Card GI Decimal Hours from Time Spent

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Pankaj Soni 3 years ago
5 Posts
4 Users
3 Reactions
3,111 Views
RSS
Grant-Westmill
Posts: 6
 Grant-Westmill
Topic starter
February 8, 2021 3:23 pm
(@grant-westmill)
Active Member
Joined: 5 years ago

Hello,

We have a generic inquiry set up to summarize our Time Card hours. They show up in the format HH:MM.

I tried doing a pivot table but the results came out in minutes instead of hours.

So I added a column dividing the Time Spent by 60: =[EPTimecardDetail.TimeSpent]/60

I set it to the same Schema as the labor rate so it shows 4 decimal places.

But if I have a task that only, say 30 minutes have been clocked to, it rounds down to zero.

How can I get a column within the GI that shows the time spent in decimal hours (ideally 2 decimal places but 1 or even up to 4 would be fine)?

I saw some articles to set up a new DAC but I am not that advanced yet so I was hoping there would be an easier way to do it.

We are on 2020 R2.

Screenshot 2021 02 08 112007
Screenshot 2021 02 08 112105

 

Thank you!


4 Replies
Kurt Bauer
Posts: 45
 Kurt Bauer
February 9, 2021 9:42 am
(@kurtybauer)
Trusted Member
Joined: 6 years ago

Try converting the time spent into decimal first using the formula CDec([PMTimeActivity.TimeSpent])/60.  That should fix your issue.

-Kurt


Reply
Grant-Westmill
Posts: 6
 Grant-Westmill
Topic starter
February 9, 2021 12:00 pm
(@grant-westmill)
Active Member
Joined: 5 years ago

That did it, thank you! That was an easy fix.


Reply
Tim Rodman reacted
adam.carri
Posts: 4
 adam.carri
September 6, 2021 7:02 am
(@adam-carri)
Active Member
Joined: 5 years ago

Brilliant, this helped me out too!


Reply
Tim Rodman reacted
Pankaj Soni
Posts: 5
 Pankaj Soni
September 15, 2023 9:01 pm
(@psoni1585)
Active Member
Joined: 6 years ago

Hi @grant-westmill 

I'm trying to create GI to extract employee time card record. but couldn't find proper join between (EPtimecard and EPtimecarddetail) table. could you please help me with the join ?

 

Thanks & Regards,

Pankaj Soni


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,533 Topics
  • 11 K Posts
  • 15 Online
  • 2,437 Members
Our newest member: Matt Butler
Latest Post: Nested SubReport Issue
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

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

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

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

‹›×

    ‹›×