WM_PM_LOOP_VW(SQL View) |
Index Back |
---|---|
PM Maint Loop ViewPM Maint Loop View -- used to search for active, effective PM Maint Loop defns |
SELECT A.SETID , A.MAINT_LOOP_ID , A.DESCR50 , B.ASSET_TYPE , B.ASSET_SUBTYPE , B.MFG_ID , B.MODEL FROM PS_WM_PM_LOOP_HDR A , PS_WM_PM_LOOP_EFF B WHERE B.SETID = A.SETID AND B.MAINT_LOOP_ID = A.MAINT_LOOP_ID AND B.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(I.EFFDT) FROM PS_WM_PM_LOOP_EFF I WHERE I.SETID = B.SETID AND I.MAINT_LOOP_ID = B.MAINT_LOOP_ID AND I.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
2 | MAINT_LOOP_ID | Character(15) | VARCHAR2(15) NOT NULL | Maintenance Loop ID |
3 | DESCR50 | Character(50) | VARCHAR2(50) NOT NULL | Description of length 50 |
4 | 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 |
5 | ASSET_SUBTYPE | Character(15) | VARCHAR2(15) NOT NULL |
Asset Subtype
Prompt Table: WM_PM_ARM_SB_VW |
6 | MFG_ID | Character(50) | VARCHAR2(50) NOT NULL |
Manufacturer ID
Prompt Table: WM_PM_ARM_MF_VW |
7 | MODEL | Character(30) | VARCHAR2(30) NOT NULL |
Model
Prompt Table: WM_PM_ARM_MD_VW |