TD_LOADPROD_VW(SQL View) |
Index Back |
---|
SELECT DISTINCT C.OPRID , A.SETID , A.TD_TREE_ID , A.EFFDT , A.TD_NODE_ID , A.TD_NODE_PARENT_ID , A.TD_SEQNO , A.TD_SEQNO , A.TREE_NODE_NUM , A.TREE_NODE_NUM_END , A.TD_TREE_BRANCH , A.TD_TREE_BRANCH_PAR , A.CUST_ID , A.PRODUCT_ID , A.PROMO_GROUP , A.DESCR , ' ' , A.TD_NODE_LEVEL , A.TD_CUST_TYPE , A.TD_WEIGHTING , A.TD_NODE_TYPE , 'Y' , 0 , 0 , ' ' , ' ' , 'N' , 'N' , 'N' , 'N' , ' ' , 'Y' , 'N' FROM PS_TD_TREE_NODE A , PS_TD_PROD_ROOT_VW C WHERE A.SETID = C.SETID AND A.TD_TREE_ID = C.TD_TREE_ID AND A.EFFDT = C.EFFDT AND A.TREE_NODE_NUM >= C.TREE_NODE_NUM AND A.TREE_NODE_NUM <= C.TREE_NODE_NUM_END |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
3 | TD_TREE_ID | Character(8) | VARCHAR2(8) NOT NULL | Tree ID |
4 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
5 | TD_NODE_ID | Character(8) | VARCHAR2(8) NOT NULL | Node ID |
6 | TD_NODE_PARENT_ID | Character(8) | VARCHAR2(8) NOT NULL | Node ID |
7 | TD_SEQNO | Number(15,4) | DECIMAL(14,4) NOT NULL | Sequence Number |
8 | TD_SEQNO_ORG | Number(15,4) | DECIMAL(14,4) NOT NULL | Sequence Number |
9 | TREE_NODE_NUM | Number(10,0) | DECIMAL(10) NOT NULL | Internal beginning node range number |
10 | TREE_NODE_NUM_END | Number(10,0) | DECIMAL(10) NOT NULL | Internal ending node range number |
11 | TD_TREE_BRANCH | Character(20) | VARCHAR2(20) NOT NULL | Tree Branch Node ID |
12 | TD_TREE_BRANCH_PAR | Character(20) | VARCHAR2(20) NOT NULL | Parent Branch |
13 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations. |
14 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
15 | PROMO_GROUP | Character(10) | VARCHAR2(10) NOT NULL | Promotional Group |
16 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
17 | DESCR2 | Character(30) | VARCHAR2(30) NOT NULL | Descr2 |
18 | TD_NODE_LEVEL | Number(3,0) | SMALLINT NOT NULL | Node Level |
19 | TD_CUST_TYPE | Character(6) | VARCHAR2(6) NOT NULL | Customer Class |
20 | TD_WEIGHTING | Number(6,2) | DECIMAL(5,2) NOT NULL | Weighting |
21 | TD_NODE_TYPE | Character(1) | VARCHAR2(1) NOT NULL | Node Type |
22 | TD_ALLOW_CHILDREN | Character(1) | VARCHAR2(1) NOT NULL | Allow Child Nodes |
23 | TD_CHILD_COUNT | Number(10,0) | DECIMAL(10) NOT NULL | Number Of Children |
24 | TD_NODE_COUNT | Number(10,0) | DECIMAL(10) NOT NULL | Node Count |
25 | TD_NODE_STATUS | Character(1) | VARCHAR2(1) NOT NULL | Node Status |
26 | CONTNAME | Character(30) | VARCHAR2(30) NOT NULL | Content Name |
27 | TD_EXPANDED_NODE | Character(1) | VARCHAR2(1) NOT NULL |
Expanded Node
Y/N Table Edit Default Value: N |
28 | TD_NODE_SELECTABLE | Character(1) | VARCHAR2(1) NOT NULL |
Nodes Selectable
A=All Nodes Selectable E=All Nodes NOT In List I=All Nodes Included In List N=No Nodes Selectable |
29 | TD_SELECTED_NODE | Character(1) | VARCHAR2(1) NOT NULL | Node Selected |
30 | UPDATED_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
UPDATED FLAG
Y/N Table Edit Default Value: N |
31 | TD_STANDARD_NODE | Character(1) | VARCHAR2(1) NOT NULL |
Standard Node
Default Value: N |
32 | TD_NODE_VISIBLE | Character(1) | VARCHAR2(1) NOT NULL |
Node Visible
Y/N Table Edit Default Value: Y |
33 | LOADED_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Item Load Step One Load Status
C=Complete L=To Be Loaded Y/N Table Edit Default Value: N |