TD_CUST_TREE_VW(SQL View) |
Index Back |
---|---|
CustomerTreesReturns only customer trees from Trade Promotion tree tables |
SELECT A.SETID , A.TD_TREE_ID , A.EFFDT , A.DESCR , B.TD_TREE_BRANCH , B.DESCR FROM PS_TD_TREE_HDR A , PS_TD_TREE_NODE B WHERE %Join(COMMON_KEYS, TD_TREE_HDR A, TD_TREE_NODE B) AND A.TD_TREE_TYPE = 'C' AND ((B.TD_TREE_BRANCH <> B.TD_TREE_BRANCH_PAR) OR (B.TD_NODE_LEVEL = 1)) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
|
2 | Character(8) | VARCHAR2(8) NOT NULL | Tree ID | |
3 | Date(10) | DATE NOT NULL | Effective Date | |
4 | Character(30) | VARCHAR2(30) NOT NULL | Description | |
5 | Character(20) | VARCHAR2(20) NOT NULL | Tree Branch Node ID | |
6 | Character(30) | VARCHAR2(30) NOT NULL | Tree Branch |