KK_ACCTEX_LANG

(SQL View)
Index Back

Non Stat Acct View - Rel Lang

This view is used to support the related language feature when prompting on the CC budget definition excluded accounts page. It filters out account values where the Control Flag = 'Y' and Statistics Account = 'N' and retrieves the maximum effective dated account value where there is a least one effective dated row that is active.

SELECT A.SETID , A.ACCOUNT_TYPE , A.ACCOUNT , L.LANGUAGE_CD , L.DESCR , L.DESCRSHORT FROM PS_GL_ACCOUNT_TBL A , PS_GL_ACCOUNT_LANG L WHERE A.SETID = L.SETID AND A.ACCOUNT = L.ACCOUNT AND A.EFFDT = L.EFFDT AND A.EFFDT= ( SELECT MAX(B.EFFDT) FROM PS_GL_ACCOUNT_TBL B WHERE A.SETID=B.SETID AND A.ACCOUNT=B.ACCOUNT AND B.EFF_STATUS<>'I') AND A.CONTROL_FLAG = 'N' AND A.STATISTICS_ACCOUNT = 'N'

  • Related Language Record for KK_ACCT_EXCP_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID_ACCOUNT Character(5) VARCHAR2(5) NOT NULL Account Table Setid

    Default Value: OPR_DEF_TBL_FS.SETID

    2 ACCOUNT_TYPE Character(1) VARCHAR2(1) NOT NULL Identifies a category of accounts that appears on the balance sheet or income statement of the enterprise. Each general ledger account (ACCOUNT) is associated with an account type (also called a ""monetary account type""). PeopleSoft delivers standard account types such as asset, liability, expense, and revenue.
    3 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
    4 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    6 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description