ASSET_TXN_VW(SQL View) |
Index Back |
---|---|
Asset Txn Search View |
SELECT A.OPRID , A.OPEN_TRANS_ID , A.BUSINESS_UNIT , A.ASSET_ID , A.BOOK , A.DTTM_STAMP , A.TRANS_TYPE , A.TRANS_DT , A.ACCOUNTING_DT , A.TRANS_IN_OUT , B.DESCR FROM PS_OPEN_TRANS A , PS_ASSET B , PS_BUS_UNIT_TBL_AM C WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.ASSET_ID = B.ASSET_ID AND B.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.CALC_DEPR_STATUS = 'P' AND A.TRANSFER_BU = ' ' AND A.TRANSFER_BOOK = ' ' AND A.TRANSFER_ASSET_ID = ' ' AND B.ACQUISITION_CD <> 'L' AND B.GROUP_ASSET_FLAG IN ('N',' ') AND C.JV_UNIT_SW = 'N' 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
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BU_AM_NONVW |
4 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
5 | BOOK | Character(10) | VARCHAR2(10) NOT NULL | Asset Book Name |
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 | 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 |
8 | TRANS_DT | Date(10) | DATE | Transaction Date |
9 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
10 | TRANS_IN_OUT | Character(1) | VARCHAR2(1) NOT NULL |
Transaction In/Out
I=In M=IUT Proceeds Markup O=Out |
11 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |