RTBL_PRCGRID_VW(SQL View) |
Index Back |
---|
SELECT A.SCE_ID , A.SETID , A.SEQNBR , A.RTBL_ELEMENT , A.VERSION_NUM , A.LEVEL_NUM , A.RTBL_ELEMENT_TYPE , A.EFFDT_TARG , A.CLOSING_TYPE , A.BUSINESS_UNIT_IU , A.JOURNAL_DATE , A.DESCR , (CASE A.LEVEL_NUM WHEN 1 THEN '' ELSE A.RTBL_ELEMENT END) AS RTBL_STEP , ( SELECT LISTAGG((CASE B.RTBL_ELEMENT_TYPE1 WHEN 'J' THEN B.PREDECESSOR||'('||B.BUSINESS_UNIT||','||B.JOURNAL_DATE_TO||')' ELSE B.PREDECESSOR END) ,',') WITHIN GROUP ( ORDER BY PREDECESSOR) FROM PS_RTBL_ELEM_PRED B WHERE A.SCE_ID =B.SCE_ID AND A.SETID=B.SETID AND A.SEQNBR=B.SEQNBR AND A.RTBL_ELEMENT=B.RTBL_ELEMENT AND A.VERSION_NUM=B.VERSION_NUM AND A.LEVEL_NUM=B.LEVEL_NUM AND ((A.RTBL_ELEMENT_TYPE<>'J') OR (A.RTBL_ELEMENT_TYPE='J' AND A.BUSINESS_UNIT_IU=B.BUSINESS_UNIT_IU AND A.JOURNAL_DATE=B.JOURNAL_DATE))) AS SCE_PREDECESSOR, A.RTBL_CHECKPOINT, A.LEVEL1, A.LEVEL2, A.LEVEL3,A.LEVEL4,A.LEVEL5,A.LEVEL6,A.LEVEL7,A.LEVEL8,A.LEVEL9 FROM PS_RTBL_ELEM_VW A |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SCE_ID | Character(10) | VARCHAR2(10) NOT NULL | ID |
2 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
3 | SEQNBR | Number(5,0) | INTEGER NOT NULL | Sequence Number |
4 | RTBL_ELEMENT | Character(30) | VARCHAR2(30) NOT NULL | Element name to identify (in peoplesoft) an element along with its label. |
5 | VERSION_NUM | Number(3,0) | SMALLINT NOT NULL | Version Number |
6 | LEVEL_NUM | Number(3,0) | SMALLINT NOT NULL | Level |
7 | RTBL_ELEMENT_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Element name to identify (in peoplesoft) an element along with its label.
A=Allocation C=Close Ledgers J=Journal M=Multi-currency U=User Defined |
8 | EFFDT_TARG | Date(10) | DATE | New Effective Date |
9 | CLOSING_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Closing Type
I=Interim Y=Year End |
10 | BUSINESS_UNIT_IU | Character(5) | VARCHAR2(5) NOT NULL | Specifies the Business Unit for which InterUnit activity is being generated. |
11 | JOURNAL_DATE | Date(10) | DATE | Specifies the date the journal was created. |
12 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
13 | RTBL_STEP | Character(30) | VARCHAR2(30) NOT NULL | Element name to identify (in peoplesoft) an element along with its label. |
14 | SCE_PREDECESSOR | Long Character | CLOB | Element name to identify (in peoplesoft) an element along with its label. |
15 | RTBL_CHECKPOINT | Character(1) | VARCHAR2(1) NOT NULL |
Checkpoint
Y/N Table Edit |
16 | LEVEL1 | Number(5,0) | INTEGER NOT NULL | Level 1 |
17 | LEVEL2 | Number(5,0) | INTEGER NOT NULL | Level 2 |
18 | LEVEL3 | Number(5,0) | INTEGER NOT NULL | Level 3 |
19 | LEVEL4 | Number(5,0) | INTEGER NOT NULL | Level 4 |
20 | LEVEL5 | Number(5,0) | INTEGER NOT NULL | Level 5 |
21 | LEVEL6 | Number(5,0) | INTEGER NOT NULL | Level 6 |
22 | LEVEL7 | Number(5,0) | INTEGER NOT NULL | Level 7 |
23 | LEVEL8 | Number(5,0) | INTEGER NOT NULL | Level 8 |
24 | LEVEL9 | Number(5,0) | INTEGER NOT NULL | Level 9 |