WM_ASSET_SRCH2(SQL View) |
Index Back |
---|---|
Asset Search work recordAsset Search work record. |
SELECT A.BUSINESS_UNIT , A.ASSET_ID , A.TAG_NUMBER , A.SERIAL_ID , A.DESCR_LONG , B.LOCATION , A.ASSET_TYPE , A.ASSET_SUBTYPE , A.MFG_ID , A.MODEL , 'EMPLID' , 'DEPTID' , A.ASSET_STATUS , A.BUSINESS_UNIT_WO , A.SHOP_ID ,0 , ' ' , 'S' , 'N' FROM PS_ASSET A , PS_ASSET_LOCATION B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.ASSET_ID = B.ASSET_ID AND B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_ASSET_LOCATION B2 WHERE B2.BUSINESS_UNIT = B.BUSINESS_UNIT AND B2.ASSET_ID = B.ASSET_ID AND B2.EFFSEQ = B.EFFSEQ AND B2.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT_AM | Character(5) | VARCHAR2(5) NOT NULL | AM Business Unit |
2 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
3 | TAG_NUMBER | Character(12) | VARCHAR2(12) NOT NULL | Tag Number |
4 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | Serial ID |
5 | DESCR_LONG | Character(254) | VARCHAR2(254) NOT NULL | Long Description |
6 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location 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 |
9 | MFG_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer ID |
10 | MODEL | Character(30) | VARCHAR2(30) NOT NULL | Model |
11 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
12 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
13 | ASSET_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Asset Status
A=Received (Not in Service) B=Budgeted C=Commitment D=Disposed I=In Service M=Suspended R=Requisitioned T=Transferred W=Work In Progress |
14 | BUSINESS_UNIT_WO | Character(5) | VARCHAR2(5) NOT NULL | Business Unit Work Order |
15 | SHOP_ID | Character(10) | VARCHAR2(10) NOT NULL | Shop Identification |
16 | FIT_SCORE_AVA | Signed Number(7,4) | DECIMAL(5,4) NOT NULL | Availability Fit Score |
17 | FIT_DISPLAY_AVA | Character(15) | VARCHAR2(15) NOT NULL | Display availability fitness score. |
18 | SELECT_PB | Character(1) | VARCHAR2(1) NOT NULL | Refresh |
19 | SELECT_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Selection Flag
N=No Y=Yes |