SPL_PL_PRDN2_VW(SQL View) |
Index Back |
---|---|
Planned Prdn WC Grp01/15/03 JC (CN#PL880-1): Added |
SELECT A.PROBINST , A.BUSINESS_UNIT , A.PL_SEQ_NBR , A.PL_PLAN_STATUS , A.INV_ITEM_ID , B.ASSY_STARTS_QTY , C.UNIT_MEASURE_STD , B.OP_SEQUENCE , B.PLAN_START_DTTM , B.PLAN_END_DTTM , D.RESRC_TYPE , D.CREW_CODE , D.MACHINE_CODE , D.TOOL_CODE , D.TOOL_QTY , E.CREWSIZE , E.MACH_RESOURCES , B.WORK_CENTER_CODE , F.WC_GROUP_CODE FROM PS_PL_PLNPRD_HEADR A , PS_PL_PLNPRD_OP B , PS_PL_BU_ITEMS C , PS_PL_RTG_RESRC D , PS_PL_RTG_OPS E , PS_EN_WC_GRP_DTL F WHERE A.PROBINST = B.PROBINST AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PL_SEQ_NBR = B.PL_SEQ_NBR AND B.PROBINST = C.PROBINST AND B.BUSINESS_UNIT = C.BUSINESS_UNIT AND C.PROBINST = D.PROBINST AND C.BUSINESS_UNIT = D.BUSINESS_UNIT AND C.INV_ITEM_ID = A.INV_ITEM_ID AND C.REF_ROUTING_ITEM = D.INV_ITEM_ID AND D.PROBINST = E.PROBINST AND D.BUSINESS_UNIT = E.BUSINESS_UNIT AND D.INV_ITEM_ID = E.INV_ITEM_ID AND D.RTG_TYPE = E.RTG_TYPE AND D.RTG_CODE = E.RTG_CODE AND D.RTG_STATE = E.RTG_STATE AND D.OP_SEQUENCE = E.OP_SEQUENCE AND A.PROBINST = C.PROBINST AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.PROBINST = D.PROBINST AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.RTG_CODE = D.RTG_CODE AND A.PROBINST = E.PROBINST AND A.BUSINESS_UNIT = E.BUSINESS_UNIT AND B.PROBINST = D.PROBINST AND B.BUSINESS_UNIT = D.BUSINESS_UNIT AND B.OP_SEQUENCE = D.OP_SEQUENCE AND B.PROBINST = E.PROBINST AND B.BUSINESS_UNIT = E.BUSINESS_UNIT AND B.OP_SEQUENCE = E.OP_SEQUENCE AND C.PROBINST = E.PROBINST AND C.BUSINESS_UNIT = E.BUSINESS_UNIT AND A.INCL_QTY_FLG = 'Y' AND A.PL_PLAN_STATUS IN ('05','15') AND B.IGNORE_CAPACITY = 'N' AND B.WORK_CENTER_CODE = F.WORK_CENTER_CODE AND B.BUSINESS_UNIT = F.BUSINESS_UNIT AND B.WORK_CENTER_CODE = F.WORK_CENTER_CODE AND D.RTG_TYPE = 'PR' AND D.RTG_STATE = 'PR' AND D.RESRC_TYPE IN ('10','30','50') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PROBINST | Character(20) | VARCHAR2(20) NOT NULL | Optimization Problem Instance |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | PL_SEQ_NBR | Number(9,0) | DECIMAL(9) NOT NULL | 01/09/02 EGS (CN#PL900-1): Added |
4 | PL_PLAN_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
11/01/01 PCL (CN#PL900-1): Added
05=Planned 15=Firmed 90=Canceled |
5 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
6 | REMAINING_QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | 08/16/01 JNW (CN#PL900-1.0): Added |
7 | UNIT_MEASURE_STD | Character(3) | VARCHAR2(3) NOT NULL | Standard Unit of Measure |
8 | OP_SEQUENCE | Number(4,0) | SMALLINT NOT NULL | Operation Sequence |
9 | PLAN_START_DTTM | DateTime(26) | TIMESTAMP | 08/29/01 EGS (CN#PL900-1): Added. |
10 | PLAN_END_DTTM | DateTime(26) | TIMESTAMP | 08/29/01 EGS (CN#PL900-1): Added. |
11 | RESRC_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
Resource Type
10=Primary Crew 20=Alt Crew 30=Primary Machine 40=Alt Machine 50=Primary Tool 60=Alternate Tool |
12 | CREW_CODE | Character(10) | VARCHAR2(10) NOT NULL | Crew Name |
13 | MACHINE_CODE | Character(10) | VARCHAR2(10) NOT NULL | Machine Code |
14 | TOOL_CODE | Character(10) | VARCHAR2(10) NOT NULL | Tool ID |
15 | TOOL_QTY | Number(12,4) | DECIMAL(11,4) NOT NULL | Quantity Used |
16 | CREWSIZE | Number(7,2) | DECIMAL(6,2) NOT NULL | Crew Size |
17 | MACH_RESOURCES | Number(7,2) | DECIMAL(6,2) NOT NULL | Machine Resources |
18 | WORK_CENTER_CODE | Character(10) | VARCHAR2(10) NOT NULL | Work Center |
19 | WC_GROUP_CODE | Character(10) | VARCHAR2(10) NOT NULL | F-SMERENDA-87: Planning Work center groups |