COST_MEM_VW(SQL View) |
Index Back |
---|---|
Cost for Group Member Assets |
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 , %subrec( CF14_AN_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 FROM PS_COST A , PS_ASSET B , PS_BU_BOOK_TBL C WHERE B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.ASSET_ID = A.ASSET_ID AND B.GROUP_ASSET_FLAG = 'M' AND A.GROUP_ASSET_ID <> ' ' AND C.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.BOOK = A.BOOK AND C.GROUP_PROC_SW = 'Y' |
# | 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 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL |
Operating Unit ChartField
Prompt Table: OPER_UNIT_TBL |
11 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL |
Product ChartField
Prompt Table: PRODUCT_TBL |
12 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Fund Code
Prompt Table: FUND_TBL |
13 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL |
Class Field
Prompt Table: CLASS_CF_TBL |
14 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Program Code ChartField
Prompt Table: PROGRAM_TBL |
15 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL |
Budget Reference
Prompt Table: BUD_REF_TBL |
16 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL |
Affiliate
Prompt Table: AFFILIATE_VW |
17 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL |
IntraUnit Affiliate1
Prompt Table: %EDIT_INTRA01 |
18 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL |
Operating Unit Affiliate
Prompt Table: %EDIT_INTRA02 |
19 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion chartfield 1
Prompt Table: CHARTFIELD1_TBL |
20 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 2
Prompt Table: CHARTFIELD2_TBL |
21 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 3
Prompt Table: CHARTFIELD3_TBL |
22 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Prompt Table: PROJECT_ID_VW |
23 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table: DEPT_ALL_VW |
24 | CATEGORY | Character(5) | VARCHAR2(5) NOT NULL |
Asset Category
Prompt Table: CATEGORY_TBL |
25 | COST_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Cost Type
Prompt Table: COST_TYPE_TBL |
26 | 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 |
27 | TRANS_IN_OUT | Character(1) | VARCHAR2(1) NOT NULL |
Transaction In/Out
I=In M=IUT Proceeds Markup O=Out |
28 | TRANS_CODE | Character(5) | VARCHAR2(5) NOT NULL | Transaction Code |
29 | TRANS_DT | Date(10) | DATE | Transaction Date |
30 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
31 | ACTIVITY_SW | Signed Number(2,0) | DECIMAL(1) NOT NULL | Activity Switch |
32 | RETIRE_SW | Signed Number(2,0) | DECIMAL(1) NOT NULL | Retirement Switch |
33 | QUANTITY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Interface |
34 | TXN_COST | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Transaction Cost |
35 | COST | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Cost |
36 | TRANSFER_BU | Character(5) | VARCHAR2(5) NOT NULL | Transfer Business Unit |
37 | TRANSFER_ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Transfer Asset ID |
38 | TRANSFER_BOOK | Character(10) | VARCHAR2(10) NOT NULL | Transfer From Book |
39 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
40 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
41 | FROM_CUR | Character(3) | VARCHAR2(3) NOT NULL | From Currency Code |
42 | ARCHIVE_ID | Character(8) | VARCHAR2(8) NOT NULL | Archive ID |
43 | GRP_ACCUM_DEPR | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Group Accum Depreciation |
44 | GRP_DEPR_YTD | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Group Member Depreciation YTD |
45 | GRP_DEPR_CALC_STAT | Character(1) | VARCHAR2(1) NOT NULL |
Group Asset Depr Calc Status
C=Completed Depreciation P=Pending Depreciation S=Summarized |
46 | SALVAGE_VALUE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Salvage Value |
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. |
48 | RATE_MULT | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Rate Multiplier |
49 | RATE_DIV | Number(16,8) | DECIMAL(15,8) NOT NULL | Rate Divisor |
50 | RT_EFFDT | Date(10) | DATE | The effective date for a given item of market rate data. |