Worklog - "Time Taken to Resolve" field should not be 0 value

Worklog - "Time Taken to Resolve" field should not be 0 value

1. Under <PROD-HOME>/custom/scripts take a backup of CustomScript.js. 

2. Download the CustomScript.js. and place it in the same folder 

3. Clear the browser cache once and then try to add a worklog. You should get a warning message when both the fields have 0 value. 

Points to be noted:
* This is only UI implemented validation which is applicable only for UI forms. Additions/modifications made through API or mobile app will not undergo this zero/null time spent validation.
* This validation is applicable for all work logs across all modules
* This validation will not be applicable if the work log is in Contract of Service Plan type Charge Per Hour


Ref.5597244 
                  New to ADManager Plus?

                    New to ADSelfService Plus?