SF_PA_PID_VW6(SQL View) |
Index Back |
---|---|
Prdn IDs: By Area, stat 40-7002/17/98: Assigned view 'SF_PA_PID_LVW6' as Related Language record 2/19/98 RS RL View Type OTH C2 |
SELECT DISTINCT b.business_unit , b.prdn_area_code , b.inv_item_id , c.descr 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 = '40' OR b.prod_status = '50' OR b.prod_status = '60' OR b.prod_status = '70') AND ( b.production_type = 'PR' OR b.production_type = 'RW' OR b.production_type = 'TD') 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: BUS_UNIT_TBL_MG |
2 | PRDN_AREA_CODE | Character(10) | VARCHAR2(10) NOT NULL | Production Area |
3 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |