CM_STDCSTD1_VW(SQL View) |
Index Back |
---|---|
Cur Std Cst Now10/22/02 lee : This view has the total costs, for a cost element, in effect today. This view is for items using the Standard cost method. |
SELECT A.BUSINESS_UNIT , A.INV_ITEM_ID , A.CONFIG_CODE , A.EFFDT , A.COST_ELEMENT , (A.TL_COST+A.LL_COST) FROM PS_CM_STDCOSTD_VW A WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_CM_STDCOSTD_VW B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.CONFIG_CODE = B.CONFIG_CODE) |
# | 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 | CONFIG_CODE | Character(50) | VARCHAR2(50) NOT NULL | Product Configurator |
4 | EFFDT | Date(10) | DATE | Effective Date |
5 | COST_ELEMENT | Character(4) | VARCHAR2(4) NOT NULL | Cost Element |
6 | CM_UNIT_COST | Signed Number(27,15) | DECIMAL(25,15) NOT NULL | 07/99 GMG CN800-9.0: |