WM_WO_IPSRCH_VW

(SQL View)
Index Back

WO Inspection Plan Search View

Work Order Inspection Plan Search View -- used to search for active/effective WO Inspection Plan template definitions

SELECT A.SETID , A.WO_TEMPLATE_ID , A.DESCR50 , A.ASSET_TYPE , A.ASSET_SUBTYPE , A.MFG_ID , A.MODEL , B.WO_DURATION , B.INSP_RSLT_STAT_CD , B.INSP_RSLT_STAT_VAL , ' ' FROM PS_WM_WO_TMPLT_HDR A , PS_WM_WO_INSPL_EFF B WHERE A.WO_TEMPLATE_TYPE = '3' AND B.SETID = A.SETID AND B.WO_TEMPLATE_ID = A.WO_TEMPLATE_ID AND B.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(I.EFFDT) FROM PS_WM_WO_INSPL_EFF I WHERE I.SETID = B.SETID AND I.WO_TEMPLATE_ID = B.WO_TEMPLATE_ID AND I.EFFDT <= %CurrentDateIn)

  • Related Language Record: WM_WO_IPSRCH_LV
  • # 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 WO_TEMPLATE_ID Character(25) VARCHAR2(25) NOT NULL Work Order Task/Job Template 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: AM_SUBTYPE
    Set Control Field: SETID

    6 MFG_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer ID

    Prompt Table: WM_MANUFACTURER
    Set Control Field: SETID

    7 MODEL Character(30) VARCHAR2(30) NOT NULL Model

    Prompt Table: WM_WO_MFGMOD_VW
    Set Control Field: SETID

    8 WO_DURATION Number(8,2) DECIMAL(7,2) NOT NULL Estimated Work Order Duration
    9 INSP_RSLT_STAT_CD Character(20) VARCHAR2(20) NOT NULL Inspection Result Code

    Prompt Table: WM_WO_IPOBS_DVW

    10 INSP_RSLT_STAT_VAL Character(10) VARCHAR2(10) NOT NULL Default Result Value

    Prompt Table: WM_WO_IPRSVL_VW

    11 INSP_VALID_STATUS Character(1) VARCHAR2(1) NOT NULL Validation Status
    0=Invalid
    1=Valid
    2=New
    4=Changed