SPA_TIME_WO2_VW(SQL View) |
Index Back |
---|---|
Workorders for time linesWorkorders for time lines |
SELECT WO_CONID , BUSINESS_UNIT , TE_TEMPLATE_ID , WORK_ORDER_ID , JOB_TITLE , PROJECT_ID , ACT_START_DT , ACT_END_DT FROM PS_SPF_WORDERREC WHERE WO_STATUS IN ('L','C','N','P','T') AND SERVICE_METHOD = 'R' OR WORK_ORDER_ID IN ( SELECT WORK_ORDER_ID FROM PS_SPF_WORDERREC WHERE WO_STATUS = 'N' AND ACT_END_DT > ACT_START_DT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
2 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
3 | 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. |
4 | WORK_ORDER_ID | Character(15) | VARCHAR2(15) NOT NULL | Work Order ID |
5 | JOB_TITLE | Character(50) | VARCHAR2(50) NOT NULL | Job Title |
6 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
7 | START_DATE | Date(10) | DATE | Start Date for Gen Standing PO |
8 | END_DATE | Date(10) | DATE | End Date |