COST_STAGE_VW

(SQL View)
Index Back

Asset Cost Transactions

AM Cost Information

SELECT A.BUSINESS_UNIT , A.ASSET_ID , A.BOOK , A.DTTM_STAMP , A.CF_SEQNO , A.GROUP_ASSET_ID , A.MEM_IN_SERVICE_DT , A.IU_MAP_KEY , A.CONVENTION , A.USERID , A.AM_TRANS_SOURCE ,%subrec(CFS14_AN_SBR, A) ,%subrec(AM_CF1_N_SBR, A) , A.PROJECT_ID , A.DEPTID , A.CATEGORY , A.COST_TYPE , A.TRANS_TYPE , A.TRANS_IN_OUT , A.TRANS_CODE , A.TRANS_DT , A.ACCOUNTING_DT , A.ACTIVITY_SW , A.RETIRE_SW , A.QUANTITY , A.TXN_COST , A.COST , A.TRANSFER_BU , A.TRANSFER_ASSET_ID , A.TRANSFER_BOOK , A.OPRID , A.TXN_CURRENCY_CD , A.FROM_CUR , A.ARCHIVE_ID , A.GRP_ACCUM_DEPR , A.GRP_DEPR_YTD , A.GRP_DEPR_CALC_STAT , A.SALVAGE_VALUE , A.RT_TYPE , A.RATE_MULT , A.RATE_DIV , A.RT_EFFDT , A.AM_PHY_TXN_SW FROM PS_COST_STAGE A WHERE A.DTTM_STAMP = ( SELECT MAX(DTTM_STAMP) FROM PS_COST_STAGE B WHERE B.ASSET_ID = A.ASSET_ID AND B.BUSINESS_UNIT = A.BUSINESS_UNIT )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 ASSET_ID Character(12) VARCHAR2(12) NOT NULL Asset Identification
3 BOOK Character(10) VARCHAR2(10) NOT NULL Asset Book Name

Prompt Table: SP_BU_BK_NONVW

4 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.
5 CF_SEQNO Number(6,0) INTEGER NOT NULL Chartfield Sequence Number
6 GROUP_ASSET_ID Character(12) VARCHAR2(12) NOT NULL Group Asset ID
7 MEM_IN_SERVICE_DT Date(10) DATE Group Member in Service Date
8 IU_MAP_KEY Number(7,0) INTEGER NOT NULL InterUnit transfer map key
9 CONVENTION Character(2) VARCHAR2(2) NOT NULL Book Depreciation Convention or Cost Convention

Prompt Table: CONV_TBL

10 USERID Character(30) VARCHAR2(30) NOT NULL A user's ID
11 AM_TRANS_SOURCE Character(3) VARCHAR2(3) NOT NULL Differentiate data source for transaction staging tables.
AWF=AM Workflow
12 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: %EDIT_OPER_UNIT

13 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField

Prompt Table: %EDIT_PRODUCT

14 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code

Prompt Table: %EDIT_FUND_CODE

15 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field

Prompt Table: %EDIT_CLASS_FLD

16 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField

Prompt Table: %EDIT_PROG_CODE

17 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference

Prompt Table: %EDIT_BUD_REF

18 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate

Prompt Table: AFFILIATE_VW

19 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1

Prompt Table: %EDIT_INTRA01

20 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate

Prompt Table: %EDIT_INTRA02

21 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1

Prompt Table: %EDIT_CHARTFLD1

22 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2

Prompt Table: %EDIT_CHARTFLD2

23 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3

Prompt Table: %EDIT_CHARTFLD3

24 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit
25 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID
26 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type
27 RESOURCE_CATEGORY Character(5) VARCHAR2(5) NOT NULL Category
28 RESOURCE_SUB_CAT Character(5) VARCHAR2(5) NOT NULL Subcategory
29 ANALYSIS_TYPE Character(3) VARCHAR2(3) NOT NULL Analysis Type
30 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

Prompt Table: %EDIT_PROJECT

31 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: %EDIT_DEPT

32 CATEGORY Character(5) VARCHAR2(5) NOT NULL Asset Category

Prompt Table: CATEGORY_TBL

33 COST_TYPE Character(1) VARCHAR2(1) NOT NULL Cost Type

Prompt Table: COST_TYPE_TBL

34 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
35 TRANS_IN_OUT Character(1) VARCHAR2(1) NOT NULL Transaction In/Out
I=In
M=IUT Proceeds Markup
O=Out
36 TRANS_CODE Character(5) VARCHAR2(5) NOT NULL Transaction Code
37 TRANS_DT Date(10) DATE Transaction Date
38 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
39 ACTIVITY_SW Signed Number(2,0) DECIMAL(1) NOT NULL Activity Switch
40 RETIRE_SW Signed Number(2,0) DECIMAL(1) NOT NULL Retirement Switch
41 QUANTITY Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Interface
42 TXN_COST Signed Number(28,3) DECIMAL(26,3) NOT NULL Transaction Cost
43 COST Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Cost
44 TRANSFER_BU Character(5) VARCHAR2(5) NOT NULL Transfer Business Unit
45 TRANSFER_ASSET_ID Character(12) VARCHAR2(12) NOT NULL Transfer Asset ID
46 TRANSFER_BOOK Character(10) VARCHAR2(10) NOT NULL Transfer From Book
47 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
48 TXN_CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Transaction Currency
49 FROM_CUR Character(3) VARCHAR2(3) NOT NULL From Currency Code
50 ARCHIVE_ID Character(8) VARCHAR2(8) NOT NULL Archive ID
51 GRP_ACCUM_DEPR Signed Number(28,3) DECIMAL(26,3) NOT NULL Group Accum Depreciation
52 GRP_DEPR_YTD Signed Number(28,3) DECIMAL(26,3) NOT NULL Group Member Depreciation YTD
53 GRP_DEPR_CALC_STAT Character(1) VARCHAR2(1) NOT NULL Group Asset Depr Calc Status
C=Completed Depreciation
P=Pending Depreciation
S=Summarized
54 SALVAGE_VALUE Signed Number(28,3) DECIMAL(26,3) NOT NULL Salvage Value
55 RT_TYPE Character(5) VARCHAR2(5) NOT NULL Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical.
56 RATE_MULT Signed Number(17,8) DECIMAL(15,8) NOT NULL Rate Multiplier
57 RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL Rate Divisor
58 RT_EFFDT Date(10) DATE The effective date for a given item of market rate data.
59 AM_PHY_TXN_SW Character(1) VARCHAR2(1) NOT NULL This field will be used on the Cost table and will specifiy whether the transaction is Financial or Physical.

Y/N Table Edit

Default Value: N