PERDAVG_CM_VW(SQL View) |
Index Back |
---|---|
Periodic Weighted Average CostPeriodic Weighted Average Cost view |
SELECT CONV.SETID , CONV.INV_ITEM_ID , CONV.UNIT_OF_MEASURE , C.BUSINESS_UNIT , C.CM_BOOK , C.DT_TIMESTAMP , C.CURRENCY_CD , %Round(SUM(%DecMult(C.CM_UNIT_COST, CONV.CONVERSION_RATE)), 4) , 'N' FROM PS_CM_PERDAVG_COST C , PS_INV_ITEM_UOM CONV WHERE C.INV_ITEM_ID = CONV.INV_ITEM_ID GROUP BY CONV.SETID , CONV.INV_ITEM_ID, CONV.UNIT_OF_MEASURE, C.BUSINESS_UNIT, C.CM_BOOK, C.DT_TIMESTAMP, C.CURRENCY_CD |
# | 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 | CM_BOOK | Character(10) | VARCHAR2(10) NOT NULL | Cost Book |
6 | DT_TIMESTAMP | DateTime(26) | TIMESTAMP | Date Timestamp |
7 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
8 | CM_UNIT_COST | Signed Number(27,15) | DECIMAL(25,15) NOT NULL | 07/99 GMG CN800-9.0: |
9 | FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Flag
N=No Y=Yes |