Additional Windchill Capabilities > Service Information Management > About Windchill Service Parts > Creating and Editing Parts Lists > Generating Parts Lists from SBOM Parts
  
Generating Parts Lists from SBOM Parts
An author can select to auto-generate a parts list from a part or parts in an SBOM. The following options are available:
1. A parts list from a single SBOM part
A parts list item is generated for the original part and each of its first level child parts.
2. A series of parts lists from the parts in an SBOM
One parts list is generated for each part that has child parts. It includes part list items for the original part and each of its child parts.
If the top level parts list already exists, parts lists are created for the child parts if they do not already exist.
To generate parts lists for selected parts in the SBOM:
1. In the structure tree, select the required part or parts.
The process is only available for parts that have child parts, and do not already have corresponding parts lists.
2. Select one of the following UI options, indicated by :
The Generate Parts List option in the shortcut menu
The Generate Parts Lists for Selected Parts option in the Service > Generate toolbar menu
3. A parts list is created for each of the selected parts, following the rules given above. You are presented with a confirmation message to advise that the process is complete.
To generate parts lists for all available parts in the SBOM:
1. In the structure tree, select the Generate Parts Lists for All Parts option in the Service > Generate toolbar menu.
2. You are presented with a wizard that analyzes if parts lists already exist. It provides confirmation of the parts lists that are created during the process, and advises which parts already have a corresponding parts list.
3. If there are parts lists that can be created, click Next to start the generation process.
4. Closing the dialog box with the X button interrupts or finishes the process.
5. A parts list is generated for each SBOM in the structure, following the rules given above. A message confirms how many parts lists were successfully created, and how many failures occurred.
Preference values can be configured to support this process:
The parts list created is of the type defined by the Default Parts List Type preference set for the site, organization or product. The default value is com.ptc.arbortext.windchill.partlist.PartsList.
The value of the Include/Associate Non-serviceable Parts to Parts Lists preference determines if non-serviceable parts are included in generated parts lists.
The Generate Parts List options are disabled if this preference is set to No and all a part’s children are non-serviceable.
Refer to Setting Service Preferences for further information.
Certain information is carried forward from the BOM part during this process:
Applicability (ATO and Service Effectivity) settings for a BOM part are copied to any parts list it generates
The value of the Quantity attribute from a BOM part is copied to the Quantity attribute of the parts list item created
An administrator can create further mappings for part attributes — see Mapping Part Attributes to Parts List Item Attributes for further information.
Generating a Sorted Parts List
You can specify that a parts list should be ordered in a specific way when it is generated.
You can define the attribute on a parts list item, for example Quantity, that represents the sorting marker for the items in generated / updated parts lists. The parts list will be ordered by the values of this attribute for its items when it is generated.
For more information, see Sort a Parts List by an Attribute Value.