ASSET_TXN11_VW

(SQL View)
Index Back

Asset Cost Txns for Upd/Del

Same view as ASSET_TXN1_VW

SELECT DISTINCT A.OPRID , A.OPEN_TRANS_ID , A.BUSINESS_UNIT , A.ASSET_ID , B.BOOK , C.DTTM_STAMP , c.CF_SEQNO , A.TRANS_TYPE , A.TRANS_DT , A.ACCOUNTING_DT , %subrec(CF14_AN_SBR,C) , %subrec(AM_CF1_N_SBR,C) , C.PROJECT_ID , C.DEPTID , C.CATEGORY , C.COST_TYPE , C.TRANS_IN_OUT , C.TRANS_CODE , C.IU_MAP_KEY , C.QUANTITY , C.TXN_COST , C.COST , C.TXN_CURRENCY_CD , C.FROM_CUR , C.CONVENTION , B.IN_SERVICE_DT , B.DEPR_STATUS , C.RT_TYPE FROM PS_OPEN_TRANS A , PS_COST C , PS_BOOK B WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.ASSET_ID = C.ASSET_ID AND A.BOOK = C.BOOK AND B.BUSINESS_UNIT = C.BUSINESS_UNIT AND B.ASSET_ID = C.ASSET_ID AND B.BOOK = C.BOOK AND A.CALC_DEPR_STATUS = 'P' AND C.DTTM_STAMP = A.DTTM_STAMP AND C.TRANS_IN_OUT <> 'O' AND A.DTTM_STAMP = ( SELECT MAX(DTTM_STAMP) FROM PS_OPEN_TRANS D WHERE D.BUSINESS_UNIT = A.BUSINESS_UNIT AND D.ASSET_ID = A.ASSET_ID) AND (A.TRANS_TYPE IN ( SELECT TYPE_RETIRE FROM PS_INSTALLATION_AM) OR A.TRANS_TYPE IN ( SELECT TYPE_RECATEGORIZE FROM PS_INSTALLATION_AM) OR A.TRANS_TYPE IN ( SELECT TYPE_ADD FROM PS_INSTALLATION_AM) OR A.TRANS_TYPE IN ( SELECT TYPE_ADJUSTMENT FROM PS_INSTALLATION_AM) OR A.TRANS_TYPE IN ( SELECT TYPE_TRANSFER FROM PS_INSTALLATION_AM))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 OPEN_TRANS_ID Number(10,0) DECIMAL(10) NOT NULL Open Transaction ID
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 ASSET_ID Character(12) VARCHAR2(12) NOT NULL Asset Identification
5 BOOK Character(10) VARCHAR2(10) NOT NULL Asset Book Name

Prompt Table: SP_BU_BK_NONVW

6 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.
7 CF_SEQNO Number(6,0) INTEGER NOT NULL Chartfield Sequence Number
8 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
9 TRANS_DT Date(10) DATE Transaction Date
10 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
11 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: %EDIT_OPER_UNIT

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

Prompt Table: %EDIT_PRODUCT

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

Prompt Table: %EDIT_FUND_CODE

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

Prompt Table: %EDIT_CLASS_FLD

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

Prompt Table: %EDIT_PROG_CODE

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

Prompt Table: %EDIT_BUD_REF

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

Prompt Table: AFFILIATE_VW

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

Prompt Table: %EDIT_INTRA01

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

Prompt Table: %EDIT_INTRA02

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

Prompt Table: %EDIT_CHARTFLD1

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

Prompt Table: %EDIT_CHARTFLD2

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

Prompt Table: %EDIT_CHARTFLD3

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 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

Prompt Table: %EDIT_PROJECT

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

Prompt Table: %EDIT_DEPT

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

Prompt Table: CATEGORY_TBL

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

Prompt Table: COST_TYPE_TBL

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 IU_MAP_KEY Number(7,0) INTEGER NOT NULL InterUnit transfer map key
36 QUANTITY Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Interface
37 TXN_COST Signed Number(28,3) DECIMAL(26,3) NOT NULL Transaction Cost
38 COST Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Cost
39 TXN_CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Transaction Currency
40 FROM_CUR Character(3) VARCHAR2(3) NOT NULL From Currency Code
41 CONVENTION Character(2) VARCHAR2(2) NOT NULL Book Depreciation Convention or Cost Convention

Prompt Table: CONV_TBL

42 IN_SERVICE_DT Date(10) DATE In Service Date
43 DEPR_STATUS Character(1) VARCHAR2(1) NOT NULL Depreciation Status
D=Depreciable
N=Non Depreciable
44 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.