EODC_REC4_VW

(SQL View)
Index Back

CI Component Parent RecordName

Currently not use since it does not resolve the level correctly. It's being replaced by EODC_REC4_VW3. Candidate to be deleted...

SELECT DISTINCT C.MARKET , C.PNLGRPNAME , %NumToChar((A.OCCURSLEVEL + C.OCCURSLEVEL )) , CASE WHEN C.RECNAME <> ' ' THEN C.RECNAME ELSE A.RECNAME END , CASE WHEN C.RECNAME <> ' ' THEN C.RECNAME ELSE D.RECNAME END , %NumToChar((D.OCCURSLEVEL + C.OCCURSLEVEL )) FROM PSPNLFIELD A , PS_EODC_PNLGR4_VW C , PSPNLFIELD D WHERE A.PNLNAME = C.PNLNAME AND A.RECNAME <> ' ' AND D.PNLNAME = C.PNLNAME AND D.RECNAME <> ' ' AND ((A.OCCURSLEVEL + C.OCCURSLEVEL) >= 1 AND (D.OCCURSLEVEL + C.OCCURSLEVEL) = (A.OCCURSLEVEL + C.OCCURSLEVEL) - 1)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 MARKET Character(3) VARCHAR2(3) NOT NULL Market
2 BCPGNAME Character(30) VARCHAR2(30) NOT NULL Panel Group Name
3 EODC_CIRECLVL Character(1) VARCHAR2(1) NOT NULL CI Record Level
0=Level 0
1=Level 1
2=Level 2
3=Level 3
4 EODC_CI_RECNAME Character(15) VARCHAR2(15) NOT NULL CI Record Name
5 EODC_CI_PARENTREC Character(15) VARCHAR2(15) NOT NULL CI Parent Record Name
6 EODC_CI_PARENTLVL Character(1) VARCHAR2(1) NOT NULL CI Parent Level
0=Level 0
1=Level 1
2=Level 2
3=Level 3