CM_ITMNOCST_VW

(SQL View)
Index Back

CM Items with No Prodncosts Vw

06/23/98: SSN: Created. Views Lists items that are not costed 05/26/99 ej CN#CM800-4.0 Changed to incorporate item attribute at Business Unit level. 08/03/99 lee added rlv.

SELECT a.business_unit , a.inv_item_id , a.itm_status_effdt , 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 a.inventory_item = 'Y' AND (b.cfg_code_opt = 'N' OR (b.cfg_cost_opt = 'N' AND b.cfg_code_opt = 'Y')) AND a.staged_date_flag='N' AND a.inv_item_id = b.inv_item_id 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')

  • Related Language Record: CM_ITMNOCST_LVW
  • # 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 EFFDT Date(10) DATE Effective Date
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description