MG_ITEM_OWNM_VW(SQL View) |
Index Back |
---|---|
MG Std Cost owned App Make Vw06/14/99 LAJ CN#EN800-6.0 : Cloned from mg_item_own1_vw, but only allows Make items...Used for co-product outputs. 06/01/00 lee - changed rlv |
SELECT a.business_unit , a.inv_item_id , a.ref_routing_item , b.descr FROM ps_bu_items_inv a , PS_MASTER_ITEM_TBL b , ps_set_cntrl_rec c WHERE a.business_unit = c.setcntrlvalue AND c.recname = 'MASTER_ITEM_TBL' AND b.setid = c.setid AND b.cfg_code_opt = 'N' AND a.inventory_item = 'Y' AND a.inv_item_id = b.inv_item_id AND a.staged_date_flag='N' AND a.source_code = '1' AND a.mfg_costed_flag='Y' AND a.itm_status_current IN ('1','2','3') AND (a.non_own_flag = 'N' OR a.consigned_flag = 'Y') |
# | 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 | REF_ROUTING_ITEM | Character(18) | VARCHAR2(18) NOT NULL | Reference Routing Item |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |