SF_OP_MTN_VW(SQL View) |
Index Back |
---|---|
PID Operations Add Search View |
select c.business_unit, c.production_id, c.prod_status from ps_sf_prdnid_headr c where c.ma_prdn_id_flg = 'Y' and (c.prod_status = '20' or (c.prod_status = '30' and not ((c.completed_qty + c.scrap_qty) > 0 and not exists (select d.production_id from PS_SF_OP_LIST d where c.business_unit = d.business_unit and c.production_id = d.production_id)))) |
# | 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 |