COST_NONCAP_VW1(SQL View) |
Index Back |
---|---|
Asset Current Cost - NonCap |
SELECT A.BUSINESS_UNIT , A.ASSET_ID , A.BOOK , A.CATEGORY , SUM(A.QUANTITY) , SUM(A.COST) , SUM(CASE WHEN A.TRANS_TYPE = 'ADD' THEN A.COST ELSE 0 END) , A.TRANS_DT , A.FROM_CUR FROM PS_COST_NON_CAP A , PS_ASSET B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.ASSET_ID = B.ASSET_ID GROUP BY A.BUSINESS_UNIT , A.ASSET_ID , A.BOOK , A.CATEGORY , A.FROM_CUR, A.TRANS_DT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.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: BOOK |
4 | CATEGORY | Character(5) | VARCHAR2(5) NOT NULL | Asset Category |
5 | QUANTITY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Interface |
6 | COST | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Cost |
7 | COST_ADD | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Cost Addition |
8 | TRANS_DT | Date(10) | DATE | Transaction Date |
9 | FROM_CUR | Character(3) | VARCHAR2(3) NOT NULL | From Currency Code |