WM_ASSET_MAINT(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT ,A.ASSET_ID ,A.MAINT_DTTM ,B.DESCR ,A.LABOR_COST+A.MATERIALS_COST+A.OTHER_COST+A.TOOLS_COST+A.PURCH_COST AS COST ,A.CURRENCY_CD ,B.ASSET_TYPE ,B.ASSET_SUBTYPE ,B.MFG_ID ,B.MODEL FROM PS_ASSET_MAINT A , PS_ASSET B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.ASSET_ID = B.ASSET_ID |
# | 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 Prompt Table: SP_BU_AM_NONVW |
2 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
3 | MAINT_DTTM | DateTime(26) | TIMESTAMP NOT NULL | Maintenance Date/Time |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | COST | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Cost |
6 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
7 | ASSET_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Asset Type
010=IT Hardware 020=IT Software 040=Equipment 050=Property 060=Fleet 070=Machinery 080=Furniture 090=Facility 100=Intangible 200=Asset Retirement Obligations 999=Other |
8 | ASSET_SUBTYPE | Character(15) | VARCHAR2(15) NOT NULL |
Asset Subtype
Prompt Table: AM_SUBTYPE |
9 | MFG_ID | Character(50) | VARCHAR2(50) NOT NULL |
Manufacturer ID
Prompt Table: MANUFACTURER |
10 | MODEL | Character(30) | VARCHAR2(30) NOT NULL | Model |