Workforce::Calculation is an immutable cost and headcount snapshot for a set
of positions over a period. It can be created from a workforce plan or from
inline position inputs before a worker exists.
Attributes
string
Unique identifier for the calculation, e.g.
wfc_V6nP3qR9tY2m.string
The object type. Always
workforce.calculation.string
The calculation status. Currently
calculated.string
Workforce plan ID when the calculation was created from a plan.
string
Three-letter ISO currency code for calculation totals.
object
The period covered by the calculation.
string
Average headcount over the calculation period.
object
Total calculation cost.
array
Periodized calculation rows. Each row includes
period, headcount, cost,
and minimal line_items. Line items are display/provenance rows: use name
for display, source.object for the dereferenceable object when it differs
from the rollup family, source.type for rollups, and source.id to trace
the input that produced the row.string
Timestamp of when the calculation was created.