Carrot reference
Functions
costBetween()
calculates the cost of a job over a specified period of time where the cost of a job includes if multiple people have held that job costbetweenprimary() returns the costbetween calculation only using data from primary syntax basecostbetweenprimary calculates the base cost (base org multiplier) of a job over a specific time period, including future roles with announced start dates, based on data in primary only basecostbetweenprimary( startdate date, enddate date, multiplier bigdecimal) startdate the current, or announced starting date for the current, or future filled role, respectively enddate the end date for the role multiplier optional multiplier defaults to 1 0 return type money variablecostbetweenprimary calculates the variable cost of a job over a specific time period, including future filled roles with announced start dates, based on data in primary only variablecostbetweenprimary( startdate date, enddate date, multiplier bigdecimal) startdate the current, or announced starting date for the current, or future filled role, respectively enddate the end date for the role multiplier optional multiplier defaults to 1 0 return type money fullyloadedcostbetweenprimary calculates the base cost (base org multiplier) plus the variable cost of a job over a specific time period, including future roles with announced start dates, based on data in primary only fullyloadedcostbetweenprimary( startdate date, enddate date, multiplier bigdecimal) startdate the current, or announced starting date for the current, or future filled role, respectively enddate the end date for the role multiplier optional multiplier defaults to 1 0 return type money sample usages code sample result basecostbetweenprimary('2017 07 01', '2022 08 01", 1 0) returns the calculated base cost of a job between january 7th, 2017 and january 8th, 2022 variablecostbetweenprimary('2017 07 01', '2022 08 01", 2 5) returns the calculated variable cost of a job between january 7th, 2017 and january 8th, 2022 and multiplies that value by 2 5 fullyloadedcostbetweenprimary('2017 07 01', '2022 08 01", 1 0) returns the calculated fully loaded cost of a job (( base org multiplier ) + variable )), between january 7th, 2017 and january 8th, 2022