SPF_D_SUPPLR_VW

(SQL View)
Index Back

Deliverables Based Suppliers

Returns a list of Deliverables Based Suppliers so that invoices can be created. The Suppliers shown must be on at least one work order who's status has been released.

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') OR (A.WO_STATUS = 'N' AND A.FINAL_DTTM IS NULL)) 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