Skip to main content

Notifications

Announcements

No record found.

Project Operations forum
Suggested answer

Edit options for duration of time entry without code

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

  • 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 186 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

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,986 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans