Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The XML file structure for multi-level BOM files looks like this:

<?xml version="1.0" encoding="utf-8"?>
<Assemblies>
     <Assembly>
          <Customer/>
          <Name/>
          <Revision/>
          <Configurable/>
          <BOMItems>
               <BOMItem>
                    <AML>
                         … ...
                    </AML>
                    <AltIPN>
                         … ...
                    </AltIPN>
                    <Assembly>
                           …...
                    </Assembly>
                    <ConfigurationOption/>
                    <ConsolidatedReferences/>
                    <CustomerPartNumber/>
                    <CustomFields>
                           …...
                    </CustomFields>
                    <Description/>
                    <InternalPartNumber/>
                    <IsSubAssembly/>
                    <ItemNumber/>
                    <Manufacturer/>
                    <OptionCode/>
                    <Package/>
                    <PartLabel/>
                    <PartRevision/>
                    <PartType/>
                    <Polarized/>
                    <Quantity/>
                    <Reference/>
                    <ResourceTypes>
                         … ...
                    </ResourceTypes>
                    <RevisionMode/>
                    <Socket/>
                    <SubAssemblyType/>
                    <UnitOfIssue/>
               </BOMItem>
          </BOMItems>
     </Assembly>
</Assemblies>

Multi-level BOM example

Consider an XML file with a parent assembly named Parent Rev P1.

...

In the following illustration, the phantom assembly is highlighted in red. Note the grouping of the BOM line items in the phantom assembly are not indented but can include a level or parent indicator. In this example, the phantom assembly consists of 4 part numbers: 45999-5, 4589632-89-88, 45999-96, and 45263).

phantom assemblyImage Modified

Multi-level BOM behavior

...

When a BOM is flattened, the information contained in the sub-assembly indentation is lost. Consider the following example:

Assembly A has three part numbersImage Modified
  • Assembly A has three part numbers: B, L, and M.

    • B is an inline assembly that has part numbers C, D, E, and K.

  • Sub-assembly E is a phantom assembly with three part numbers: F, G, and J.

    • G is an inline assembly that has part numbers H and I.

  • Part numbers I and L are conventional sub-assemblies—their BOM line items are not included in the flattened BOM.

Flattened assemblyImage Modified

When flattened, the information that helps identify which assembly a BOM line item relates to is lost, making it impossible to determine (in this example) which assembly or sub-assembly part J belongs to.


The new column value identifies the line item number of the BOM line item's immediate parentImage Modified

A new column encodes this information in the flattened BOM—the new column value (shown in the illustration on the left) identifies the line item number of the BOM line item's immediate parent.

...

  • sub-assembly

sub-assembly icon
  • inline assembly (published)

inline assembly (published) icon
  • inline assembly (unpublished)

inline assembly (unpublished) icon
  • phantom assembly (published)

phantom assembly (published) icon
  • phantom assembly (unpublished)

phantom assembly (unpublished) icon

Consider an example BOM:

Example BOMImage Modified


If all of the inline and phantom sub-assembly BOMs are published, the flattened BOM for the parent Assembly A will look like this:


Flattened BOMImage Modified


If the BOM of inline Sub-assembly B is unpublished, the flattened BOM for the parent Assembly A will look like this:


Flattened BOM for parent assembly AImage Modified

Note
Note that the icon for the inline Sub-assembly B is highlighted and its BOM line items are not displayed because the BOM is unpublished.


...