SPF_CNDIDATE_VW(SQL View) |
Index Back |
---|---|
view for service providersPrompt view for getting alist of service providers |
SELECT B.VENDOR_SETID AS SETID ,B.VENDOR_ID ,B.PERSON_ID ,B.EFFDT ,A.NAME , B.PROVIDER_CONTACT , D.NAME AS SP_PERS_NAME , B.LOCATION ,C.DESCR FROM PS_SPB_PERSON_TBL A , PS_SPB_SERVICE_PRV B , PS_SPB_PERSON_TBL D , PS_VNDR_LOC_SCROL C WHERE A.PERSON_ID = B.PERSON_ID AND D.PERSON_ID = B.PROVIDER_CONTACT AND C.SETID = B.VENDOR_SETID AND C.VENDOR_ID = B.VENDOR_ID AND C.VNDR_LOC = B.LOCATION AND (B.SP_FUNCTION_TYPE = 'PROV' OR B.SP_FUNCTION_TYPE = 'INDP') AND %EffdtCheck(SPB_SERVICE_PRV,B,%CurrentDateIn) AND A.USER_ACC_STATUS <> '0' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
3 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
4 | EFFDT | Date(10) | DATE | Effective Date |
5 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
6 | PROVIDER_CONTACT | Character(15) | VARCHAR2(15) NOT NULL | PROVIDER CONTACT |
7 | SP_PERS_NAME | Character(50) | VARCHAR2(50) NOT NULL | person name field |
8 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
9 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |