Carrot reference
...
Fields
Job Changes

Base Comp Changes

Description

Returns a list of the changes to the person's base compensation over time, in chronological order. This is intended to give you access to the person's base compensation history.

  • Code name: baseCompChanges
  • Sensitivity: Org Public
  • Data type: Object
  • Data category: Changes
  • Entity type: None
  • Read only: Yes

Fields

baseCompChanges returns a list of CompChange objects, each of which has the following fields:

  • date (Date) – the date the compensation change took effect.
  • baseComp (PayInterval) – the new base compensation that took effect on the specified date, returned as a PayInterval.

Usage Examples

Code

Description

baseCompChanges.first.baseComp

Return the job’s original (first ever) base compensation amount.

baseCompChanges.last.date

Return the date of the job’s last base comp adjustment.

baseCompChanges == []

Jan. 1 - new open job is created.

baseCompChanges == [ CompChange{ date: Jan 2, baseCompcomp{…}} ]

Jan 2 - Sally fills the job and her baseComp.yearly is set to $100,000

baseCompChanges == []

Feb 1 - Sally departs

baseCompChanges == [ CompChange{ date: March 1, baseCompcomp{…}} ]

March 1 - Sam fills the job and his baseComp.yearly is set to $100,000

baseCompChanges == [ CompChange{ date: March 1, baseCompcomp{…}} , CompChange{ date: April 1, baseCompcomp{…}} ]

April 1 - Sam gets a pay adjustment. His new baseComp.yearly is $110,000

Additional Notes

  • baseCompChanges for open jobs returns an empty list [].
  • baseCompChanges for jobs that were backfills but are now filled by a new person will only return the base comp changes for .



Updated 04 Oct 2023
Did this page help you?