COST_ALL_VW(SQL View) |
Index Back |
---|---|
Cost Balance of Active Assets |
SELECT Business_Unit , Asset_Id , Book , CF_SEQNO , GROUP_ASSET_ID , SUM(Activity_Sw) , SUM(Retire_Sw) , SUM(Quantity) , SUM(Cost) , SUM(SALVAGE_VALUE) , From_cur FROM PS_COST A GROUP BY Business_Unit , Asset_Id , Book , CF_SEQNO , GROUP_ASSET_ID , From_Cur HAVING SUM(Activity_Sw) <> 0 |
# | 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 | CF_SEQNO | Number(6,0) | INTEGER NOT NULL | Chartfield Sequence Number |
5 | GROUP_ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Group Asset ID |
6 | ACTIVITY_SW | Signed Number(2,0) | DECIMAL(1) NOT NULL | Activity Switch |
7 | RETIRE_SW | Signed Number(2,0) | DECIMAL(1) NOT NULL | Retirement Switch |
8 | QUANTITY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Interface |
9 | COST | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Cost |
10 | SALVAGE_VALUE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Salvage Value |
11 | FROM_CUR | Character(3) | VARCHAR2(3) NOT NULL | From Currency Code |