EM_SLR_PO_BU_LN(SQL View) |
Index Back |
---|---|
PO BU View for User SuppliersLanguage view 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 , LANG.LANGUAGE_CD , LANG.DESCR FROM PS_PO_HDR_FS A , PS_VENDOR_USER B , PS_EM_AGREEMENT D , PS_BUS_UNIT_TBL_PM E , PS_BUS_UNIT_LANG LANG WHERE B.VENDOR_ID = A.VENDOR_ID AND B.SETID = A.VENDOR_SETID 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 = A.BUSINESS_UNIT AND E.BUSINESS_UNIT_AP = D.SETID AND D.EM_AGREE_BUYER = 'Y' AND D.EM_AGREE_SELLER = 'Y' AND A.BUSINESS_UNIT = LANG.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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |