SEC_ACCTALL_RVW

(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 DISTINCT C.ROLEUSER , B.PRODSRCID , 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 , PS_SEC_ACCT_ROLE B , PSROLEUSER C WHERE %Join(COMMON_KEYS,GL_ACCOUNT_TBL A, GL_ACCOUNT_TBL B, EFFDT) AND C.ROLENAME = B.ROLENAME AND A.EFFDT = ( SELECT MAX(X.EFFDT) FROM PS_GL_ACCOUNT_TBL X WHERE A.SETID = X.SETID AND A.ACCOUNT = X.ACCOUNT)

  • Related Language Record: SEC_ACCTALL_RLG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    2 PRODSRCID Character(4) VARCHAR2(4) NOT NULL Chartfield Security: Source Product
    DBI=Billing
    DCM=Cost Management
    DIN=Inventory
    DMI=Mobile Inventory
    DOM=Order Management
    DPO=Purchasing
    DPV=eProcurement
    DSP=Service Procurement
    FAM=Asset Management
    FAP=Payables
    FAR=Receivables
    FCA=Contracts
    FEX=Expenses
    FGL=General Ledger
    FGM=Grants Management
    FPC=Project Costing
    FTR=Treasury
    KK=Commitment Control
    3 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

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

    Prompt Table: GL_ACCOUNT_TBL

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

    Prompt Table: ACCT_TYPE2_VW

    7 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.
    8 BOOK_CODE Character(4) VARCHAR2(4) NOT NULL Book Code
    9 BAL_SHEET_IND Character(2) VARCHAR2(2) NOT NULL Balance Sheet Indicator
    BS=Balance Sheet
    OB=Off Balance Sheet