LED_ACT_KK_VW(SQL View) |
Index Back |
---|---|
Actual kk LedgersThe view is used to only select actual ledgers with associated kk ledger groups. |
SELECT DISTINCT A.BUSINESS_UNIT ,B.LEDGER , C.DESCR FROM PS_BU_LED_GRP_TBL A , PS_LED_GRP_LED_TBL B , PS_LED_DEFN_TBL C , PS_BUL_CNTL_BUD D WHERE B.LEDGER_GROUP = A.LEDGER_GROUP AND B.SETID = ( SELECT X.SETID FROM PS_SET_CNTRL_REC X WHERE X.SETCNTRLVALUE = A.BUSINESS_UNIT AND RECNAME = 'LED_DEFN_TBL') AND B.SETID = C.SETID AND B.LEDGER = C.LEDGER AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.LEDGER_GROUP = D.LEDGER_GROUP |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |