CM_PDUC_BYEL_VW(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT ,A.CM_BOOK ,A.INV_ITEM_ID ,A.COST_ELEMENT ,A.CM_UNIT_COST FROM PS_CM_PERDAVG_COST A WHERE A.DT_TIMESTAMP = ( SELECT MAX(AA.DT_TIMESTAMP) FROM PS_CM_PERDAVG_COST AA WHERE %Join(COMMON_KEYS, CM_PERDAVG_COST A, CM_PERDAVG_COST AA, PROCESS_INSTANCE, DT_TIMESTAMP) AND AA.DT_TIMESTAMP <= %CurrentDateTimeIn ) |
# | 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: |