Menu

BOM-Items

Create BOM-Items inside your model.

Core concepts:

  • Add Items to your model. You want to add items to load into your model. With BOM-Items you can create these items.

Syntax

Help
bom_items:
  string:
    id: string
    name: string
    quantity: integer
    hidden: boolean
Key Required Type Default Description
id Yes string Null The id of the bom item.
name Yes string Null The name of the bom item.
quantity Yes integer Null The quantity of the bom item.
hidden No boolean - Whether it's required or not.

Methods

File based

Enter the path with the relative path to your file. After that, you can bundle your YAML files together in a ZIP file.

REST API

Send a POST request for each model and use the model ID in the import.

Examples

bom_items:
  ART001:
    id: "ART-001"
    name: "Article 001"
    quantity: 1
    hidden: true
bom_items:
  ART001:
    id: "ART-001"
    name: "Article 001"
    quantity: 1
  ART002:
    id: "ART-001"
    name: "Article"
    quantity: 2
bom_items:
  ART001:
    id: "ART-001"
    name: "Article 001"
    quantity: 1
    hidden: true

rule:
  - do: "$ART001.id = ART-002"
Menu