Query / costing
getCostCategoryBy
Fetch a cost category by external ID or code. Requires costcategory:read permission.
Arguments
externalIdStringExternal system identifier
codeStringCost category code
Returns CostCategoryState
Scalar fields at a glance
externalIdStringnameString!codeString!descriptionStringunitCostCategoryUnit!Explore in a view
View exact SDL
"""
Fetch a cost category by external ID or code. Requires costcategory:read permission.
"""
getCostCategoryBy(
"""External system identifier"""
externalId: String
"""Cost category code"""
code: String
): CostCategoryState @topic(names: ["costing"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.