Tc BOM Structure Create Baseline: Create BOM and create a baseline

This example pipeline demonstrates how to create a BOM and then create a baseline of it.


Pipeline consistent of File Reader Snap, JSON Parser Snap, Tc BOM Structure Create Snap and Tc BOM Structure Create Baseline Snap.

First three steps are done for example to create a BOM so next Baseline can be created.

1:Startpoint is the File Reader Snap to read json file which content is BOM structure.

Snap configuration

Snap output


Settings of File Reader Snap.

2: Next JSON Parser Snap is used to parse binary data to document data.

Snap configuration

Snap output


Settings of JSON Parser Snap.

[
  {
    "revisionRule": "Latest Working",
    "bomViewType": "view",
    "lineObject": {
      "object_type": "Item",
      "object_name": "Single-pane aluminium window",
      "UID": "QyIAgoxb7hAnmD"
    },
    "children": [
      {
        "lineObject": {
          "object_type": "Item",
          "object_name": "Glass pane",
          "UID": "Q6KAgoxb7hAnmD"
        },
        "lineData": {
          "bl_quantity": "1"
        }
      },
      {
        "lineObject": {
          "object_type": "Item",
          "object_name": "Latch",
          "UID": "Q_PAgoxb7hAnmD"
        },
        "lineData": {
          "bl_quantity": "2"
        },
        "children": [
          {
            "lineObject": {
              "object_type": "Item",
              "object_name": "Latch hook",
              "UID": "gSBAgoxb7hAnmD"
            },
            "lineData": {
              "bl_quantity": "2"
            }
          },
          {
            "lineObject": {
              "object_type": "Item",
              "object_name": "Screw",
              "UID": "gWGAgoxb7hAnmD"
            },
            "lineData": {
              "bl_quantity": "10"
            }
          }
        ]
      },
      {
        "lineObject": {
          "object_type": "Item",
          "object_name": "Aluminium frame",
          "UID": "gGEAgoxb7hAnmD"
        },
        "lineData": {
          "bl_quantity": "1"
        },
        "children": [
          {
            "lineObject": {
              "object_type": "Item",
              "object_name": "Corner brackets",
              "UID": "giDAgoxb7hAnmD"
            },
            "lineData": {
              "bl_quantity": "4"
            }
          },
          {
            "lineObject": {
              "object_type": "Item",
              "object_name": "Rubber seal",
              "UID": "gmIAgoxb7hAnmD"
            },
            "lineData": {
              "bl_quantity": "1"
            }
          }
        ]
      }
    ]
  }
]

UIDs in Teamcenter are as the name says UNIQUE. The UIDs in the example only exist in our Teamcenter system as expected for our example. Same is valid for Adapter ID "_id" since its base is the UID.

3: The document can be used as it is as input for Tc BOM Structure Create Snap.

Snap configuration

Snap output


Settings of Tc BOM Structure Create Snap.

[
  {
    "revisionRule": {
      "_id": "TC*RevisionRule*null***QkKAAAA47hAnmD",
      "last_release_status": null,
      "last_release_status_DISPLAY": "",
      "object_name": "Latest Working",
      "object_type": "RevisionRule",
      "object_type_DISPLAY": "Revision Rule",
      "UID": "QkKAAAA47hAnmD"
    },
    "bomViewType": "view",
    "lineObjectInput": {
      "object_name": "Single-pane aluminium window",
      "object_type": "Item",
      "UID": "QyIAgoxb7hAnmD"
    },
    "lineObject": {
      "_id": "TC*ItemRevision*null***AeHAAtzG7hAnmD",
      "item_id": "053035",
      "last_release_status": null,
      "last_release_status_DISPLAY": "",
      "object_name": "Single-pane aluminium window",
      "object_type": "ItemRevision",
      "object_type_DISPLAY": "Item Revision",
      "UID": "AeHAAtzG7hAnmD"
    },
    "bomLine": {
      "_id": "TC*BOMLine*null***BOM::60227",
      "bl_quantity": "",
      "UID": "BOM::60227"
    },
    "children": [
      {
        "action": "added",
        "lineObjectInput": {
          "object_name": "Glass pane",
          "object_type": "Item",
          "UID": "Q6KAgoxb7hAnmD"
        },
        "lineData": {
          "bl_quantity": "1"
        },
        "lineObject": {
          "_id": "TC*ItemRevision*null***A6JAAtzG7hAnmD",
          "item_id": "053036",
          "last_release_status": null,
          "last_release_status_DISPLAY": "",
          "object_name": "Glass pane",
          "object_type": "ItemRevision",
          "object_type_DISPLAY": "Item Revision",
          "UID": "A6JAAtzG7hAnmD"
        },
        "bomLine": {
          "_id": "TC*BOMLine*null***BOM::60229",
          "bl_quantity": "1",
          "UID": "BOM::60229"
        }
      },
      {
        "action": "added",
        "lineObjectInput": {
          "object_name": "Latch",
          "object_type": "Item",
          "UID": "Q_PAgoxb7hAnmD"
        },
        "lineData": {
          "bl_quantity": "2"
        },
        "lineObject": {
          "_id": "TC*ItemRevision*null***A_OAAtzG7hAnmD",
          "item_id": "053037",
          "last_release_status": null,
          "last_release_status_DISPLAY": "",
          "object_name": "Latch",
          "object_type": "ItemRevision",
          "object_type_DISPLAY": "Item Revision",
          "UID": "A_OAAtzG7hAnmD"
        },
        "bomLine": {
          "_id": "TC*BOMLine*null***BOM::60231",
          "bl_quantity": "2",
          "UID": "BOM::60231"
        },
        "children": [
          {
            "action": "added",
            "lineObjectInput": {
              "object_name": "Latch hook",
              "object_type": "Item",
              "UID": "gSBAgoxb7hAnmD"
            },
            "lineData": {
              "bl_quantity": "2"
            },
            "lineObject": {
              "_id": "TC*ItemRevision*null***QWAAAtzG7hAnmD",
              "item_id": "053039",
              "last_release_status": null,
              "last_release_status_DISPLAY": "",
              "object_name": "Latch hook",
              "object_type": "ItemRevision",
              "object_type_DISPLAY": "Item Revision",
              "UID": "QWAAAtzG7hAnmD"
            },
            "bomLine": {
              "_id": "TC*BOMLine*null***BOM::60235",
              "bl_quantity": "2",
              "UID": "BOM::60235"
            }
          },
          {
            "action": "added",
            "lineObjectInput": {
              "object_name": "Screw",
              "object_type": "Item",
              "UID": "gWGAgoxb7hAnmD"
            },
            "lineData": {
              "bl_quantity": "10"
            },
            "lineObject": {
              "_id": "TC*ItemRevision*null***QaFAAtzG7hAnmD",
              "item_id": "053040",
              "last_release_status": null,
              "last_release_status_DISPLAY": "",
              "object_name": "Screw",
              "object_type": "ItemRevision",
              "object_type_DISPLAY": "Item Revision",
              "UID": "QaFAAtzG7hAnmD"
            },
            "bomLine": {
              "_id": "TC*BOMLine*null***BOM::60237",
              "bl_quantity": "10",
              "UID": "BOM::60237"
            }
          }
        ]
      },
      {
        "action": "added",
        "lineObjectInput": {
          "object_name": "Aluminium frame",
          "object_type": "Item",
          "UID": "gGEAgoxb7hAnmD"
        },
        "lineData": {
          "bl_quantity": "1"
        },
        "lineObject": {
          "_id": "TC*ItemRevision*null***QGDAAtzG7hAnmD",
          "item_id": "053038",
          "last_release_status": null,
          "last_release_status_DISPLAY": "",
          "object_name": "Aluminium frame",
          "object_type": "ItemRevision",
          "object_type_DISPLAY": "Item Revision",
          "UID": "QGDAAtzG7hAnmD"
        },
        "bomLine": {
          "_id": "TC*BOMLine*null***BOM::60233",
          "bl_quantity": "1",
          "UID": "BOM::60233"
        },
        "children": [
          {
            "action": "added",
            "lineObjectInput": {
              "object_name": "Corner brackets",
              "object_type": "Item",
              "UID": "giDAgoxb7hAnmD"
            },
            "lineData": {
              "bl_quantity": "4"
            },
            "lineObject": {
              "_id": "TC*ItemRevision*null***QmCAAtzG7hAnmD",
              "item_id": "053041",
              "last_release_status": null,
              "last_release_status_DISPLAY": "",
              "object_name": "Corner brackets",
              "object_type": "ItemRevision",
              "object_type_DISPLAY": "Item Revision",
              "UID": "QmCAAtzG7hAnmD"
            },
            "bomLine": {
              "_id": "TC*BOMLine*null***BOM::60239",
              "bl_quantity": "4",
              "UID": "BOM::60239"
            }
          },
          {
            "action": "added",
            "lineObjectInput": {
              "object_name": "Rubber seal",
              "object_type": "Item",
              "UID": "gmIAgoxb7hAnmD"
            },
            "lineData": {
              "bl_quantity": "1"
            },
            "lineObject": {
              "_id": "TC*ItemRevision*null***QqHAAtzG7hAnmD",
              "item_id": "053042",
              "last_release_status": null,
              "last_release_status_DISPLAY": "",
              "object_name": "Rubber seal",
              "object_type": "ItemRevision",
              "object_type_DISPLAY": "Item Revision",
              "UID": "QqHAAtzG7hAnmD"
            },
            "bomLine": {
              "_id": "TC*BOMLine*null***BOM::60241",
              "bl_quantity": "1",
              "UID": "BOM::60241"
            }
          }
        ]
      }
    ],
    "original": {
      "revisionRule": "Latest Working",
      "bomViewType": "view",
      "lineObject": {
        "object_type": "Item",
        "object_name": "Single-pane aluminium window",
        "UID": "QyIAgoxb7hAnmD"
      },
      "children": [
        {
          "lineObject": {
            "object_type": "Item",
            "object_name": "Glass pane",
            "UID": "Q6KAgoxb7hAnmD"
          },
          "lineData": {
            "bl_quantity": "1"
          }
        },
        {
          "lineObject": {
            "object_type": "Item",
            "object_name": "Latch",
            "UID": "Q_PAgoxb7hAnmD"
          },
          "lineData": {
            "bl_quantity": "2"
          },
          "children": [
            {
              "lineObject": {
                "object_type": "Item",
                "object_name": "Latch hook",
                "UID": "gSBAgoxb7hAnmD"
              },
              "lineData": {
                "bl_quantity": "2"
              }
            },
            {
              "lineObject": {
                "object_type": "Item",
                "object_name": "Screw",
                "UID": "gWGAgoxb7hAnmD"
              },
              "lineData": {
                "bl_quantity": "10"
              }
            }
          ]
        },
        {
          "lineObject": {
            "object_type": "Item",
            "object_name": "Aluminium frame",
            "UID": "gGEAgoxb7hAnmD"
          },
          "lineData": {
            "bl_quantity": "1"
          },
          "children": [
            {
              "lineObject": {
                "object_type": "Item",
                "object_name": "Corner brackets",
                "UID": "giDAgoxb7hAnmD"
              },
              "lineData": {
                "bl_quantity": "4"
              }
            },
            {
              "lineObject": {
                "object_type": "Item",
                "object_name": "Rubber seal",
                "UID": "gmIAgoxb7hAnmD"
              },
              "lineData": {
                "bl_quantity": "1"
              }
            }
          ]
        }
      ]
    }
  }
]

4: The Object ID needed as input for Tc BOM Structure Create Baseline Snap is “_id” of “lineObject” representing top level Item Revision.

Snap configuration

Snap output


Settings of Tc BOM Structure Create Baseline Snap.

[
  {
    "_id": "TC*ItemRevision*null***A6LAAtzS7hAnmD",
    "checked_out": " ",
    "fms_tickets": [

    ],
    "fnd0IRDCUsed": "",
    "has_variant_module": null,
    "is_IRDC": false,
    "is_vi": false,
    "items_tag": "TC*Item*null***AODAAtzG7hAnmD",
    "items_tag_DISPLAY": "053035-Single-pane aluminium window",
    "last_mod_date": "2026-08-06T13:49:17Z",
    "object_desc": null,
    "object_string": "053035/A.001;1-Single-pane aluminium window",
    "object_type": "ItemRevision",
    "object_type_DISPLAY": "Item Revision",
    "owning_group": "TC*Group*null***QBFAAAA47hAnmD",
    "owning_group_DISPLAY": "Engineering",
    "owning_site": null,
    "owning_site_DISPLAY": "",
    "owning_user": "TC*User*null***A6CAAAx07hAnmD",
    "owning_user_DISPLAY": "ecs1 (ecs1)",
    "process_stage_list": [

    ],
    "release_status_list": [
      "TC*ReleaseStatus*null***AbFAAtzS7hAnmD"
    ],
    "revision_number": 0,
    "UID": "A6LAAtzS7hAnmD",
    "view": [
      "TC*Item*null***A6FAAtzG7hAnmD",
      "TC*Item*null***A_KAAtzG7hAnmD",
      "TC*Item*null***QCPAAtzG7hAnmD"
    ],
    "original": {
      "revisionRule": {
        "_id": "TC*RevisionRule*null***QkKAAAA47hAnmD",
        "last_release_status": null,
        "last_release_status_DISPLAY": "",
        "object_name": "Latest Working",
        "object_type": "RevisionRule",
        "object_type_DISPLAY": "Revision Rule",
        "UID": "QkKAAAA47hAnmD"
      },
      "bomViewType": "view",
      "lineObjectInput": {
        "object_name": "Single-pane aluminium window",
        "object_type": "Item",
        "UID": "QyIAgoxb7hAnmD"
      },
      "lineObject": {
        "_id": "TC*ItemRevision*null***AeHAAtzG7hAnmD",
        "item_id": "053035",
        "last_release_status": null,
        "last_release_status_DISPLAY": "",
        "object_name": "Single-pane aluminium window",
        "object_type": "ItemRevision",
        "object_type_DISPLAY": "Item Revision",
        "UID": "AeHAAtzG7hAnmD"
      },
      "bomLine": {
        "_id": "TC*BOMLine*null***BOM::60227",
        "bl_quantity": "",
        "UID": "BOM::60227"
      }
      //...
    }
  }
]