WM_ETIME_VW

(SQL View)
Index Back

Work Order Elapsed Time View


SELECT W.OPRID , K.TIME_SHEET_ID , K.VERSION_NUM , W.BUSINESS_UNIT AS BUSINESS_UNIT_WO , W.WO_ID , W.WO_TASK_ID , '1' , W.RES_LN_NBR , W.BUSINESS_UNIT , K.SEQ_NBR , W.SHOP_ID , W.CRAFT_ID , %subrec(CF16_AN_SBR, K) , %subrec(PC_CF1_N_SBR, K) , W.ASSIGNMENT_ID , K.BUSINESS_UNIT_GL , W.EMPLID , W.INTERNAL_STATUS , W.STATUS_CD , W.LABOR_BILL_RATE , W.LABOR_COST_RATE FROM PS_WM_TE_LBR W , PS_WM_TE_KEYS K WHERE W.BUSINESS_UNIT = K.BUSINESS_UNIT_WO (+) AND W.WO_ID = K.WO_ID (+) AND W.WO_TASK_ID = K.WO_TASK_ID (+)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
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 BUSINESS_UNIT_WO Character(5) VARCHAR2(5) NOT NULL Business Unit Work Order

Prompt Table: SP_BU_WM_NONVW

5 WO_ID Character(10) VARCHAR2(10) NOT NULL Work Order Identification

Prompt Table: %EDIT_WO_ID

6 WO_TASK_ID Number(5,0) INTEGER NOT NULL Task Number

Prompt Table: %EDIT_WO_TASK

7 RSRC_TYPE Character(1) VARCHAR2(1) NOT NULL Work Order Management Resource Types
1=Labor
2=Tools
3=Material
8 RES_LN_NBR Number(5,0) INTEGER NOT NULL Resource Line No.

Prompt Table: %EDIT_RES_LINE

9 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
10 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
11 SHOP_ID Character(10) VARCHAR2(10) NOT NULL Shop Identification
12 CRAFT_ID Character(16) VARCHAR2(16) NOT NULL Craft Identification

Prompt Table: RS_CRAFT_DETAIL

13 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: OPERUNT_BUGL_VW

14 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField

Prompt Table: PRODUCT_BUGL_VW

15 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code

Prompt Table: FUND_BUGL_VW

16 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field

Prompt Table: CLASSCF_BUGL_VW

17 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField

Prompt Table: PROGRAM_BUGL_VW

18 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference

Prompt Table: BUD_REF_BUGL_VW

19 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate

Prompt Table: AFFILIATE_VW

20 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1

Prompt Table: %EDIT_INTRA01

21 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate

Prompt Table: %EDIT_INTRA02

22 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1

Prompt Table: CF1_BUGL_VW

23 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2

Prompt Table: CF2_BUGL_VW

24 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3

Prompt Table: CF3_BUGL_VW

25 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit

Prompt Table: %EDIT_BU_PC

26 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

Prompt Table: %EDIT_PROJECT

27 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID

Prompt Table: %EDIT_ACTIVITY

28 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type

Prompt Table: PROJ_RESTYPE_FS
Set Control Field: BUSINESS_UNIT_PC

29 RESOURCE_CATEGORY Character(5) VARCHAR2(5) NOT NULL Category

Prompt Table: %EDIT_RES_CAT
Set Control Field: BUSINESS_UNIT_PC

30 RESOURCE_SUB_CAT Character(5) VARCHAR2(5) NOT NULL Subcategory

Prompt Table: %EDIT_RES_SUB
Set Control Field: BUSINESS_UNIT_PC

31 ANALYSIS_TYPE Character(3) VARCHAR2(3) NOT NULL Analysis Type

Prompt Table: %EDIT_ANALYSIS
Set Control Field: BUSINESS_UNIT_PC

32 ASSIGNMENT_ID Character(15) VARCHAR2(15) NOT NULL Work Assignment ID
33 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
34 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
35 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
36 STATUS_CD Character(4) VARCHAR2(4) NOT NULL User defined Status Code
37 LABOR_BILL_RATE Number(27,3) DECIMAL(26,3) NOT NULL Billing Rate
38 LABOR_COST_RATE Number(27,3) DECIMAL(26,3) NOT NULL Cost Rate