Skip to main content
Project Operations forum
Suggested answer

Edit options for duration of time entry without code

editSubscribe (2) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello. I am attempting to change the Duration default option set when creating time entries. At the moment it is 1 min, 15 mins, 30 mins, etc. All I want to do is remove the 1 min option so resources can't put time in so granularly. Ideally we want to do this without editing ProjOps javascript, or creating new scripts, in case this is changed/broken in future updates. Does anyone know if/where this option set can be edited, or is it only in the Javascript that it can be edited?

pastedimage1612950362609v1.png

Attachments
  • Suggested answer
    Thomas David Dayman Profile Picture
    Thomas David Dayman 11,319 on at
    Edit options for duration of time entry without code
    You could make this work. 
     
    You will need to make your own Option Set field with the minute options of your choice 15mins 30mins etc. Then have some automation to copy your custom field to the Duration field. Remember that the Duration field is set as minutes underneath so 8 hours = 480 mins, so you may need to do some converting from hours to minutes in the automation.
     
    Or an easier way is to just block users from using the 1 min option. Either creating a Custom Workflow, plugin or JavaScript when a user tries to create a Time Entry with 1min as a value
  • Suggested answer
    ANInnoSolutions Profile Picture
    ANInnoSolutions 181 on at
    Edit options for duration of time entry without code
    Hello Community member,
     
    the field "Duration" is a specific field with the Data Type "Duration" and is given by default from Microsoft. To be more specific and in your case the field "Duration" is moreover a msdyn_field what means that there are a lot of relations given by Microsoft in the whole application. It is not recommended to change msdyn_fields because of this relations and to prevent not wanted breakups in other functions and features.
     
     
     
    Without an own extension I would suggest that there is no possibility available to change the values for the field.
     

    Rg,

    Alexander

    *Due to the complex and different possibilities of deploying Dynamics 365 I highly recommend not to setup the application without some expert/partner or support. (For more information contact me under anassl@inno-solutions.info or visit www.inno-solutions.de)

    *The Information comes directly from the manufacturer or provider and are validated (not guaranteed) up to date of creation of the posting.

    References:

    1. Microsoft Licensing Guide
    2. Microsoft Doc`s/Learn
     
  • Nilestone Profile Picture
    Nilestone 7 on at
    Edit options for duration of time entry without code
    Seeking the same answer here.  I know this post is old, but has anyone figured out a simple way to do this?  

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Demystifying Copilot with Sundar Raghavan

Sundar explains how Copilot for Service is meant to function separately...

Business Process Guidance Badges and New…

The Microsoft Success by Design is the framework for implementing Dynamics 365…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,281 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,025 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans