COST_BAL_VW2(SQL View) |
Index Back |
---|---|
Asset Current Cost by ChartfldINTERUNIT_BU is a key because the processing on the cost adjustment panel for interunit transfer needs it to be a key. |
SELECT A.Business_Unit , A.Asset_Id , A.Book , A.Category , A.Cost_Type , A.Group_Asset_Id , SUM(A.Activity_Sw) , SUM(A.Retire_Sw) , SUM(A.Quantity) , SUM(A.Cost) , A.From_Cur FROM ps_Cost A , PS_INSTALLATION_AM B WHERE A.TRANS_TYPE = B.TYPE_RETIRE GROUP BY A.BUSINESS_UNIT, A.ASSET_ID, A.BOOK, A.GROUP_ASSET_ID, A.CATEGORY, A.COST_TYPE, A.FROM_CUR |
# | 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
Prompt Table: %EDITTABLE4 |
5 | COST_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Cost Type
Prompt Table: %EDITTABLE5 |
6 | GROUP_ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Group Asset ID |
7 | ACTIVITY_SW | Signed Number(2,0) | DECIMAL(1) NOT NULL | Activity Switch |
8 | RETIRE_SW | Signed Number(2,0) | DECIMAL(1) NOT NULL | Retirement Switch |
9 | QUANTITY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Interface |
10 | COST | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Cost |
11 | FROM_CUR | Character(3) | VARCHAR2(3) NOT NULL | From Currency Code |