AM_ALTACCT_VW

(SQL View)
Index Back

Alternate Account View


SELECT %Substring(B.SETCNTRLVALUE,1,5) ,B.SETID ,A.ALTACCT ,A.DESCR ,A.ACCOUNT_TYPE FROM PS_ALTACCT_TBL A ,PS_SET_CNTRL_REC B WHERE B.RECNAME = 'ALTACCT_TBL' AND A.SETID = B.SETID AND A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_ALTACCT_TBL C WHERE C.SETID = A.SETID AND C.ALTACCT = A.ALTACCT AND C.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 SETID Character(5) VARCHAR2(5) NOT NULL SetID
3 ALTACCT Character(10) VARCHAR2(10) NOT NULL Alternate Account
4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
5 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.