Carrot reference
Functions
compHistory()
Returns the value of base or variable compensation on a given date.
compHistory([date]).comp
- date - (optional) the date to be evaluated. The default value is the current date.
- comp - the type of compensation to be returned.
- Accepted values are base and variable
compHistory('2017-07-01').base returns the value of base compensation on the given date.
compHistory().variable returns the value of variable compensation on the current date.