PSFIELDRECDVW(SQL View) |
Index Back |
---|---|
Records for a fieldThis view brings up all the records for a field, accounting for sub records. |
SELECT B.FIELDNAME , A.RECNAME 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 | FIELDNAME | Character(18) | VARCHAR2(18) NOT NULL | Field Name (see PSDBFIELD). |
2 | RECNAME | Character(15) | VARCHAR2(15) NOT NULL | Record (Table) Name (see PSRECDEFN). |