MG_ITEM_PDN_LVW(SQL View) |
Index Back |
---|---|
Items with prdn option OFF LVW09/23/98 SCC CN#EN800-4.0: Related Language view of MG_ITEM_PDN_VW 08/06/99 lee - cn#mg800-4.0 get item attribs from bu level |
SELECT a.business_unit , f.inv_item_id , f.language_cd , f.descr , f.descr60 FROM ps_bu_items_inv a , PS_MASTER_ITEM_TBL b , ps_set_cntrl_rec c , ps_pl_item_attrib e , ps_master_itm_lang f WHERE a.business_unit = c.setcntrlvalue AND c.recname = 'MASTER_ITEM_TBL' AND b.setid = c.setid AND b.setid=f.setid AND c.setid=f.setid AND a.inventory_item = 'Y' AND a.inv_item_id = b.inv_item_id AND a.inv_item_id=f.inv_item_id AND b.inv_item_id=f.inv_item_id AND a.business_unit = e.business_unit AND a.inv_item_id = e.inv_item_id AND e.mfg_lead_time_flag = 'N' AND a.mfg_costed_flag='Y' AND a.itm_status_current IN ('1','2','3') AND a.non_own_flag = 'N' AND a.staged_date_flag='N' AND (a.source_code = '1' OR a.source_code='2') AND a.mg_prdn_option = '01' AND EXISTS ( SELECT 'x' FROM ps_sf_prdn_area_it e WHERE a.business_unit = e.business_unit AND a.inv_item_id = e.inv_item_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: BUS_UNIT_TBL_IN |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: MST_ITM_PRPT_VW |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | DESCR60 | Character(60) | VARCHAR2(60) NOT NULL | Description |