RB_RECFLD_VW

(SQL View)
Index Back

All record fields w/ subrec

This view brings up all the fields for a record, including the fields in the subrecords, if any.

SELECT A.RECNAME , B.FIELDNAME FROM PSRECDEFN A , PSRECFIELD B WHERE B.SUBRECORD = 'N' AND (A.RECNAME = B.RECNAME OR (A.RECNAME <> B.RECNAME AND B.RECNAME IN ( SELECT C.FIELDNAME FROM PSRECFIELD C WHERE C.SUBRECORD = 'Y' AND C.RECNAME = A.RECNAME)))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BASE_RECORD Character(15) VARCHAR2(15) NOT NULL Base Record
2 FIELDNAME Character(18) VARCHAR2(18) NOT NULL Field Name (see PSDBFIELD).