CE_CST_COPY4_VW(SQL View) |
Index Back |
---|---|
Copy Costs Item View2/13/98 RS : - Created a rel language view CE_CSTCOPY2_LVW - RL View Type OTH C1 05/26/99 ej CN#CM800-4.0 Changed to incrporate item attribute at Business Unit level. 01/22/02 MXS R-VRAMBA-SJ383 changed view to ignore "Used in MFG" check Box - and included join to cm_item_led_vw to check for cm.method = 8 (std costed) |
SELECT a.business_unit , a.inv_item_id , b.descr FROM ps_bu_items_inv a , PS_MASTER_ITEM_TBL b , ps_set_cntrl_rec c ,ps_cm_item_led_vw d WHERE a.business_unit = c.setcntrlvalue AND c.recname = 'MASTER_ITEM_TBL' AND b.setid = c.setid AND a.inventory_item = 'Y' AND a.inv_item_id = b.inv_item_id AND a.itm_status_current IN ('1', '2', '3') AND (a.non_own_flag = 'N' OR a.consigned_flag = 'Y') AND a.business_unit=d.business_unit AND a.inv_item_id=d.inv_item_id AND d.default_ledger_grp='Y' AND d.primary_ledger='Y' AND d.cm_method='8' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |