DFW_COMP_REC_VW

(SQL View)
Index Back

DF_COMP_REC_VW

View to list all records in a component.

SELECT DISTINCT A.PNLGRPNAME , B.RECNAME , C.RECDESCR ,0 FROM PSPNLGROUP A , PSPNLFIELD B , PSRECDEFN C WHERE B.RECNAME <> ' ' AND B.OCCURSLEVEL = 0 AND B.PNLNAME = A.PNLNAME AND C.RECNAME = B.RECNAME AND C.RECTYPE IN (0, 1) UNION SELECT DISTINCT A.PNLGRPNAME , B.RECNAME , C.RECDESCR , OCCURSLEVEL FROM PSPNLGROUP A , PSPNLFIELD B , PSRECDEFN C WHERE B.RECNAME <> ' ' AND B.OCCURSLEVEL > 0 AND B.PNLNAME = A.PNLNAME AND C.RECNAME = B.RECNAME AND C.RECTYPE IN (0, 1) AND (B.PNLNAME = A.PNLNAME OR EXISTS ( SELECT 'X' FROM pspnlfield f WHERE b.pnlname = f.SUBpnlname AND f.pnlname = a.pnlname AND f.subpnlname <> ' ') )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PNLGRPNAME Character(18) VARCHAR2(18) NOT NULL Component Name
2 RECNAME Character(15) VARCHAR2(15) NOT NULL Record (Table) Name (see PSRECDEFN).
3 DESCR Character(30) VARCHAR2(30) NOT NULL Description
4 OCCURSLEVEL Number(1,0) SMALLINT NOT NULL Occurs level