CM_ACTBOOK_H_VW(SQL View) |
Index Back |
---|
SELECT BUSINESS_UNIT ,INV_ITEM_ID ,DT_TIMESTAMP ,SEQ_NBR ,CM_SEQ_COST ,CM_BOOK ,CM_ADJ_TYPE ,MIN(COST_ELEMENT) FROM PS_CM_ACTUAL_COSTB WHERE CM_ADJ_TYPE IN ('1','2') AND EFF_STATUS = 'A' AND POSTED_FLAG = 'N' GROUP BY BUSINESS_UNIT ,INV_ITEM_ID ,DT_TIMESTAMP ,SEQ_NBR ,CM_SEQ_COST, CM_BOOK, CM_ADJ_TYPE |
# | 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 | DT_TIMESTAMP | DateTime(26) | TIMESTAMP | Date Timestamp |
4 | SEQ_NBR | Number(15,0) | DECIMAL(15) NOT NULL | Sequence Number |
5 | CM_SEQ_COST | Number(15,0) | DECIMAL(15) NOT NULL | Cost Sequence Number. Incremented each time the actual cost is updated. |
6 | CM_BOOK | Character(10) | VARCHAR2(10) NOT NULL | Cost Book |
7 | CM_ADJ_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
07/99 GMG CN800-9.0:
0=Original Cost 1=Cost Adjustment 2=Value Adjustment |
8 | COST_ELEMENT | Character(4) | VARCHAR2(4) NOT NULL | Cost Element |