CostCategoryState
A global cost category that spans all business units for consolidated reporting (e.g., Labor, Material, Overhead, Service)
Fields
Unique identifier
External URL for the calling integration, or the primary identity for unscoped callers.
All linked external identities, including identities belonging to other integrations.
Integration instance that originally created this record, when known.
IaC stack that originally created this record, when known.
IaC stack currently managing this record's configuration and deletion.
External system identifier
Category name
Unique category code
Description of the cost category
Unit of measure (e.g., 'hour', 'sheet', 'kg')
Possible values (13)
HOURSTime in hours
MINUTESTime in minutes
SHEETSNumber of sheets
IMPRESSIONSNumber of impressions
PLATESNumber of printing plates
CLICKSNumber of digital clicks
SQMArea in square meters
METERSLength in meters
KGWeight in kilograms
UNITSGeneric count
PIECESNumber of pieces
ROLLSNumber of rolls
LITERSVolume in liters
Whether the category is active
Creation timestamp (ISO8601)
Last update timestamp (ISO8601)
Referenced by (4)
Exact type SDL
"""
A global cost category that spans all business units for consolidated reporting (e.g., Labor, Material, Overhead, Service)
"""
type CostCategoryState @iac_resource(name: "cost_category") @iac_ops(create: "createCostCategory", read: "getCostCategory", update: "updateCostCategory", delete: "deleteCostCategory") {
"""Unique identifier"""
id: CostCategoryID! @iac_identity(assignedBy: SERVER) @iac_computed
"""
External URL for the calling integration, or the primary identity for unscoped callers.
"""
externalUrl: String @iac_computed
"""
All linked external identities, including identities belonging to other integrations.
"""
externalIdentities: [RecordExternalIdentity!]! @iac_computed
"""Integration instance that originally created this record, when known."""
createdByIntegrationId: IntegrationInstanceID @iac_computed @iac_ref(resource: "integration_instance")
"""IaC stack that originally created this record, when known."""
createdByStackId: IaCStackID @iac_computed
"""IaC stack currently managing this record's configuration and deletion."""
managedByStackId: IaCStackID @iac_computed
"""External system identifier"""
externalId: String
"""Category name"""
name: String!
"""Unique category code"""
code: String!
"""Description of the cost category"""
description: String
"""Unit of measure (e.g., 'hour', 'sheet', 'kg')"""
unit: CostCategoryUnit!
"""Whether the category is active"""
isActive: Boolean!
"""Creation timestamp (ISO8601)"""
createdAt: String! @iac_computed
"""Last update timestamp (ISO8601)"""
updatedAt: String! @iac_computed
}