RoundOff Property on Planned hours in Resource plan & KB0959650

Sree7
Giga Contributor

Hello Community,

I can see Planned hours in Resource plan is taking round off value, if the given input is 7.43 hours it is considering 7 hours, which is not expected by our client, I have gone through Community and knowledge articles, where it says that customizing below scripts can deactivate roundOff functionality.

  • "Populate planned hours from other types" Business Rule
  • "ResourceManagementUtils" Script Include

I tried to inactivate that business rule for testing, I can see the same roundOff functionality even after deactivating that Business rule. Please let me know if I miss anything here.

And from KB Article, I found that deactivating the roundOff functionality is not recommended, May I know why that is causing issue?

KB Article :

Resource Plan 'Planned Hours' are being rounded unexpectedly - Support and Troubleshooting (servicen...

 

Thanks in advance...

3 REPLIES 3

Pavankumar_1
Mega Patron

Hi,

Use below system property to to disable the Planned hours field round off.

1. Go to the sys_properties table and search with com.snc.resource_management.allocation_interval_minutes this name as shown below. 

find_real_file.png

2. If you add 0 on Value field as shown above it will disable the round off and no need to disable any business rule or script include.

3. if you want for every 15mins or 30 mins you can give on that value as 15 or 30.

 

Hope it helps!!

Please Mark ✅ Correct/helpful, if applicable, Thanks!! 

 

Regards

Pavankumar

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

Hi Sree,

 

If it helpful please close the thread and Mark ✅ Correct/helpful.

 

Thanks,

Pavankumar

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

abhinaykumar
ServiceNow Employee
ServiceNow Employee

Hi @Sree

Hours should be rounded in the customer instance based on the property - Calendar Event Duration(com.snc.resource_management.allocation_interval_minutes)

Please ask the customer to check this article

 

Thanks,

Abhinay Kumar Nandagiri.