WM_ETM_UPDT_VW(SQL View) |
Index Back |
---|---|
WO Elapsed TimeSheet Updt VwUsed to source Elapsed Time Entry rowset data in %Update mode (level 2 view) 06/02/2022 - modified for Bug 34201324. |
SELECT A.EMPLID , A.TIME_SHEET_ID , A.VERSION_NUM , A.LINE_NBR AS SEQ_NBR , %subrec(WM_WO_SBR, A) , B.BUSINESS_UNIT , B.SHOP_ID , B.SHIFT_ID , B.CRAFT_ID , %subrec(CF16_AN_SBR, A) , %subrec(PC_CF1_N_SBR, A) , A.DEPTID , B.ASSIGNMENT_ID , A.BUSINESS_UNIT_GL , B.INTERNAL_STATUS , B.STATUS_CD , B.LABOR_BILL_RATE , B.LABOR_COST_RATE , B.CURRENCY_CD FROM PS_WM_ETM_TSDTL_VW A , PS_WM_TE_SCHLBR_VW B WHERE B.BUSINESS_UNIT = A.BUSINESS_UNIT_WO AND B.WO_ID = A.WO_ID AND B.WO_TASK_ID = A.WO_TASK_ID AND B.RES_LN_NBR = A.RES_LN_NBR |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | TIME_SHEET_ID | Character(10) | VARCHAR2(10) NOT NULL | Time Sheet Unique Identifier (System Generated) |
3 | VERSION_NUM | Number(3,0) | SMALLINT NOT NULL | Version Number |
4 | SEQ_NBR | Number(15,0) | DECIMAL(15) NOT NULL | Sequence Number |
5 | BUSINESS_UNIT_WO | Character(5) | VARCHAR2(5) NOT NULL | Business Unit Work Order |
6 | WO_ID | Character(10) | VARCHAR2(10) NOT NULL | Work Order Identification |
7 | WO_TASK_ID | Number(5,0) | INTEGER NOT NULL | Task Number |
8 | RSRC_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Work Order Management Resource Types
1=Labor 2=Tools 3=Material |
9 | RES_LN_NBR | Number(5,0) | INTEGER NOT NULL | Resource Line No. |
10 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
11 | SHOP_ID | Character(10) | VARCHAR2(10) NOT NULL | Shop Identification |
12 | SHIFT_ID | Character(10) | VARCHAR2(10) NOT NULL | Shift ID |
13 | CRAFT_ID | Character(16) | VARCHAR2(16) NOT NULL |
Craft Identification
Prompt Table: RS_CRAFT_DETAIL |
14 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL |
Operating Unit ChartField
Prompt Table: OPERUNT_BUGL_VW |
15 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL |
Product ChartField
Prompt Table: PRODUCT_BUGL_VW |
16 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Fund Code
Prompt Table: FUND_BUGL_VW |
17 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL |
Class Field
Prompt Table: CLASSCF_BUGL_VW |
18 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Program Code ChartField
Prompt Table: PROGRAM_BUGL_VW |
19 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL |
Budget Reference
Prompt Table: BUD_REF_BUGL_VW |
20 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL |
Affiliate
Prompt Table: AFFILIATE_VW |
21 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL |
IntraUnit Affiliate1
Prompt Table: %EDIT_INTRA01 |
22 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL |
Operating Unit Affiliate
Prompt Table: %EDIT_INTRA02 |
23 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion chartfield 1
Prompt Table: CF1_BUGL_VW |
24 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 2
Prompt Table: CF2_BUGL_VW |
25 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 3
Prompt Table: CF3_BUGL_VW |
26 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL |
PC Business Unit
Prompt Table: %EDIT_BU_PC |
27 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Prompt Table: %EDIT_PROJECT |
28 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL |
Activity ID
Prompt Table: %EDIT_ACTIVITY |
29 | RESOURCE_TYPE | Character(5) | VARCHAR2(5) NOT NULL |
Source Type
Prompt Table:
PROJ_RESTYPE_FS
|
30 | RESOURCE_CATEGORY | Character(5) | VARCHAR2(5) NOT NULL |
Category
Prompt Table:
%EDIT_RES_CAT
|
31 | RESOURCE_SUB_CAT | Character(5) | VARCHAR2(5) NOT NULL |
Subcategory
Prompt Table:
%EDIT_RES_SUB
|
32 | ANALYSIS_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Analysis Type
Prompt Table:
%EDIT_ANALYSIS
|
33 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table: DEPTID_BUGL_VW |
34 | ASSIGNMENT_ID | Character(15) | VARCHAR2(15) NOT NULL | Work Assignment ID |
35 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
36 | INTERNAL_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
Internal Status
01=Open 02=Awaiting Schedule 03=Scheduled 04=Work In Progress 05=Complete 06=Closed 07=Canceled 08=On Hold 09=Work Order Created |
37 | STATUS_CD | Character(4) | VARCHAR2(4) NOT NULL | User defined Status Code |
38 | LABOR_BILL_RATE | Number(27,3) | DECIMAL(26,3) NOT NULL | Billing Rate |
39 | LABOR_COST_RATE | Number(27,3) | DECIMAL(26,3) NOT NULL | Cost Rate |
40 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |