CANONICAL TYPE REFERENCE
CostRateState
A versioned cost rate with date-range based validity. Supports audit trail via version linking.
Unique identifier
Associated cost category ID
Associated cost center ID (optional)
Previous version ID for version tracking (null = first version)
versionInt!Version number within this rate series
isCurrentBoolean!Whether this is the active/current version
rateFloat!Rate amount
Currency code (e.g., 'USD', 'EUR')
Effective start date (ISO8601)
Effective end date (ISO8601, null = no end)
Creation timestamp (ISO8601)
View exact SDL
"""
A versioned cost rate with date-range based validity. Supports audit trail via version linking.
"""
type CostRateState @iac_resource(name: "cost_rate") @iac_ops(create: "createCostRate", read: "getCostRate", update: "updateCostRate", delete: "deleteCostRate") {
"""Unique identifier"""
id: CostRateID! @iac_identity(assignedBy: SERVER) @iac_computed
"""Associated cost category ID"""
costCategoryId: CostCategoryID! @iac_ref(resource: "cost_category")
"""Associated cost center ID (optional)"""
costCenterId: CostCenterID @iac_ref(resource: "cost_center")
"""Previous version ID for version tracking (null = first version)"""
parentVersionId: CostRateID @iac_ref(resource: "cost_rate") @iac_computed
"""Version number within this rate series"""
version: Int! @iac_computed
"""Whether this is the active/current version"""
isCurrent: Boolean! @iac_computed
"""Rate amount"""
rate: Float!
"""Currency code (e.g., 'USD', 'EUR')"""
currency: CurrencyISO!
"""Effective start date (ISO8601)"""
effectiveFrom: ISO8601!
"""Effective end date (ISO8601, null = no end)"""
effectiveTo: ISO8601
"""Creation timestamp (ISO8601)"""
createdAt: ISO8601! @iac_computed
}One stable address across all schema views. Follow a field’s type to explore connections between domains.