web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Create two calculated fields to determine normal and overtime hours between a start and finish time.

(0) ShareShare
ReportReport
Posted on by

Hi,

I have a custom entity which documents labour costs and which has two standard start and end date/time fields.

The entity currently performs a calculation to determine the total hours between the two date/time fields and returns this in number of hours.

This is fine as far as it goes, however what I want is to create two calculated fields which work out number of hours which are normal time and number of hours which are OT.

For instance first calculated field would show total of hours that were between 0800 and 2000

Second calculated field would show total of hours that were between 2000 and 0800

I could then use these two calculated fields in a third one which would multiply these hours by the respective unit rate for both standard and over time. 

*This post is locked for comments

I have the same question (0)
  • TomSmelser Profile Picture
    1,570 on at
    RE: Create two calculated fields to determine normal and overtime hours between a start and finish time.

    One option would be to create a custom workflow activity. Here is a link to get you started.

    msdn.microsoft.com/.../gg509048.aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans