Expand description
BOM comparison between two revisions (Teamcenter’s structure compare): which lines were added, removed or changed (quantity, find number, notes and, over all levels, the resolved child revision). Lines are matched by child item and find number first, then by child item. Over all levels, the children of two matched lines are compared the same way, and an added or removed line brings its whole sub-tree.
Structs§
- Line
Diff - One child of either BOM.
- Line
Values - Summary
- Counts of a comparison, for the summary line.
Enums§
Functions§
- compare
- Compares the BOMs of two revisions: the direct lines, or every level with
each child resolved by
rule. - default_
rule - Default revision rule of a comparison over all levels (states of the two revisions). Latest and Latest released resolve a child by its item alone, so both sides always get the same child revision and sub-tree; only As released uses the child revisions a released parent was released with. Without a released side, Latest still shows children that were never released.
- diff
- Compares the BOM lines
beforewithafter(pure, seecompare). - diff_
trees - Compares two expanded BOMs over all levels (pure, see
compare); the rows follow the structure, children right below their line. - summary
- to_xlsx
- Builds the comparison as an
.xlsxworkbook: a header row and one row per line (child numbers indented by level), with the values of the older and the newer revision side by side.