AM_ALTACCT_LGVW(SQL View) |
Index Back |
---|---|
Alternate Account View Lang |
SELECT %Substring(B.SETCNTRLVALUE,1,5) ,A.ALTACCT ,A.LANGUAGE_CD ,B.SETID ,A.DESCR ,D.ACCOUNT_TYPE FROM PS_ALTACCT_LANG A , PS_ALTACCT_TBL D ,PS_SET_CNTRL_REC B WHERE B.RECNAME = 'ALTACCT_TBL' AND A.SETID = B.SETID AND D.SETID = A.SETID AND D.ALTACCT = A.ALTACCT AND D.EFF_STATUS = 'A' AND D.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_ALTACCT_TBL C WHERE C.SETID = A.SETID AND C.ALTACCT = A.ALTACCT AND C.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | ALTACCT | Character(10) | VARCHAR2(10) NOT NULL | Alternate Account |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
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. |