IN_STDCUR_VW

(SQL View)
Index Back

Current Standard Cost

Current Standard Cost for Inventory Turns

SELECT A.BUSINESS_UNIT , A.INV_ITEM_ID , MAX(A.EFFDT) , SUM(A.TL_COST + A.LL_COST) FROM PS_CM_PRODCOST A , PS_IN_STDCOST_VW B , PS_CM_ELEMENT C , PS_SET_CNTRL_REC D WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.EFFDT = B.EFFDT AND D.RECNAME = 'CM_ELEMENT' AND D.SETCNTRLVALUE = A.BUSINESS_UNIT AND C.SETID = D.SETID AND C.COST_ELEMENT = A.COST_ELEMENT GROUP BY A.BUSINESS_UNIT , A.INV_ITEM_ID , A.EFFDT

# 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

Default Value: %date

4 CM_UNIT_COST Signed Number(27,15) DECIMAL(25,15) NOT NULL 07/99 GMG CN800-9.0: