CM_CTC_ACT_VW

(SQL View)
Index Back

Actual Cost View


SELECT A.BUSINESS_UNIT , A.CM_BOOK , A.INV_ITEM_ID , A.DT_TIMESTAMP , A.SEQ_NBR , A.COST_ELEMENT , A.CM_SEQ_COST , A.BUSINESS_UNIT_RECV , A.RECEIVER_ID , A.RECV_LN_NBR , A.RECV_SHIP_SEQ_NBR , A.DISTRIB_LINE_NUM , A.EFF_STATUS , A.CM_DTTM_IN_EFFECT , A.CM_DTTM_STAMP , A.CM_ADJ_TYPE , A.CM_COST_SOURCE , A.CM_UNIT_COST , A.CURRENCY_CD , A.PROCESS_INSTANCE , B.VENDOR_ID , B.QTY_BASE , B.SOURCE_BUS_UNIT , B.STORAGE_AREA , B.SERIAL_ID , B.INV_LOT_ID , B.TRANSACTION_SOURCE , A.PRODUCTION_ID FROM PS_CM_ACTUAL_COSTB A , PS_TRANSACTION_INV B WHERE %Join(COMMON_KEYS, CM_ACTUAL_COSTB A, TRANSACTION_INV B) AND A.EFF_STATUS='A'

# 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 DT_TIMESTAMP DateTime(26) TIMESTAMP Date Timestamp
5 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
6 COST_ELEMENT Character(4) VARCHAR2(4) NOT NULL Cost Element
7 CM_SEQ_COST Number(15,0) DECIMAL(15) NOT NULL Cost Sequence Number. Incremented each time the actual cost is updated.
8 BUSINESS_UNIT_RECV Character(5) VARCHAR2(5) NOT NULL Receiving Business Unit
9 RECEIVER_ID Character(10) VARCHAR2(10) NOT NULL Receiver number
10 RECV_LN_NBR Number(5,0) INTEGER NOT NULL Receipt Line
11 RECV_SHIP_SEQ_NBR Number(3,0) SMALLINT NOT NULL Receiver Shipping Sequence
12 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line
13 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive
14 CM_DTTM_IN_EFFECT DateTime(26) TIMESTAMP Date Timestamp
15 CM_DTTM_STAMP DateTime(26) TIMESTAMP Date Timestamp
16 CM_ADJ_TYPE Character(1) VARCHAR2(1) NOT NULL 07/99 GMG CN800-9.0:
0=Original Cost
1=Cost Adjustment
2=Value Adjustment
17 CM_COST_SOURCE Character(1) VARCHAR2(1) NOT NULL 12/29/2005 dbe ICE 1379942000 - Added "U" Xlat.
0=Depletion
1=PO Receipt
2=Expr Ptway
3=IUTransfer
4=AP Matched
5=User Adj
6=Qty Adjs.
7=Bin to Bin
8=Prelim Cst
9=Prdn Compl
C=NegQty
R=Return
S=Split from
U=75 Upgrade
18 CM_UNIT_COST Signed Number(27,15) DECIMAL(25,15) NOT NULL 07/99 GMG CN800-9.0:
19 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
20 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
21 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
22 RECEIVED_QTY Number(16,4) DECIMAL(15,4) NOT NULL Qty Received
23 SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Bus Unit
24 STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area
25 SERIAL_ID Character(20) VARCHAR2(20) NOT NULL Serial ID
26 INV_LOT_ID Character(15) VARCHAR2(15) NOT NULL Lot ID
27 TRANSACTION_SOURCE Character(2) VARCHAR2(2) NOT NULL Transaction Source
28 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID