RecordedCostState
An actual cost incurred, linked to cost categories, cost centers, and optionally jobs/operations
Fields
Unique identifier
Associated cost category ID
Associated cost center ID (optional)
Cost rate used for this record (optional)
Related job ID (optional)
User who recorded this cost
Quantity consumed
Cost per unit
Total cost (quantity × unitRate)
Currency code
Description or notes
Type of external reference (e.g., 'order', 'operation')
External reference ID
Date the cost was recorded (ISO8601)
Creation timestamp (ISO8601)
Last update timestamp (ISO8601)
Exact type SDL
"""
An actual cost incurred, linked to cost categories, cost centers, and optionally jobs/operations
"""
type RecordedCostState {
"""Unique identifier"""
id: RecordedCostID!
"""Associated cost category ID"""
costCategoryId: CostCategoryID!
"""Associated cost center ID (optional)"""
costCenterId: CostCenterID
"""Cost rate used for this record (optional)"""
costRateId: CostRateID
"""Related job ID (optional)"""
jobId: JobID
"""User who recorded this cost"""
recordedByUserId: UserID
"""Quantity consumed"""
quantity: Float!
"""Cost per unit"""
unitRate: Float!
"""Total cost (quantity × unitRate)"""
totalCost: Float!
"""Currency code"""
currency: CurrencyISO!
"""Description or notes"""
description: String
"""Type of external reference (e.g., 'order', 'operation')"""
referenceType: String
"""External reference ID"""
referenceId: String
"""Date the cost was recorded (ISO8601)"""
recordedAt: ISO8601!
"""Creation timestamp (ISO8601)"""
createdAt: String!
"""Last update timestamp (ISO8601)"""
updatedAt: String!
}