CANONICAL TYPE REFERENCE
SubstrateTemplateLineState
A BOM rule: how much of a substrate a product template requires per 100 finished copies
Unique identifier
Parent product template
componentLocalIdStringComponent slot this applies to (nil = all components)
Substrate required
quantityPer100Float!Substrate units required per 100 finished copies
Measurement unit (SHEET, M, or KG)
wasteFactorFloat!Spoilage multiplier (1.05 = 5% waste)
notesStringInternal notes
createdAtString!Creation timestamp (ISO8601)
updatedAtString!Last update timestamp (ISO8601)
View exact SDL
"""
A BOM rule: how much of a substrate a product template requires per 100 finished copies
"""
type SubstrateTemplateLineState @iac_resource(name: "substrate_template_line") @iac_ops(create: "createSubstrateTemplateLine", read: "getSubstrateTemplateLine", update: "updateSubstrateTemplateLine", delete: "deleteSubstrateTemplateLine") {
"""Unique identifier"""
id: SubstrateTemplateLineID! @iac_identity(assignedBy: SERVER) @iac_computed
"""Parent product template"""
productTemplateId: ProductTemplateID! @iac_ref(resource: "product_template")
"""Component slot this applies to (nil = all components)"""
componentLocalId: String
"""Substrate required"""
substrateId: SubstrateID! @iac_ref(resource: "substrate")
"""Substrate units required per 100 finished copies"""
quantityPer100: Float!
"""Measurement unit (SHEET, M, or KG)"""
unit: MeasurementUnit!
"""Spoilage multiplier (1.05 = 5% waste)"""
wasteFactor: Float!
"""Internal notes"""
notes: String
"""Creation timestamp (ISO8601)"""
createdAt: String! @iac_computed
"""Last update timestamp (ISO8601)"""
updatedAt: String! @iac_computed
}One stable address across all schema views. Follow a field’s type to explore connections between domains.