Carrot reference
Functions
compHistory()
returns the value of base or variable compensation on a given date syntax 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 return type comp docid\ h 73ylw2ustscc tjerlf sample usage 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 supported data types input type return type logic date docid\ xtaqdzvlbtakjxrnpfwe9 money docid ks5d2xbfor9d8wfrivny function will return the value of the specified compensation type on the input date unsupported data types null docid\ n9trvqonnbknql9drnbp6 unsupported data types return null