KK_EXLACCT_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 , L.LANGUAGE_CD , L.DESCR , L.DESCRSHORT , A.ACCOUNT_TYPE , A.BUDGETARY_ONLY 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_EXCL_ACCT_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    5 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
    6 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.
    7 BUDGETARY_ONLY Character(1) VARCHAR2(1) NOT NULL Budgetary Only