SUB_VW(SQL View) |
Index Back |
---|---|
Prdn Id Selection View07/07/97 MEG CN# SF750-1.0: In view text, removed join to sf_prdn_area_it and use ma_prdn_id_flg from sf_prdnid_headr. 9/8/97 ebn CN#EN750-1.0 : Added Reference Routing Item for Master Routing Enhancement 06/09/99 SPL CN# MG800-11.0 Added configuration code to record. |
SELECT A.BUSINESS_UNIT , A.PRODUCTION_ID , A.PROD_STATUS , A.PRDN_AREA_CODE , A.INV_ITEM_ID , A.PRODUCTION_TYPE , A.NEW_START_DATE , A.NEW_END_DATE , A.CONFIG_CODE FROM PS_SF_PRDNID_HEADR A WHERE A.MA_PRDN_ID_FLG = 'Y' AND A.PROD_STATUS BETWEEN '20' AND '50' AND EXISTS ( SELECT 'X' FROM PS_SF_OP_LIST WHERE BUSINESS_UNIT = A.BUSINESS_UNIT AND PRODUCTION_ID = A.PRODUCTION_ID AND SUBCONTRACTED = 'Y') |
# | 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 |
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 |
5 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
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 |
7 | NEW_START_DATE | Date(10) | DATE | Start Date |
8 | NEW_END_DATE | Date(10) | DATE | Due Date |
9 | CONFIG_CODE | Character(50) | VARCHAR2(50) NOT NULL | Product Configurator |