Changes

Jump to: navigation, search

Calculated Value - busdateadd Function

8 bytes removed, 21:04, 5 May 2009
no edit summary
The JavaScript "busdateadd" function adds a specific number of '''business days''' to a given date.
*Syntax: ''busdateadd(datefield,business days to be added)''
datefield could be a [[Standard field]] Field or a [[Custom fieldField]]
It skips Saturday and Sunday and Canadian public holidays (not banking holidays).
busdateadd(frm.startdate.value,1) returns 10/11/2008, Monday
frm.startdate is a [[standard field]]. To calculate using [[custom fieldCustom Field]] use frm.cf_fieldid.value.
[[Category:System Management]][[Category:Enhancements]][[Category:Custom Fields]]
0
edits

Navigation menu