PSFIELDRECDVW

index back

Records for a field

This 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 NameField TypeColumn TypeDescription
FIELDNAMECharacter(18)VARCHAR2(18) NOT NULLField Name (see PSDBFIELD).
RECNAMECharacter(15)VARCHAR2(15) NOT NULLRecord (Table) Name (see PSRECDEFN).
index back(c)David Kurtz 2019, www.go-faster.co.ukPeopleTools 8.54
PTRef generated on 09-JUN-19