SPA_PL_PRJ_VW(SQL View) |
Index Back |
---|---|
Projects for time linesProjects for time lines |
SELECT DISTINCT(W.WO_CONID) , W.TE_TEMPLATE_ID , W.PROJECT_ID FROM PS_SPF_WORDERREC W WHERE ((W.WO_STATUS IN ('L', 'C','F','T')) OR (W.WO_STATUS = 'N' AND EXISTS ( SELECT '*' FROM PS_SPF_WO_HISTORY H WHERE H.BUSINESS_UNIT = W.BUSINESS_UNIT AND H.WORK_ORDER_ID = W.WORK_ORDER_ID AND H.WO_STATUS = 'L'))) AND W.SERVICE_METHOD = 'D' AND W.PROJECT_ID IN ( SELECT P.PROJECT_ID FROM PS_PROJECT P WHERE P.EFF_STATUS = 'A') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
2 | TE_TEMPLATE_ID | Character(8) | VARCHAR2(8) NOT NULL | Used to define a particular type of travel, i.e. company relocation, internal travel, etc. Determines what type of expenses and expenditure limits are associated with that particular type of travel. Established in the Structure Expenses system and chosen on the header panel of cash expense sheets. |
3 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |