SF_PRDN_SUM_VW(SQL View) |
Index Back |
---|---|
Production ID's Header9/8/97 ebn CN#EN750-1.0 : Added Reference Routing Item for Master Routing Enhancement CN# EN800-3.0, Sep 21 98, Anna Added field BomCode added conditions for bomcode and rtgcode fields in the view's sql definition. |
select a.business_unit, a.production_id, a.prod_status, a.prdn_area_code, a.inv_item_id, a.production_type, a.new_prdn_qty, a.bom_code, a.rtg_code, a.ref_routing_item, a.scheduling_method, a.new_start_date, a.new_start_time, a.new_start_shift, a.new_end_date, a.new_end_time, a.new_end_shift, a.prdn_due_date, a.prdn_due_time, a.prdn_due_shift, a.revision, a.ma_prdn_id_flg, b.prdn_rate_qty, b.prdn_sch_defn_flg from ps_sf_prdnid_headr a, PS_SF_PRDN_AREA_IT b where a.business_unit = b.business_unit and a.prdn_area_code = b.prdn_area_code and a.inv_item_id = b.inv_item_id and a.prod_status <= '30' and a.bom_code = b.bom_code and a.rtg_code = b.rtg_code |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BUMGOP_NONVW |
2 | PRODUCTION_ID | Character(10) | VARCHAR2(10) NOT NULL |
Production ID
Default Value: NEXT |
3 | PROD_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
Production Status
10=Entered 15=Firmed 20=Released 30=In Process 40=Pend Cmpl 50=Completed 60=Clsd/Labor 70=Clsd/Acctg 90=Canceled |
4 | PRDN_AREA_CODE | Character(10) | VARCHAR2(10) NOT NULL |
Production Area
Prompt Table: SF_PRDN_AREA |
5 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: SF_PA_IT_ID_VW |
6 | PRODUCTION_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
JNW 11/1/98 (CN#SF800-13) activated teardown xlat
PR=Production RW=Rework SV=Service TD=Teardown Default Value: PR |
7 | NEW_PRDN_QTY | Number(12,4) | DECIMAL(11,4) NOT NULL | Production Start Qty |
8 | BOM_CODE | Number(2,0) | SMALLINT NOT NULL | CN# EN800-3.0, anna 09/21 added new field to database |
9 | RTG_CODE | Number(2,0) | SMALLINT NOT NULL |
Routing Code
Prompt Table: EN_RTG_HDR_VW |
10 | REF_ROUTING_ITEM | Character(18) | VARCHAR2(18) NOT NULL | Reference Routing Item |
11 | SCHEDULING_METHOD | Character(3) | VARCHAR2(3) NOT NULL |
Scheduling Method
BWD=Backward FWD=Forward |
12 | NEW_START_DATE | Date(10) | DATE | Start Date |
13 | NEW_START_TIME | Time(15) | TIMESTAMP | Start Time |
14 | NEW_START_SHIFT | Signed Number(2,0) | DECIMAL(1) NOT NULL | Start Shift |
15 | NEW_END_DATE | Date(10) | DATE | Due Date |
16 | NEW_END_TIME | Time(15) | TIMESTAMP | Due Time |
17 | NEW_END_SHIFT | Signed Number(2,0) | DECIMAL(1) NOT NULL | Due Shift |
18 | PRDN_DUE_DATE | Date(10) | DATE | Prdn Due Date |
19 | PRDN_DUE_TIME | Time(15) | TIMESTAMP | Prdn Due Time |
20 | PRDN_DUE_SHIFT | Signed Number(2,0) | DECIMAL(1) NOT NULL | Prdn Due Shift |
21 | REVISION | Character(4) | VARCHAR2(4) NOT NULL |
01/27/2000 RML Added "As of" label
Prompt Table: EN_REV_SRCH |
22 | MA_PRDN_ID_FLG | Character(1) | VARCHAR2(1) NOT NULL |
10/18/99 SCC CN#IC800: Add label MAINTAIN_PID
N=No Y=Yes Y/N Table Edit |
23 | PRDN_RATE_QTY | Number(12,4) | DECIMAL(11,4) NOT NULL | 10/18/99 SCC CN#IC800: Add label RATE_QTY_PER_SHIFT |
24 | PRDN_SCH_DEFN_FLG | Character(4) | VARCHAR2(4) NOT NULL |
Prdn Sched Definition
CMP=Completion Date STR=Start Date |