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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

How to change the Service default Duration from Minute to Day

(0) ShareShare
ReportReport
Posted on by 5

i have just started to use Services in field service Work orders. 

but i cant find how to change the default settings in the service duration. it is set to minute and i want to change it to day. 

anyone can help please 

I have the same question (0)
  • Suggested answer
    Thomas David Dayman Profile Picture
    11,323 on at

    Im assuming you are talking about the Incident Type Service record?

    This will have a field called 'msdyn_duration'. You canot default it to days as it is a number field essentially.

    But if you are selecting a duration then you need to scroll down to see the 1, 2, 3 days section

  • Verified answer
    Community Member Profile Picture
    on at

    Hi JKR,

    Duration fields can be used to show a whole number as x number of minutes, x number of hours or x number of days instead of just showing the whole number of minutes to the user.

    pastedimage1628478272293v1.png

    On the back end, the duration field is configured as a Whole Number field with a format of “Duration”. This format is what provides the magic of the translation of minutes, hours and days.

     pastedimage1628478340708v2.png

    One of the beauties of the Duration field is that users can manually enter time in minutes, hours or days. And the system is smart enough to round up to the larger increments. 

    pastedimage1628478571124v3.png

    Note:

    As this field is a whole number data type, the actual data that is stored in the database is the number of minutes. This means that views and forms will show the “1.46 days” but charts, exported data and FetchXML reports will show 2100 minutes.

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Community Member Profile Picture
    on at

    Hi Partner,

    Has the problem been solved? Any updates?

    Please click Yes under "Did this answer your question?" to close this thread.

     pastedimage1628659261347v1.png

    Thanks. 

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Suggested answer
    antc Profile Picture
    2,911 on at

    I think what you are looking for is a custom field that sets the duration field.

    Create a new custom field i.e. Duration (Hours) type whole number.

    Create a Business Rule that sets the OOB Duration field to the custom field x 60.

    One thing to remember with Duration is that it will show in 24 hour blocks which can confuse users as it will display as 1 day and not 3 days presuming 8 hour days. However when you assign it on schedule board if the bookable resources hours are 8 per day it will create a 3 day booking.

  • Eagle0473 Profile Picture
    5 on at

    Hi , Can I delete 1 day , 2 days and 3 days value on selection ?

    Thank you for the replay

    pastedimage1661957750590v1.png

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 25 Most Valuable Professional

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans