SUMLD_BREFNDLNG

(SQL View)
Index Back

Selected CF Tree Nodes - RLR

This View is used to prompt the valid values for certain Summary Ledger Chartfield. The values are from tree nodes selected and are stored in LED_SUMV_TBL table. The first three keys (SETID, LEDGER, CHARTFIELD) are matched with the values on the panel.

SELECT S.SETID ,S.LEDGER ,F.CHARTFIELD ,N.SETID ,N.EFFDT ,D.SETID ,%Sql(BUDGET_REF, D.) ,D.LANGUAGE_CD ,D.DESCR FROM PS_LED_DEFN_TBL S ,PS_LED_FLDS_TBL F ,PS_LED_SUMV_TBL V ,PSTREENODE N ,PSTREELEAF L ,PS_%Sql(BUD_REF_LANG, D) WHERE F.LEDGER=S.LEDGER AND F.SETID=S.SETID AND V.LEDGER=F.LEDGER AND V.SETID=F.SETID AND V.FIELD_SEQUENCE=F.FIELD_SEQUENCE AND N.TREE_NAME=F.TREE_NAME AND N.TREE_NODE=V.SELECT_VALUE AND L.TREE_NAME=N.TREE_NAME AND L.SETID=N.SETID AND L.EFFDT=N.EFFDT AND L.TREE_NODE_NUM>=N.TREE_NODE_NUM AND L.TREE_NODE_NUM<=N.TREE_NODE_NUM_END AND %Sql(BUDGET_REF, D.) >=L.RANGE_FROM AND %Sql(BUDGET_REF, D.) <=L.RANGE_TO AND D.EFFDT=( SELECT MAX(EFFDT) FROM PS_%Sql(BUD_REF_LANG,) WHERE %Sql(BUDGET_REF,) = %Sql(BUDGET_REF, D.) AND SETID=D.SETID AND EFFDT<=S.EFFDT)

  • Related Language Record for SUMLD_BREFND_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 LEDGER Character(10) VARCHAR2(10) NOT NULL Ledger
    3 FIELDNAME Character(18) VARCHAR2(18) NOT NULL Field Name (see PSDBFIELD).
    4 TREE_NAME_SETID Character(5) VARCHAR2(5) NOT NULL TableSet
    5 EFFDT Date(10) DATE Effective Date
    6 DTL_SETID Character(5) VARCHAR2(5) NOT NULL Tree Structure Summary Detail Tree SetId
    7 CHARTFIELD_VALUE Character(30) VARCHAR2(30) NOT NULL ChartField Value
    8 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    9 DESCR Character(30) VARCHAR2(30) NOT NULL Description