SP_CMBULG_OPRVW(SQL View) |
Index Back |
---|---|
Sec Vw - Detl Ledgers for a BU |
SELECT C.OPRID , A.BUSINESS_UNIT , A.LEDGER , B.DESCR FROM PS_BU_LED_TBL A , PS_LED_DEFN_TBL B , PS_SEC_LEDGER_OPR C WHERE B.LEDGER = A.LEDGER AND B.LEDGER_TYPE = 'D' AND B.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = A.BUSINESS_UNIT AND RECNAME = 'LED_DEFN_TBL') AND A.LEDGER = C.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_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
3 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |