SP_LEDNB_OPRVW

(SQL View)
Index Back

Sec Vw - Non-Balanced Ledgers


SELECT DISTINCT l.oprid ,a.business_unit ,a.ledger ,c.descr ,b.calendar_id FROM ps_bu_led_tbl a ,PS_BU_LED_GRP_TBL b ,ps_led_defn_tbl c ,ps_sec_ledger_opr l WHERE b.business_unit = a.business_unit AND b.ledger_group = a.ledger_group AND b.balanced_ledger = 'N' AND c.setid = ( SELECT setid FROM ps_set_cntrl_rec d WHERE d.setcntrlvalue = a.business_unit AND d.recname = 'LED_DEFN_TBL') AND c.ledger = a.ledger AND c.ledger_type = 'D' AND l.ledger = a.ledger

  • Related Language Record: BU_LED_LANG
  • # 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