SP_BU_GL4_NONVW

(SQL View)
Index Back

BU GL Ledger Group View


SELECT A.BUSINESS_UNIT , A.LEDGER_GROUP , B.DESCR , B.LEDGERS_SYNC , A.DEFAULT_LEDGER_GRP , A.CALENDAR_ID , MIN(D.OPEN_YEAR_FROM) , MIN(D.OPEN_PERIOD_FROM) , MAX(E.OPEN_YEAR_TO) , MAX(E.OPEN_PERIOD_TO) FROM PS_BU_LED_GRP_TBL A , PS_LED_GRP_TBL B , PS_FIN_OPEN_MIN_VW D , PS_FIN_OPEN_MAX_VW E WHERE A.LEDGER_GROUP = B.LEDGER_GROUP AND D.BUSINESS_UNIT = A.BUSINESS_UNIT AND D.LEDGER_GROUP = A.LEDGER_GROUP AND E.BUSINESS_UNIT = A.BUSINESS_UNIT AND E.LEDGER_GROUP = A.LEDGER_GROUP AND B.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC C WHERE C.SETCNTRLVALUE = A.BUSINESS_UNIT AND C.RECNAME = 'LED_GRP_TBL') GROUP BY A.BUSINESS_UNIT , A.LEDGER_GROUP , B.DESCR , B.LEDGERS_SYNC , A.DEFAULT_LEDGER_GRP , A.CALENDAR_ID

  • Related Language Record: BU_LED_GRPVW2LG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
    2 LEDGER_GROUP Character(10) VARCHAR2(10) NOT NULL Ledger Group
    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    4 LEDGERS_SYNC Character(1) VARCHAR2(1) NOT NULL Keep Ledgers in Sync
    5 DEFAULT_LEDGER_GRP Character(1) VARCHAR2(1) NOT NULL Jrnl Generator Dflt Ledger Grp
    6 CALENDAR_ID Character(2) VARCHAR2(2) NOT NULL Calendar ID
    7 OPEN_YEAR_FROM Number(4,0) SMALLINT NOT NULL Open Year From
    8 OPEN_PERIOD_FROM Number(3,0) SMALLINT NOT NULL Open Period From
    9 OPEN_YEAR_TO Number(4,0) SMALLINT NOT NULL Open Year To
    10 OPEN_PERIOD_TO Number(3,0) SMALLINT NOT NULL Open Period To