GL_ACCT_ALL_VW

(SQL View)
Index Back

View of all Accounts

GL 9. Change ACCOUNT_TYPE's prompt table from ACCT_TYPE_TBL to ACCT_TYPE2_VW to solve the issue that the Account Type list is not driven by the correct SetID.

SELECT A.SETID , A.ACCOUNT , A.DESCR , A.ACCOUNT_TYPE , A.CONTROL_FLAG , A.BOOK_CODE , A.BAL_SHEET_IND FROM PS_GL_ACCOUNT_TBL A WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_GL_ACCOUNT_TBL B WHERE A.SETID = B.SETID AND A.ACCOUNT = B.ACCOUNT)

  • Related Language Record: GL_ACCTALL_LANG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

    2 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account

    Prompt Table: GL_ACCOUNT_TBL

    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    4 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.

    Prompt Table: ACCT_TYPE2_VW

    5 CONTROL_FLAG Character(1) VARCHAR2(1) NOT NULL This flag in used to desginate an Account or Alternate Account as Control Accounts and Control Alternate Accounts, respectively.
    6 BOOK_CODE Character(4) VARCHAR2(4) NOT NULL Book Code
    7 BAL_SHEET_IND Character(2) VARCHAR2(2) NOT NULL Balance Sheet Indicator
    BS=Balance Sheet
    OB=Off Balance Sheet