SAD_BPV_ORG_SR5

(SQL View)
Index Back

BPV Organisations view

FS 10062004

SELECT DISTINCT B.HEGIS_CODE , A.EXT_ORG_ID , B.ORG_LOCATION , A.DESCR , A.DESCRSHORT , C.ADDRESS3 , C.NUM1 , C.NUM2 , C.POSTAL FROM PS_ORG_LOCATION A ,PS_SAD_BPVKCCA_NLD B ,PS_SAD_BPV_OLD_NLD C WHERE A.EXT_ORG_ID = B.EXT_ORG_ID AND A.ORG_LOCATION = B.ORG_LOCATION AND %EffdtCheck(ORG_LOCATION A1, A, %CurrentDateIn) AND B.SAD_INTSHP_APP_NLD IN ('AC','IB') AND A.EXT_ORG_ID = C.EXT_ORG_ID(+) AND A.ORG_LOCATION = C.ORG_LOCATION(+) AND 'BUSN' = C.ADDRESS_TYPE(+)

  • Related Language Record: SADBPVORGSR5LNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 HEGIS_CODE Character(8) VARCHAR2(8) NOT NULL HEGIS Code

    Default Value: ACAD_PROG_TBL.HEGIS_CODE

    2 EXT_ORG_ID Character(11) VARCHAR2(11) NOT NULL External Org ID

    Default Value: NEW

    3 ORG_LOCATION Number(3,0) SMALLINT NOT NULL Location Nbr
    4 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50
    5 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
    6 SAD_BPV_STREET_NLD Character(55) VARCHAR2(55) NOT NULL Street
    7 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
    8 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
    9 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal