SF_SRH_OP_VW1(SQL View) |
Index Back |
---|---|
OP Mtnce: View by PID key02/18/98: Assigned view 'SF_SRH_OP_LVW1' as related language record 2/20/98 RS RL View Type D 12/18/98 lee 8.0 enhancement force rank #1785. Sort by PID in descending order. 02/02/99 rag pl800-1 added code to include firmed status. 06/02/99 SPL CN# MG800-11.0 Added configuration code to record. 07/06/99 RT CN#MG800-4.0 Changed prompt table for inv_item_id |
Select b.business_unit, b.production_id, b.prdn_area_code, b.inv_item_id, c.descr, b.prod_status, b.production_type, b.config_code From PS_SF_PRDNID_HEADR b, PS_MASTER_ITEM_TBL c, PS_SET_CNTRL_REC d Where b.ma_prdn_id_flg = 'Y' and ( (b.prod_status = '20' or b.prod_status = '15' ) or (b.prod_status = '30' and not ((b.completed_qty + b.scrap_qty) > 0 and not exists (select h.production_id from ps_sf_op_list h where h.business_unit = b.business_unit and h.production_id = b.production_id))) ) and d.recname = 'MASTER_ITEM_TBL' and d.setcntrlvalue = b.business_unit and c.setid=d.setid and c.inv_item_id=b.inv_item_id |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BUMGOP_NONVW |
2 | PRODUCTION_ID | Character(10) | VARCHAR2(10) NOT NULL | Production ID |
3 | PRDN_AREA_CODE | Character(10) | VARCHAR2(10) NOT NULL | Production Area |
4 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: BU_ITM_INV_VW7 |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | 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 |
7 | 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 |
8 | CONFIG_CODE | Character(50) | VARCHAR2(50) NOT NULL |
Product Configurator
Prompt Table: CP_CONFIG_VW |