You can join detail trees with their detail records. However, joining imported trees with records is different than joining created tree source definitions with records.
You can join a detail tree that you import with its detail record in the Application Source Qualifier. The detail record contains values related to the detail ranges in a tree.
To join a created tree source definition with any other source, use a Joiner transformation. You can only associate one created source definition with the Application Source Qualifier.
When you connect an imported detail tree and detail record in an Application Source Qualifier, the Designer creates a default join based on the detail ranges in the tree and the related column in the detail record. When the PowerCenter Integration Service performs the join, it produces a row for each value in the related column of detail record that matches or falls within the tree detail ranges. When the PeopleSoft tree references a detail value more than once, the PowerCenter Integration Service produces a row for each use of the detail value.
The following table displays the RANGE_FROM and RANGE_TO values for each row that represent the detail ranges in the tree:
Country
Region
State
RANGE_FROM
RANGE_TO
US
E
NY
1453
1453
US
E
DC
1480
1480
US
W
NULL
534
534
US
W
CA
2334
2434
US
W
CA
3001
3001
The following table displays the detail record for the tree, which contains the related column, Store_ID, and other columns including Mgr_ID and Employee:
Store_ID
Mgr_ID
Employee
534
5401
15
1453
7001
43
1480
1101
23
2334
1601
63
2432
301
52
3001
2001
19
3234
1401
32
The following table shows the results of the default join when you connect the detail tree and detail record in the Application Source Qualifier:
Country
Region
State
RANGE_FROM
RANGE_TO
Store_ID
Mgr_ID
Employee
US
E
NY
1453
1453
1453
7001
43
US
E
DC
1480
1480
1480
1101
23
US
W
NULL
534
534
534
5401
15
US
W
CA
2334
2434
2334
1601
63
US
W
CA
2334
2434
2432
301
52
US
W
CA
3001
3001
3001
2001
19
The US-W-CA-2334-2434 row from the tree appears twice, once for each value in the Store_ID column that falls within the range, 2334 to 2434. The 3234 store ID row from the detail record does not appear in the result set because it is not included in the detail ranges of the tree. The PowerCenter Integration Service replaces the missing node in the US-W-534 row with NULL.