AM_RECTRANS_VW(SQL View) |
Index Back |
---|---|
AM Open Transactions |
SELECT A.BUSINESS_UNIT , A.ASSET_ID , A.DTTM_STAMP , A.BOOK , A.TRANS_TYPE , A.TRANS_DT , A.ACCOUNTING_DT , A.CALC_DEPR_STATUS , A.CALC_DIST_STATUS , A.OPRID FROM ( SELECT MAX(dttm_stamp) OVER( PARTITION BY business_unit ,asset_id ) txn_max , CASE WHEN a1.transfer_bu IS NOT NULL AND trans_in_out = 'O' THEN ( SELECT MAX(dttm_stamp) FROM PS_OPEN_TRANS a2 WHERE a1.transfer_bu = a2.business_unit AND a1.transfer_asset_id = a2.asset_id ) END in_max, a1.* FROM PS_OPEN_TRANS a1 ) a WHERE dttm_stamp = txn_max AND ( NOT ( a.transfer_bu <> ' ' AND a.trans_in_out = 'I' ) ) AND ( (in_max IS NOT NULL AND in_max = txn_max ) OR in_max IS NULL ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_AM_NONVW |
2 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
3 | 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. |
4 | BOOK | Character(10) | VARCHAR2(10) NOT NULL |
Asset Book Name
Prompt Table: SP_BOOKB1_NONVW |
5 | 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 |
6 | TRANS_DT | Date(10) | DATE | Transaction Date |
7 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
8 | CALC_DEPR_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Depreciation Calc Status
C=Completed Depreciation H=Held For Transfer In I=In Processing N=Never Calculate Depreciation P=Pending Depreciation |
9 | CALC_DIST_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Acctg Entry Creation Status
C=Completed Distribution N=Never Calculate Distribution P=Pending Distribution R=Reconcilie Clearing |
10 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |