SP_LGRPNB_OPRVW(SQL View) |
Index Back |
---|---|
Sec Vw - Non-Bal Ledger Grps |
SELECT DISTINCT l.oprid , a.business_unit , a.ledger_group , b.descr , a.calendar_id , e.open_year_from , e.open_period_from , f.open_year_to , f.open_period_to FROM PS_BU_LED_GRP_TBL a , ps_led_grp_tbl b , ps_fin_open_min_vw e , ps_fin_open_max_vw f , ps_sec_ledger_opr l WHERE a.balanced_ledger = 'N' AND a.ledger_type = 'D' AND b.setid = ( SELECT setid FROM ps_set_cntrl_rec c WHERE c.setcntrlvalue = a.business_unit AND c.recname = 'LED_GRP_TBL') AND b.ledger_group = a.ledger_group AND l.ledger_group = a.ledger_group AND e.business_unit = a.business_unit AND e.ledger_group = a.ledger_group AND f.business_unit = a.business_unit AND f.ledger_group = a.ledger_group |
# | 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 |
5 | CALENDAR_ID | Character(2) | VARCHAR2(2) NOT NULL | Calendar ID |
6 | OPEN_YEAR_FROM | Number(4,0) | SMALLINT NOT NULL | Open Year From |
7 | OPEN_PERIOD_FROM | Number(3,0) | SMALLINT NOT NULL | Open Period From |
8 | OPEN_YEAR_TO | Number(4,0) | SMALLINT NOT NULL | Open Year To |
9 | OPEN_PERIOD_TO | Number(3,0) | SMALLINT NOT NULL | Open Period To |