SF_SRH_OP_LVW2(SQL View) |
Index Back |
---|---|
OPMtnce:Viewby PrdnArea RLView02/18/98: Saritha: Created .Required as related language record to the view 'SF_SRH_OP_VW2' 06/05/98 lee: RTNT159-ML3N3 added business unit to the view as a key. I changed the base view too. 07/06/99 RT CN#MG800-4.0 Changed prompt table for inv_item_id |
Select b.business_unit, b.prdn_area_code, b.inv_item_id, c.language_cd, c.descr From PS_SF_PRDNID_HEADR b, PS_MASTER_ITM_LANG c, PS_SET_CNTRL_REC d Where b.ma_prdn_id_flg = 'Y' and (b.prod_status = '20' 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 |
2 | PRDN_AREA_CODE | Character(10) | VARCHAR2(10) NOT NULL | Production Area |
3 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: BU_ITM_INV_LVW7 |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |