How can I get number of holidays from my time off in a formula field, I've already defined all my holidays in order to retreive it from my time off days
Thank you
Attribution to: LoveLace
Possible Suggestion/Solution #1
You cannot access the holidays table from formula fields. You would need to use APEX code for this task.
Find an example here: http://forcemonkey.blogspot.nl/2009/11/calculating-business-hours.html
Attribution to: Guy Clairbois
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/32514