CE_OP_TIME_VW2(SQL View) |
Index Back |
---|---|
RTG hrs by mach/labor size |
SELECT A.BUSINESS_UNIT ,A.PRODUCTION_ID ,A.OP_SEQUENCE ,A.WORK_CENTER_CODE ,A.CONVERSION_CODE ,A.DAILY_CAPACITY ,A.CREWSIZE ,A.MACH_RESOURCES ,A.TIME_TYPE ,A.OP_TIME ,A.OP_RATE ,A.OP_TIME_UNIT ,A.OP_RATE_UNIT ,A.CE_HOURS_SPENT ,%DecMult(A.CE_HOURS_SPENT, %DecMult(A.CREWSIZE, B.CE_CREW))+ %DecMult(A.CE_HOURS_SPENT, %DecMult(A.MACH_RESOURCES, B.CE_MACH))+ %DecMult(A.CE_HOURS_SPENT, B.CE_NOCALC_CREWMACH) FROM PS_CE_OP_TIME_VW A , PS_CE_HR_CONV B WHERE B.CE_SOURCE = 'CREW' AND A.TIME_TYPE = B.CONVERSION_CODE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PRODUCTION_ID | Character(10) | VARCHAR2(10) NOT NULL | Production ID |
3 | OP_SEQUENCE | Number(4,0) | SMALLINT NOT NULL | Operation Sequence |
4 | WORK_CENTER_CODE | Character(10) | VARCHAR2(10) NOT NULL | Work Center |
5 | CONVERSION_CODE | Character(4) | VARCHAR2(4) NOT NULL | Conversion Code |
6 | DAILY_CAPACITY | Number(5,2) | DECIMAL(4,2) NOT NULL | Average Daily Hours |
7 | CREWSIZE | Number(7,2) | DECIMAL(6,2) NOT NULL | Crew Size |
8 | MACH_RESOURCES | Number(7,2) | DECIMAL(6,2) NOT NULL | Machine Resources |
9 | TIME_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Time / Resource Type
0100=Planning Labor Setup 0200=Planning Labor Fixed Run 0300=Planning Labor Run 0400=Planning Labor Post Prod 0500=Planning Machine Setup 0600=Planning Machine Fixed Run 0700=Planning Machine Run 0800=Planning Machine Post Prod 1100=Costing Labor Setup 1200=Costing Labor Fixed Run 1300=Costing Labor Run 1400=Costing Labor Post Prod 1500=Costing Machine Setup 1600=Costing Machine Fixed Run 1700=Costing Machine Run 1800=Costing Machine Post Prod 2000=Queue Time 3000=Intransit Time |
10 | OP_TIME | Number(9,2) | DECIMAL(8,2) NOT NULL | Op Time |
11 | OP_RATE | Number(9,2) | DECIMAL(8,2) NOT NULL | Op Rate |
12 | OP_TIME_UNIT | Character(2) | VARCHAR2(2) NOT NULL |
Time Unit
DY=Days HR=Hours MN=Minutes |
13 | OP_RATE_UNIT | Character(2) | VARCHAR2(2) NOT NULL |
Op Rate Unit
UD=Units/Day UH=Units/Hour UM=Units/Min |
14 | CE_HOURS_SPENT | Signed Number(33,15) | DECIMAL(31,15) NOT NULL | Hours Spent |
15 | CE_TOTAL_HOURS | Signed Number(33,15) | DECIMAL(31,15) NOT NULL | Total Hours |