CM_ITM_AVG_LVW

(SQL View)
Index Back

Item Master Average Cst View

PSG 9/2/97: This view retrieves only average costed items. Used on Average Cost Adjustment panel (record cm_cost_adj_wrk). Created for release 7.5. 2/13/98 RS RL View Type OTH C1 05/27/99 ej CN#CM800-4.0 Changed to incorporate item attribute at Business Unit level. 10/14/99 SPL R-EZAREE-4P4V3 Removed CM_ITM_AVG_VW from rec group CM_01 and put in FS_18.

SELECT B.SETID , A.BUSINESS_UNIT , E.CM_BOOK , A.INV_ITEM_ID , L.LANGUAGE_CD , L.DESCR , B.UNIT_MEASURE_STD , E.COST_ELEMENT , E.CURRENCY_CD FROM PS_BU_ITEMS_INV A , PS_MASTER_ITEM_TBL B , PS_SET_CNTRL_REC C , PS_CM_ITEM_SFLG_VW D , PS_CM_PERPCUR_VW E , PS_MASTER_ITM_LANG L WHERE A.ITM_STATUS_CURRENT IN ('1','2','3') AND A.INV_ITEM_ID = B.INV_ITEM_ID AND C.RECNAME = 'MASTER_ITEM_TBL' AND C.SETCNTRLVALUE = A.BUSINESS_UNIT AND B.SETID = C.SETID AND D.BUSINESS_UNIT = A.BUSINESS_UNIT AND D.INV_ITEM_ID = A.INV_ITEM_ID AND D.CM_PERPAVG_FLAG > 0 AND E.BUSINESS_UNIT = A.BUSINESS_UNIT AND E.INV_ITEM_ID = A.INV_ITEM_ID AND B.SETID = L.SETID AND B.INV_ITEM_ID = L.INV_ITEM_ID

  • Related Language Record for CM_ITM_AVG_VW CM_ITM_PERR_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    3 CM_BOOK Character(10) VARCHAR2(10) NOT NULL Cost Book
    4 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
    5 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    6 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    7 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure
    8 COST_ELEMENT Character(4) VARCHAR2(4) NOT NULL Cost Element
    9 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code