DEPR_IFE_PD_VW(SQL View) |
Index Back |
---|---|
Depr Expense & Accum Temp View |
SELECT a.Run_ID , a.Business_Unit , a.Asset_ID , a.Book , MIN(a.DtTm_Stamp) , A.CF_SEQNO , a.Fiscal_Year , a.Start_Pd , a.End_Pd , %Sql(FS_CF_AGGR, MIN, a.) , %subrec(am_cf1_n_sbr, a) , A.PROJECT_ID , A.DEPTID , a.Category , a.Cost_Type , a.Trans_Type , a.Trans_In_Out , MIN(a.Trans_Code) , MIN(a.Trans_Dt) , MIN(a.Activity_Sw) , SUM(a.Depr) , a.Currency_Cd , MIN(a.Manual_depr_type ) FROM ps_Depr_Comp a , PS_INSTALLATION_AM B WHERE A.TRANS_TYPE = B.TYPE_DEPR OR A.TRANS_TYPE = B.TYPE_PRIOR_DEPR GROUP BY a.Run_ID, a.Business_Unit , a.Asset_ID , a.Book ,A.CF_SEQNO, a.Fiscal_Year , a.Start_Pd , a.End_Pd , %subrec(am_cf1_n_sbr, a), A.PROJECT_ID, A.DEPTID, a.Category , a.Cost_Type , a.Trans_Type , a.Trans_In_Out , a.Currency_Cd HAVING SUM(DEPR) <> 0 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | RUN_ID | Character(25) | VARCHAR2(25) NOT NULL | Run ID |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT |
3 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
4 | BOOK | Character(10) | VARCHAR2(10) NOT NULL | Asset Book Name |
5 | 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. |
6 | CF_SEQNO | Number(6,0) | INTEGER NOT NULL | Chartfield Sequence Number |
7 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
8 | START_PD | Number(3,0) | SMALLINT NOT NULL | Start Period |
9 | END_PD | Number(3,0) | SMALLINT NOT NULL | End Period |
10 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL | Operating Unit ChartField |
11 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL | Product ChartField |
12 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL | Fund Code |
13 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL | Class Field |
14 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL | Program Code ChartField |
15 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL | Budget Reference |
16 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL | Affiliate |
17 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL | IntraUnit Affiliate1 |
18 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL | Operating Unit Affiliate |
19 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL | Expansion chartfield 1 |
20 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL | Expansion Chartfield 2 |
21 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL | Expansion Chartfield 3 |
22 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL | PC Business Unit |
23 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL | Activity ID |
24 | RESOURCE_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Source Type |
25 | RESOURCE_CATEGORY | Character(5) | VARCHAR2(5) NOT NULL | Category |
26 | RESOURCE_SUB_CAT | Character(5) | VARCHAR2(5) NOT NULL | Subcategory |
27 | ANALYSIS_TYPE | Character(3) | VARCHAR2(3) NOT NULL | Analysis Type |
28 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
29 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
30 | CATEGORY | Character(5) | VARCHAR2(5) NOT NULL | Asset Category |
31 | COST_TYPE | Character(1) | VARCHAR2(1) NOT NULL | Cost Type |
32 | 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 |
33 | TRANS_IN_OUT | Character(1) | VARCHAR2(1) NOT NULL |
Transaction In/Out
I=In M=IUT Proceeds Markup O=Out |
34 | TRANS_CODE | Character(5) | VARCHAR2(5) NOT NULL | Transaction Code |
35 | TRANS_DT | Date(10) | DATE | Transaction Date |
36 | ACTIVITY_SW | Signed Number(2,0) | DECIMAL(1) NOT NULL | Activity Switch |
37 | DEPR | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Depreciation Amt |
38 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
39 | MANUAL_DEPR_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Manual Depreciation Type
A=Appreciation F=Write-off for Extraord. Fading M=Manual Depreciation N=Non-scheduled Depreciation P=Partial Value Write-off |