SPA_PL_SPC_VW

(SQL View)
Index Back

SELECT DISTINCT A.VENDOR_ID , A.WO_CONID , B.NAME FROM PS_SPF_WORDERREC A , PS_SPB_PERSON_TBL B WHERE ((A.WO_STATUS IN ('L','C','F','T')) OR (A.WO_STATUS = 'N' AND EXISTS ( SELECT '*' FROM PS_SPF_WO_HISTORY H WHERE H.BUSINESS_UNIT = A.BUSINESS_UNIT AND H.WORK_ORDER_ID = A.WORK_ORDER_ID AND H.WO_STATUS = 'L'))) AND A.SERVICE_METHOD = 'D' AND B.PERSON_ID= A.WO_CONID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
2 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
3 NAME Character(50) VARCHAR2(50) NOT NULL Name