AM_GL_DRILL_VW(SQL View) |
Index Back |
---|---|
AM Acctg Entries VW - GL DrillAM Accounting Entries view for GL Drilldown |
SELECT A.BUSINESS_UNIT_GL , A.JOURNAL_ID , A.JOURNAL_DATE , A.JOURNAL_LINE , A.BUSINESS_UNIT , A.ASSET_ID , A.BOOK , A.DTTM_STAMP , A.PROJECT_ID , A.DEPTID , %subrec(CF12_AN_SBR,A) , %subrec(AM_CF1_N_SBR,A) , A.CATEGORY , A.COST_TYPE , A.TRANS_TYPE , A.TRANS_IN_OUT , A.TRANS_CODE , A.ACCOUNT , A.ALTACCT , A.DISTRIBUTION_TYPE , A.ACCOUNTING_DT , A.APPL_JRNL_ID , A.AMOUNT , A.PROCESS_INSTANCE , A.OPRID , A.LEDGER_GROUP , A.LEDGER , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , A.CURRENCY_CD , A.TXN_CURRENCY_CD , A.TXN_AMOUNT , A.DOC_TYPE , A.DOC_SEQ_NBR , A.BOOK_CODE , A.GL_DISTRIB_STATUS FROM PS_DIST_LN A WHERE A.GL_DISTRIB_STATUS IN ('D','N','H') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
2 | JOURNAL_ID | Character(10) | VARCHAR2(10) NOT NULL | Identifies a journal entry, consisting of a header and one or more lines. The Journal ID itself does not have to be unique, but together with the journal business unit and journal date, it forms a unique journal identifier. |
3 | JOURNAL_DATE | Date(10) | DATE | Specifies the date the journal was created. |
4 | JOURNAL_LINE | Number(9,0) | DECIMAL(9) NOT NULL | Uniquely identifies a journal line with a sequence number. Within a single journal entry, the line sequence begins with 1 and automatically increments by 1 for each succeeding journal line. There can be any number of lines associated with a journal header. |
5 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
6 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
7 | BOOK | Character(10) | VARCHAR2(10) NOT NULL | Asset Book Name |
8 | DTTM_STAMP | DateTime(26) | TIMESTAMP | Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts. |
9 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
10 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
11 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL | Operating Unit ChartField |
12 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL | Product ChartField |
13 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL | Fund Code |
14 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL | Class Field |
15 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL | Program Code ChartField |
16 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL | Budget Reference |
17 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL | Affiliate |
18 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL | IntraUnit Affiliate1 |
19 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL | Operating Unit Affiliate |
20 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL | Expansion chartfield 1 |
21 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL | Expansion Chartfield 2 |
22 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL | Expansion Chartfield 3 |
23 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL | PC Business Unit |
24 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL | Activity ID |
25 | RESOURCE_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Source Type |
26 | RESOURCE_CATEGORY | Character(5) | VARCHAR2(5) NOT NULL | Category |
27 | RESOURCE_SUB_CAT | Character(5) | VARCHAR2(5) NOT NULL | Subcategory |
28 | ANALYSIS_TYPE | Character(3) | VARCHAR2(3) NOT NULL | Analysis Type |
29 | CATEGORY | Character(5) | VARCHAR2(5) NOT NULL |
Asset Category
Prompt Table: CATEGORY_TBL |
30 | COST_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Cost Type
Prompt Table: COST_TYPE_TBL |
31 | TRANS_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Types of Asset Management Transactions
ACR=Accretion Expense ADD=Asset Addition ADJ=Asset Cost Adjustment BKS=Book Adjustment BUD=Budgeted Depreciation DPR=Depreciation INF=Inflation Adjustment LEX=Lease Expense LPB=Budgeted Lease Payments LPY=Lease Payment PDP=Prior Period Depreciation PLP=Prior Lease Payment RAD=Manual Reserve Adjustment RCT=Asset Recategorization REI=Asset Reinstatement RES=Resume Depreciation RET=Asset Retirement RRC=Retro rate change for grp ast SUS=Suspend Depreciation TRF=Asset Transfer |
32 | TRANS_IN_OUT | Character(1) | VARCHAR2(1) NOT NULL |
Transaction In/Out
I=In M=IUT Proceeds Markup O=Out |
33 | TRANS_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Transaction Code
Prompt Table: TRANS_CODE_TBL |
34 | ACCOUNT | Character(10) | VARCHAR2(10) NOT NULL |
Account
Prompt Table: GL_ACCT_CUR_VW |
35 | ALTACCT | Character(10) | VARCHAR2(10) NOT NULL |
Alternate Account
Prompt Table: ALTACCT_CUR_VW |
36 | DISTRIBUTION_TYPE | Character(2) | VARCHAR2(2) NOT NULL | Distribution Type |
37 | ACCOUNTING_DT | Date(10) | DATE NOT NULL | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
38 | APPL_JRNL_ID | Character(10) | VARCHAR2(10) NOT NULL |
Journal Template
Prompt Table: JRNLGEN_APPL_ID |
39 | AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amount |
40 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
41 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
42 | LEDGER_GROUP | Character(10) | VARCHAR2(10) NOT NULL | Ledger Group |
43 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
44 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
45 | ACCOUNTING_PERIOD | Number(3,0) | SMALLINT NOT NULL | Identifies a time period to which you post transactions. Typically, an accounting period represents a month, but it can also represent a week, a day, or any user-defined interval. An accounting period has a beginning date and an ending date, and is defined in the calendar table. |
46 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
47 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
48 | TXN_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Transaction Amount |
49 | DOC_TYPE | Character(8) | VARCHAR2(8) NOT NULL | Specifies the business purpose of a financial transaction in countries that require all financial transactions to be tracked as "documents". A Document Type is associated with one and only one Journal Code. |
50 | DOC_SEQ_NBR | Character(12) | VARCHAR2(12) NOT NULL | Specifies the sequence number assigned to each financial transaction (a document). The sequence number may be manually entered or system-generated. |
51 | BOOK_CODE | Character(4) | VARCHAR2(4) NOT NULL | Book Code |
52 | GL_DISTRIB_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Distribution Status
C=Available to Contracts D=Distributed G=Generated H=Hold I=Ignored J=Creating Journals M=Modified N=None P=To be processed X=Waiting for Reversal |