IsBusDate
The IsBusDate assignment function determines whether the date that is passed as a parameter is a valid business date.
This function has additional parameters that can be used to configure how to test whether the date that is passed as a parameter is a valid business date or not. It returns true if the parameter is a valid business date.
Return type
The function return type is: BOOLEAN
Function parameters
| Parameter order | Input variable type | Parameter data type | Required parameter | Description |
|---|---|---|---|---|
| 1 | Data field | DATE | Yes | The date to be tested. It could be any calendar date and is in the format
YYYYMMDD. |
| 2 | Valid types are:
|
PARTNER | No | The partner to use when testing the date. When a partner is provided to the function, the holiday table for the partner is used to test the date. The default holiday table is used when no partner is provided to the function. |
| 3 | Valid types are:
|
SIGNED | No | The number of calendar days to add or subtract from the date to be tested. Based on the sign of this value, the calendar days are either added or subtracted from the date prior to determining whether it is a valid business date or not. |