EM_SLR_PO_BU_VW(SQL View) |
Index Back |
---|---|
PO BU View for User SuppliersView used in Buyer Direct model of eSettlements to return a list of PO BU's on headers that have been created for the specified supplier. |
SELECT DISTINCT B.OPRID , B.SETID , B.VENDOR_ID , A.VNDR_LOC , A.BUSINESS_UNIT , C.DESCR FROM PS_PO_HDR_FS A , PS_VENDOR_USER B , PS_BUS_UNIT_TBL_FS C , PS_EM_AGREEMENT D , PS_BUS_UNIT_TBL_PM E WHERE B.VENDOR_ID = A.VENDOR_ID AND B.SETID = A.VENDOR_SETID AND C.BUSINESS_UNIT = A.BUSINESS_UNIT AND A.VENDOR_SETID = D.VENDOR_SETID AND A.VENDOR_ID = D.VENDOR_ID AND A.VNDR_LOC = D.VNDR_LOC AND E.BUSINESS_UNIT_AP = D.SETID AND D.EM_AGREE_BUYER = 'Y' AND D.EM_AGREE_SELLER = 'Y' AND E.BUSINESS_UNIT = A.BUSINESS_UNIT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
3 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
4 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
5 | BUSINESS_UNIT_PO | Character(5) | VARCHAR2(5) NOT NULL | PO Business Unit |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |