To join the hierarchy with the detail table, import the detail table into the Designer. Use the Source Analyzer to establish the key relationship. After you import the definition, you can find the detail table information on the Properties tab of the definition in the Mapping Designer. You can then import the detail table definition and create the relationship.
However, when you import a hierarchy and its detail table, you create a logical relationship. The detail table contains the detail information for the leaf nodes. The hierarchy table contains the range of values for the details.
To establish hierarchy relationships:
Double-click the hierarchy table definition.
Change the key value of either the FROM_VALUE column or the TO_VALUE column to Foreign Key.
In the Primary table list, select the detail table.
In the Primary column list, select the primary key of the detail table. Click OK.