PERRAVG_CM_VW

(SQL View)
Index Back

Retro Perpetual Average Costs

Holds the retro Perpetual Average Cost

SELECT CONV.SETID , CONV.INV_ITEM_ID , CONV.UNIT_OF_MEASURE , C.BUSINESS_UNIT , C.DT_TIMESTAMP , C.SEQ_NBR , %Round(%DecMult(C.CM_UNIT_COST, CONV.CONVERSION_RATE), 4) , C.CURRENCY_CD , 'N' FROM PS_CM_RAVG_COST_VW C , PS_INV_ITEM_UOM CONV WHERE C.INV_ITEM_ID = CONV.INV_ITEM_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
3 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
4 SHIP_FROM_BU Character(5) VARCHAR2(5) NOT NULL Ship from INV BU
5 DT_TIMESTAMP DateTime(26) TIMESTAMP Date Timestamp
6 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
7 CM_UNIT_COST Signed Number(27,15) DECIMAL(25,15) NOT NULL 07/99 GMG CN800-9.0:
8 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
9 FLAG Character(1) VARCHAR2(1) NOT NULL Flag
N=No
Y=Yes