SF_PRIDH_BD_LVW(SQL View) |
Index Back |
---|---|
RLV for sf_prid_h_vwb_d6/23/00 lee - original create |
SELECT b.business_unit , b.production_id , b.prod_status , b.prdn_area_code , b.inv_item_id , e.language_cd , e.descr FROM PS_SF_PRDNID_HEADR b , PS_MASTER_ITEM_TBL c , PS_SET_CNTRL_REC d , PS_MASTER_ITM_LANG e WHERE b.ma_prdn_id_flg = 'Y' AND ( b.prod_status = '10' OR b.prod_status = '15' ) AND d.recname = 'MASTER_ITEM_TBL' AND d.setcntrlvalue = b.business_unit AND c.setid=d.setid AND e.setid=d.setid AND c.inv_item_id=b.inv_item_id AND e.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 | 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
Prompt Table: MASTER_ITEM_TBL |
6 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |