Appearance
CostRateState
Type: Object
A versioned cost rate with date-range based validity. Supports audit trail via version linking.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| costCategoryId | CostCategoryID! | Associated cost category ID | ||
| costCenterId | CostCenterID | Associated cost center ID (optional) | ||
| createdAt | ISO8601! | Creation timestamp (ISO8601) | ||
| currency | CurrencyISO! | Currency code (e.g., 'USD', 'EUR') | ||
| effectiveFrom | ISO8601! | Effective start date (ISO8601) | ||
| effectiveTo | ISO8601 | Effective end date (ISO8601, null = no end) | ||
| id | CostRateID! | Unique identifier | ||
| isCurrent | Boolean! | Whether this is the active/current version | ||
| parentVersionId | CostRateID | Previous version ID for version tracking (null = first version) | ||
| rate | Float! | Rate amount | ||
| version | Int! | Version number within this rate series |