CM_LAST_PERP_VW(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT , A.CM_BOOK , A.INV_ITEM_ID , A.COST_ELEMENT , A.CM_UNIT_COST , D.XLATSHORTNAME FROM PS_CM_PERPCUR_VW A , PS_CM_BOOK_LED_VW B , PS_CM_ITEM_METH_VW C , PSXLATITEM D WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.CM_BOOK = B.CM_BOOK AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.CM_BOOK = C.CM_BOOK AND A.INV_ITEM_ID = C.INV_ITEM_ID AND C.CM_METHOD = '6' AND B.PRIMARY_LEDGER = 'Y' AND B.DEFAULT_LEDGER_GRP = 'Y' AND D.FIELDNAME = 'CM_METHOD' AND D.FIELDVALUE = '6' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | CM_BOOK | Character(10) | VARCHAR2(10) NOT NULL | Cost Book |
3 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
4 | COST_ELEMENT | Character(4) | VARCHAR2(4) NOT NULL | Cost Element |
5 | CM_UNIT_COST | Signed Number(27,15) | DECIMAL(25,15) NOT NULL | 07/99 GMG CN800-9.0: |
6 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |