WM_WO_JTMPL_VW

(SQL View)
Index Back

WO Job Template View

Work Order Job Template View -- used to search for active, effective WO Job Template defns

SELECT A.SETID , A.WO_TEMPLATE_ID , A.DESCR50 , A.ASSET_TYPE , A.ASSET_SUBTYPE , A.MFG_ID , A.MODEL , B.RESOLUTION_CD , B.ITM_SETID , B.CRAFT_SETID FROM PS_WM_WO_TMPLT_HDR A , PS_WM_WO_JTMPL_EFF B WHERE A.WO_TEMPLATE_TYPE = '2' 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_JTMPL_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_JTMPL_LVW
  • # 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

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

    Prompt Table: WM_MANUFACTURER

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

    Prompt Table: WM_WO_MFGMOD_VW

    8 RESOLUTION_CD Character(15) VARCHAR2(15) NOT NULL Resolution code

    Prompt Table: WM_RESOLUTN_VW

    9 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
    10 CRAFT_SETID Character(5) VARCHAR2(5) NOT NULL Foreign key SetID to RS_CRAFT_DETAIL table