SPA_PL_VID_VW(SQL View) |
Index Back |
---|---|
Templates used for time entry |
SELECT DISTINCT A.BUSINESS_UNIT , A.VENDOR_ID , B.NAME1 FROM PS_SPF_WORDERREC A , PS_VENDOR B , PS_SET_CNTRL_GROUP C 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 A.VENDOR_ID = B.VENDOR_ID AND B.SETID = C.SETID AND C.SETCNTRLVALUE = A.BUSINESS_UNIT AND C.REC_GROUP_ID = 'FS_38' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
3 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |