Tc BOM Structure Add

This Snap add a new item or revision to Teamcenter bill of materials (BoM) structure based on the specifications of an input JSON document.

Supported Accounts


Settings tab of snap to show example values.

Prerequisites

  • A valid Teamcenter account with the required permissions.

Snap views

Type Description Examples of upstream and downstream Snaps
Input

Optional.This Snap has at the most one document input view.

The required input of the snap is the parent ID, child ID and the attributes that needs to be written to Teamcenter.

Output

This Snap has exactly one document output view.

The output of the snap is the BOM structure including the new added element.

Learn more about Error handling.

Examples

Tc BOM Structure Add: Add child to BOM

Snap settings

Note: Learn about the common controls in the Snap settings dialog.
Field/Field set Description
Label

String
Specify a unique name for the Snap. Modify this to be more appropriate, especially if there are more than one of the same Snap in the pipeline.

Default value: Tc BOM Structure Add

Configure policy

Checkbox

Select this checkbox to run the Snap with a specific named Teamcenter policy. A policy determines the set of object properties that Teamcenter returns.

Learn more: Configure policy.

Default status: Deselected

Configure session context

Checkbox

Select this checkbox to run the Snap with a group, role, or project other than the one configured in the account.

Learn more: Configure session context.

Default status: Deselected

Parent ID*

String/Expression

Specify the _id, a UID (unique identifier) or a Teamcenter adapter ID of the parent element where you want to add the new item to.

Default value: $._id

Example: $.parent_id

Child ID*

String/Expression

Specify the _id, a UID (unique identifier) or a Teamcenter adapter ID of the child which you want to add to the parent element.

Default value: $._id

Example: $.child_id

Revision Rule*

String/Expression/ Suggestion

Specify the revision rule that you want the Snap to use for the structure creation.

Default value: N/A

Example: : Latest Working

View Type

String/Expression/ Suggestion

Specify the view type to determine the layout, visibility, and organization of data within Teamcenter. The view type is a predefined set of properties and display settings used to present information about an object or a specific aspect of the system's functionality.

Default value: N/A

Example: View

Child BOMLine Attributes Path

String/Expression

Specify the path to the child line attributes in the input document. Child line attributes are the specific attributes of the child objects within a parent-child relationship or hierarchical structure. When creating a parent-child relationship in Teamcenter, child line attributes can be defined to capture and store data that is relevant to the relation object.

In JSON document the content for path can look like this:

"bomAttributes": {
    	"bl_quantity": "2",
        "bl_ref_designator": "54321",
  		"bl_sequence_no": "60"
	}

Name of the JSON property has to be the technical name of a valid property in Teamcenter datamodel for BOM structure relation.

Default value: N/A

Example: $.bomAttributes

Child BOMLine Attributes

Specify the attributes which you want the Snap to write to the relation created in Teamcenter. Each attribute must be specified as a new row. Click : add: to add a row.

In case Child BOMLine Attributes Pathis configured to use attributes given in JSON input document these Child BOMLine Attributes are used additionally.

Name*

String

Specify the name of the attribute.

Default value: N/A

Example: bl_quantity

Value*

String

Specify the value of the attribute.

Default value: N/A

Example: 2

Configure error handling

Checkbox

Select this checkbox to define how the Snap behaves when Teamcenter returns an error. Use these settings for analysis and debugging.

Learn more: Configure error handling.

Default status: Deselected

Snap execution

Dropdown list
Choose one of the three modes in which the Snap executes. Available options are:
  • Validate & Execute. Performs limited execution of the Snap and generates a data preview during pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during pipeline runtime.
  • Execute only. Performs full execution of the Snap during pipeline execution without generating preview data.
  • Disabled. Disables the Snap and all Snaps that are downstream from it.