WM_CREWSCHED_VW

(SQL View)
Index Back

SELECT B.BUSINESS_UNIT , B.SHOP_ID , B.CREW_ID , A.SCHED_PATTERN , B.PERIOD_START_DT , A.PERIOD_END_DT , SUM(B.WO_STANDARD_HRS) , SUM(B.ADJ_AVAILABLE_HRS) , SUM(B.ADJ_AVAILABLE_DAYS) , SUM(B.ADJ_AVAIL_HEADCNT) , %Round(%DecDiv(SUM(%Decmult(B.TARGET_LOAD_PCT, B.NBR_OF_CRAFTMEN)), SUM(B.NBR_OF_CRAFTMEN)),2) , SUM(B.TARGET_HRS) , SUM(B.BASE_AVAILABLE_HRS) , SUM(B.WO_SCHED_HRS) , SUM(B.WO_TOT_SCHED_HRS) , SUM(B.COMPLETE_HRS) , SUM(B.COMPLETE_SCHED_HRS) , SUM(B.ADJ_COMP_SCHED_HRS) , SUM(B.ADJ_COMPLETE_HRS) , AVG(B.PCT_SCHEDULED) , AVG(B.SCHED_COMPLY_PCT) , SUM(B.COMP_UNPLANNED_HRS) , SUM(B.CARRYOVER_HRS) , SUM(B.TOT_POT_COST_AMT) , SUM(B.TOT_POT_REV_AMT) , B.CURRENCY_CD FROM PS_WM_CREWSCHED A , PS_WM_CREWSCHED_MT B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.SHOP_ID = B.SHOP_ID AND A.CREW_ID = B.CREW_ID AND A.PERIOD_START_DT = B.PERIOD_START_DT GROUP BY B.BUSINESS_UNIT , B.SHOP_ID , B.CREW_ID , A.SCHED_PATTERN , B.PERIOD_START_DT , A.PERIOD_END_DT , B.CURRENCY_CD

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_WM_NONVW

2 SHOP_ID Character(10) VARCHAR2(10) NOT NULL Shop Identification

Prompt Table: WM_SHOP_DEFN

3 CREW_ID Character(10) VARCHAR2(10) NOT NULL Crew Name

Prompt Table: WM_CREW_DEFN

4 SCHED_PATTERN Character(5) VARCHAR2(5) NOT NULL Schedule Pattern
5 PERIOD_START_DT Date(10) DATE Represents the date commencement point for a given time set utilized in cash worksheet processing.
6 PERIOD_END_DT Date(10) DATE Represents the date termination point for a given time set utilized in cash worksheet processing.
7 WO_STANDARD_HRS Number(15,2) DECIMAL(14,2) NOT NULL Standard Hours
8 ADJ_AVAILABLE_HRS Number(15,2) DECIMAL(14,2) NOT NULL Adjusted Capacity (Hours)
9 ADJ_AVAILABLE_DAYS Number(15,2) DECIMAL(14,2) NOT NULL Adjusted Capacity (Days)
10 ADJ_AVAIL_HEADCNT Number(15,2) DECIMAL(14,2) NOT NULL Adjusted Capacity (Headcount)
11 AVG_TARGETLOAD_PCT Number(6,2) DECIMAL(5,2) NOT NULL Target Load %
12 TARGET_HRS Number(15,2) DECIMAL(14,2) NOT NULL Target Hours
13 BASE_AVAILABLE_HRS Number(15,2) DECIMAL(14,2) NOT NULL Base Capacity (Hour)
14 WO_SCHED_HRS Number(15,2) DECIMAL(14,2) NOT NULL Scheduled Hours
15 WO_TOT_SCHED_HRS Number(15,2) DECIMAL(14,2) NOT NULL Total Scheduled Hours
16 COMPLETE_HRS Number(15,2) DECIMAL(14,2) NOT NULL Completed hours
17 COMPLETE_SCHED_HRS Number(15,2) DECIMAL(14,2) NOT NULL Completed Scheduled Hours
18 ADJ_COMP_SCHED_HRS Number(15,2) DECIMAL(14,2) NOT NULL Adjusted Comp Sched Hours (b)
19 ADJ_COMPLETE_HRS Number(15,2) DECIMAL(14,2) NOT NULL Adjusted Completed Hours (c)
20 PCT_SCHEDULED Number(6,2) DECIMAL(5,2) NOT NULL Scheduled % (b/c)*100
21 SCHED_COMPLY_PCT Number(6,2) DECIMAL(5,2) NOT NULL Schedule Compliance % (b/a)
22 COMP_UNPLANNED_HRS Number(15,2) DECIMAL(14,2) NOT NULL Completed Unplanned Hours
23 CARRYOVER_HRS Number(15,2) DECIMAL(14,2) NOT NULL Carryover Hours
24 TOT_POT_COST_AMT Number(27,3) DECIMAL(26,3) NOT NULL Total Cost
25 TOT_POT_REV_AMT Number(27,3) DECIMAL(26,3) NOT NULL Total Potential Revenue
26 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code