AM_COSTDT_PD_VW

(SQL View)
Index Back

Cost Detail by FY/PD


SELECT A.BUSINESS_UNIT , A.BOOK , A.CATEGORY , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , SUM(A.COST - (A.COST_ADD + A.COST_ADJ + A.COST_TRF + A.COST_RCT + A.COST_REI + A.COST_RET)) , SUM(A.COST_ADD ) ADD1 , SUM(A.COST_ADJ ) ADJ , SUM(A.COST_TRF ) TRF , SUM(A.COST_RCT ) RCT , SUM(A.COST_REI ) REI , SUM(A.COST_RET ) RET , SUM(A.COST) COST , A.CURRENCY_CD FROM PS_DEPR_RPT A , PS_ASSET B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.ASSET_ID = B.ASSET_ID AND A.GROUP_ASSET_FLAG <> 'G' GROUP BY A.BUSINESS_UNIT, A.BOOK, A.CATEGORY,A.FISCAL_YEAR,A.ACCOUNTING_PERIOD, A.CURRENCY_CD

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 BOOK Character(10) VARCHAR2(10) NOT NULL Asset Book Name
3 CATEGORY Character(5) VARCHAR2(5) NOT NULL Asset Category
4 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
5 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.
6 COST Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Cost
7 COST_ADD Signed Number(28,3) DECIMAL(26,3) NOT NULL Cost Addition
8 COST_ADJ Signed Number(28,3) DECIMAL(26,3) NOT NULL Cost Adjustment
9 COST_TRF Signed Number(28,3) DECIMAL(26,3) NOT NULL Cost Transfer
10 COST_RCT Signed Number(28,3) DECIMAL(26,3) NOT NULL Cost Recategorization
11 COST_REI Signed Number(28,3) DECIMAL(26,3) NOT NULL Cost Reinstatement
12 COST_RET Signed Number(28,3) DECIMAL(26,3) NOT NULL Cost Retirement
13 COST1 Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Cost
14 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code