Additional Windchill Capabilities > Manufacturing Process Management > Transforming an eBOM into an mBOM > Creating an mBOM > Overview of Generate Downstream Structure Action > Generating a Downstream Structure
  
Generating a Downstream Structure
Prerequisites
To use the Generate Downstream Structure action in a default setting, ensure that the following criteria are met:
The upstream node is selected.
The corresponding downstream node is selected.
Equivalent link exists between the upstream and downstream nodes.
You can customize the selection and equivalent link criteria in the preprocessor delegate.
By default, the upstream nodes are matched with their downstream parent nodes using custom attribute values. You can customize the matching logic in the search delegate.
By default, the upstream nodes are transferred downstream using the paste as is action. You can customize the transfer logic in the resolver delegate.
For more information on delegates, see Delegates Supporting Generate Downstream Structure Action Framework.
* 
Only Manufacturing Manager and Manufacturing Engineering Manager roles can access the Generate Downstream Structure action.
To generate the downstream structure using MAPSB
Perform the following steps:
1. Access the required part and assign appropriate values to the custom attributes created for the transfer and restructure logic. For more information, see Transfer Specific Parts and Restructure Transferred Nodes.
* 
You need to customize the table view to display the custom attribute. For more information, see Customizing Table Views.
2. Select the root node in the upstream and downstream structure, and click in the middle pane tool bar.
The parts with matching custom attribute values in both the structures are added as child parts in the downstream structure. You are also notified about the result of the action.
To generate the downstream structure using command line utility
As an administrator, you can generate mBOM from eBOM using the GenerateDownstreamStructure command line utility.
This procedure assumes that custom attributes are defined as per business requirements and equivalence links exist between the upstream and downstream nodes.
Perform the following steps:
1. Open the GenerateDownstreamStructure.properties file located at codebase/com/ptc/Windchill/enterprise/associativity/asb.
2. Configure the property file to specify the details of the upstream and downstream nodes using the following attributes:
upstreamNumber: Upstream part number
upstreamView: Upstream view
downstreamNumber: Downstream part number
downstreamView: Downstream view
An example is given here.
upstreamNumber=0000000049
upstreamView=Design
downstreamNumber=0000000053
downstreamView=Manufacturing
3. Execute the utility using the command: windchill com.ptc.windchill.associativity.GenerateDownstreamStructure -u <admin user name> -p <admin password> -f com/ptc/windchill/associativity/GenerateDownstreamStructure.properties.