WM_WO_JTWHR_LVW(SQL View) |
Index Back |
---|---|
WO Job Tmplt Where-Used Lng VwWO Job Template Where-Used View -- related language view |
SELECT A.SETID , A.WO_TEMPLATE_ID , B.BUSINESS_UNIT , B.PM_SCHD_ID , B.LANGUAGE_CD , B.DESCR100 FROM PS_WM_WO_TMPLT_HDR A , PS_WM_PM_SCHD_LG B WHERE A.WO_TEMPLATE_TYPE = '2' AND A.SETID = ( SELECT I.SETID FROM PS_SET_CNTRL_REC I WHERE I.SETCNTRLVALUE = B.BUSINESS_UNIT AND I.REC_GROUP_ID = 'WM_01' AND I.RECNAME = 'WM_WO_TMPLT_HDR') AND EXISTS ( SELECT 'X' FROM PS_WM_PM_SCHD_DTL C WHERE C.BUSINESS_UNIT = B.BUSINESS_UNIT AND C.PM_SCHD_ID = B.PM_SCHD_ID AND C.WO_TEMPLATE_ID = A.WO_TEMPLATE_ID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Prompt Table: SP_SETID_NONVW |
2 | WO_TEMPLATE_ID | Character(25) | VARCHAR2(25) NOT NULL | Work Order Task/Job Template ID |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
4 | PM_SCHD_ID | Character(10) | VARCHAR2(10) NOT NULL | Preventive Maintenance Schedule ID |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR100 | Character(100) | VARCHAR2(100) NOT NULL | Length 100 Description |