← All types
ReportingIn Input object

UpsertCostCategoryInput

Input for creating or updating a cost category

Fields

ID for update; omit for create

External system identifier

HTTP(S) link to this record in the external system. Requires an external identity. Omit to preserve the existing link, or pass null to clear it. Removing the external identity also removes its link.

name

String!Required

Category name (required)

code

String!Required

Unique category code (required)

Description

Unit of measure (required)

Possible values (13)
HOURS

Time in hours

MINUTES

Time in minutes

SHEETS

Number of sheets

IMPRESSIONS

Number of impressions

PLATES

Number of printing plates

CLICKS

Number of digital clicks

SQM

Area in square meters

METERS

Length in meters

KG

Weight in kilograms

UNITS

Generic count

PIECES

Number of pieces

ROLLS

Number of rolls

LITERS

Volume in liters

Whether the category is active

Referenced by (1)
Exact type SDL
"""Input for creating or updating a cost category"""
input UpsertCostCategoryInput {
  """ID for update; omit for create"""
  id: CostCategoryID
  """External system identifier"""
  externalId: String
  """
  HTTP(S) link to this record in the external system. Requires an external identity. Omit to preserve the existing link, or pass null to clear it. Removing the external identity also removes its link.
  """
  externalUrl: String
  """Category name (required)"""
  name: String!
  """Unique category code (required)"""
  code: String!
  """Description"""
  description: String
  """Unit of measure (required)"""
  unit: CostCategoryUnit!
  """Whether the category is active"""
  isActive: Boolean
}