RC_COMP_RECDFN

(SQL View)
Index Back

Component Records - Non Primar

View for finding the record names along with level for a given component interface.

SELECT DISTINCT %Substring(A.BCPGNAME, 1, 18) , A.MARKET , B.BCSCROLL , C.RECNAME , B.RECNAME FROM PSBCDEFN A , PSBCITEM B , PS_RC_COMP_PRECDFN C WHERE A.BCNAME = B.BCNAME AND C.PNLGRPNAME = A.BCPGNAME AND C.OCCURSLEVEL = B.BCSCROLL AND ((C.RECNAME = B.BCITEMPARENT) OR (B.BCSCROLL = 0 AND B.BCITEMPARENT = 'PS_ROOT'))

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