SP_BULEDS_OPRVW(SQL View) |
Index Back |
---|---|
Sec Vw - Summ Ledgers for a BU |
SELECT C.OPRID , A.BUSINESS_UNIT , A.LEDGER ,B.DESCR FROM PS_BU_LED_GRP_TBL A , PS_LED_DEFN_TBL B , PS_SEC_LEDGER_OPR C WHERE B.LEDGER = A.LEDGER AND EXISTS ( SELECT 'X' FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = A.BUSINESS_UNIT AND SETID = B.SETID AND RECNAME = 'LED_DEFN_TBL') AND B.LEDGER_TYPE = 'S' AND C.LEDGER = A.LEDGER |
# | 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 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |