ESTB_PIS_VW_BRA

(SQL View)
Index Back

PIS Responsible Estab View BRA

PIS Responsible Establishment View BRA

SELECT A.ESTABID , A.EFFDT , A.EFF_STATUS , A.DESCR , A.DESCRSHORT , A.DESCR_AC , A.COMPANY FROM PS_ESTAB_TBL A , PS_ESTAB_TBL_BRA B WHERE A.ESTABID = B.ESTABID AND A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_ESTAB_TBL WHERE ESTABID = A.ESTABID) AND B.ACTIVE_PIS_BRA = 1

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 ESTABID Character(12) VARCHAR2(12) NOT NULL Establishment ID
2 EFFDT Date(10) DATE NOT NULL Effective Date

Default Value: %date

3 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive

Default Value: A

4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
5 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
6 DESCR_AC Character(30) VARCHAR2(30) NOT NULL Alternate Char Description
7 COMPANY Character(3) VARCHAR2(3) NOT NULL Company

Prompt Table: COMPANY_TBL