EM_BUDAGREE1_VW(SQL View) |
Index Back |
---|---|
BUs that have an agreement |
SELECT DISTINCT SEC.OPRID , AG.SETID , S.DESCR FROM PS_EM_AGREEMENT AG , PS_SEC_BU_OPR SEC , PS_SET_CNTRL_REC ST , PS_VENDOR V , PS_SETID_TBL S WHERE AG.SETID = ST.SETID AND ST.SETCNTRLVALUE = SEC.BUSINESS_UNIT AND ST.RECNAME = 'EM_AGREEMENT' AND V.SETID = AG.VENDOR_SETID AND V.VENDOR_ID = AG.VENDOR_ID AND V.VENDOR_STATUS = 'A' AND AG.SETID = S.SETID |
# | 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 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |