COST_NONCAP_VW9(SQL View) |
Index Back |
---|---|
Asset Cost Transactions |
SELECT A.Business_Unit , A.Asset_Id , A.Book ,%CurrentDateTimeIn , A.CF_SEQNO , a.project_id , A.DEPTID , A.Category , A.Cost_Type , A.Group_Asset_Id , %subrec(CF14_AN_SBR, A) , %subrec(AM_CF1_N_SBR, A) ,MIN(A.Trans_type ) , MIN(a.Trans_In_Out ) , MIN(A.Trans_code) , MIN(A.Trans_Dt) , MIN(a.accounting_dt) , SUM(A.Activity_Sw) , SUM(A.Retire_Sw) , SUM(A.Quantity) ,%OperatorId ,MIN(a.from_cur) ,0 , SUM(A.Cost) , SUM(A.SALVAGE_VALUE) ,' ' ,' ' ,1 ,1 ,MIN(a.rt_effdt) ,MIN(a.rt_type) ,MIN(a.from_cur) , SUM(A.Cost) , MIN(a.cap_thr_status) ,MIN(a.am_row_id) FROM PS_COST_NON_CAP A GROUP BY A.Business_Unit , A.Asset_Id , A.Book , A.CF_sEQNO , %subrec(CF12_AN_SBR, A) , %subrec(AM_CF1_N_SBR, A) , a.project_id , A.DEPTID , A.Category , A.Cost_Type , A.Group_Asset_Id HAVING SUM(A.ACTIVITY_SW) = 0 AND SUM(A.RETIRE_SW) = 0 |
# | 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 | 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 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Prompt Table: %EDIT_PROJECT |
7 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table: %EDIT_DEPT |
8 | CATEGORY | Character(5) | VARCHAR2(5) NOT NULL |
Asset Category
Prompt Table: CATEGORY_TBL |
9 | COST_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Cost Type
Prompt Table: COST_TYPE_TBL |
10 | GROUP_ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Group Asset ID |
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 | 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 |
30 | TRANS_IN_OUT | Character(1) | VARCHAR2(1) NOT NULL |
Transaction In/Out
I=In M=IUT Proceeds Markup O=Out |
31 | TRANS_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Transaction Code
Prompt Table: TRANS_CODE_VW |
32 | TRANS_DT | Date(10) | DATE | Transaction Date |
33 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
34 | ACTIVITY_SW | Signed Number(2,0) | DECIMAL(1) NOT NULL | Activity Switch |
35 | RETIRE_SW | Signed Number(2,0) | DECIMAL(1) NOT NULL | Retirement Switch |
36 | QUANTITY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Interface |
37 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
38 | FROM_CUR | Character(3) | VARCHAR2(3) NOT NULL | From Currency Code |
39 | DEPRECIATION | Character(2) | VARCHAR2(2) NOT NULL | Depreciation |
40 | COST | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Cost |
41 | SALVAGE_VALUE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Salvage Value |
42 | TRANSFER_BU | Character(5) | VARCHAR2(5) NOT NULL | Transfer Business Unit |
43 | TRANSFER_ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Transfer Asset ID |
44 | RATE_DIV | Number(16,8) | DECIMAL(15,8) NOT NULL | Rate Divisor |
45 | RATE_MULT | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Rate Multiplier |
46 | RT_EFFDT | Date(10) | DATE | The effective date for a given item of market rate data. |
47 | 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.
Prompt Table: RT_TYPE_TBL |
48 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL |
Transaction Currency
Prompt Table: CURRENCY_CD_TBL |
49 | TXN_COST | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Transaction Cost |
50 | CAP_THR_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Threshold Status
N=Not to be Posted P=Posted T=To Post |
51 | AM_ROW_ID | Number(10,0) | DECIMAL(10) NOT NULL | Transaction Identifier |