Difference between revisions of "Adding Business Days"

From SmartWiki
Jump to: navigation, search
Line 9: Line 9:
  
 
Example:
 
Example:
If my Root Company ID is 12345,
+
If my [[Determining the root companyid|Root Company ID]] is 12345,
 
To add 5 business days to a date located on column 2 you will enter the following:
 
To add 5 business days to a date located on column 2 you will enter the following:
 
SS_FUNC.addbusdays(12345,[2],5)
 
SS_FUNC.addbusdays(12345,[2],5)

Revision as of 08:37, 30 April 2013

Adding business days within report builder

To add business days to a date field within the report builder, you will need to use the built-in SS_FUNC.addbusdays function within the Calculated Field line.

SS_FUNC.addbusdays(xxxxxx,[y],z)

where x = Root company ID, y = Date column in report builder, z = number of business days


Example: If my Root Company ID is 12345, To add 5 business days to a date located on column 2 you will enter the following: SS_FUNC.addbusdays(12345,[2],5)

See Also