CM_CST_COND_VW

(SQL View)
Index Back

Costed Inv Adj Deplete View

07/21/99 gmg CN#CM800-9.0 CM_DEPLETE_COST version of contingency adjustment transaction. 05/05/00 tw CN#CM800-9.0 Join with CM_TRANS_ADJ instead of TRANSACTION_INV. 06/03 MXS B2765/Res120233/Inc608716000 Removed joins to transaction_inv

SELECT B.BUSINESS_UNIT , B.INV_ITEM_ID , B.CM_BOOK , B.DT_TIMESTAMP , B.SEQ_NBR , B.CM_DT_TIMESTAMP , B.CM_SEQ_NBR , B.CM_DT_TIMESTAMP_A , B.CM_SEQ_NBR_A , B.COST_ELEMENT , B.CM_SEQ_COST , B.QTY_BASE , B.CM_UNIT_COST , A.TRANSACTION_DATE , A.STORAGE_AREA , A.INV_LOT_ID , A.SERIAL_ID , B.UNIT_MEASURE_STD , B.CONSIGNED_FLAG , B.POSTED_FLAG , B.PROCESS_INSTANCE ,' ' , B.TRANSACTION_GROUP , G.BUSINESS_UNIT_GL , G.BASE_CURRENCY , G.BASE_CURRENCY , G.APPL_JRNL_ID , %DatePart(B.DT_TIMESTAMP) FROM PS_CM_TRANS_ADJ A , PS_CM_DEPLETE_COST B , PS_BUS_UNIT_TBL_IN G WHERE %Join(COMMON_KEYS, CM_TRANS_ADJ A, CM_DEPLETE_COST B) AND %Join(COMMON_KEYS, CM_TRANS_ADJ A, BUS_UNIT_TBL_IN G) AND B.POSTED_FLAG = 'N' AND B.TRANSACTION_GROUP = '000' AND B.CM_COST_MODE = 'L'

# 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 CM_BOOK Character(10) VARCHAR2(10) NOT NULL Cost Book
4 DT_TIMESTAMP DateTime(26) TIMESTAMP NOT NULL Date Timestamp
5 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
6 CM_DT_TIMESTAMP DateTime(26) TIMESTAMP NOT NULL Receipt dttm.
7 CM_SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
8 CM_DT_TIMESTAMP_A DateTime(26) TIMESTAMP NOT NULL 07/99 GMG CN800-9.0: Original putaway dttm when bin-to-bin'd.
9 CM_SEQ_NBR_A Number(15,0) DECIMAL(15) NOT NULL 07/99 GMG CN800-9.0:
10 COST_ELEMENT Character(4) VARCHAR2(4) NOT NULL Cost Element
11 CM_SEQ_COST Number(15,0) DECIMAL(15) NOT NULL Cost Sequence Number. Incremented each time the actual cost is updated.
12 QTY_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Base Quantity
13 CE_EXTENDED_COST Signed Number(32,15) DECIMAL(30,15) NOT NULL Extended Cost
14 TRANSACTION_DATE Date(10) DATE Transaction Date
15 STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area
16 INV_LOT_ID Character(15) VARCHAR2(15) NOT NULL Lot ID
17 SERIAL_ID Character(20) VARCHAR2(20) NOT NULL Serial ID
18 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure
19 CONSIGNED_FLAG Character(1) VARCHAR2(1) NOT NULL Consigned Flag
20 POSTED_FLAG Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether or not a Receivables item has been posted. This field is automatically updated by the Receivables Update program.
N=Not Posted
X=Don't Post
Y=Posted
21 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
22 DISTRIB_TYPE Character(10) VARCHAR2(10) NOT NULL Distrib. Type
23 TRANSACTION_GROUP Character(3) VARCHAR2(3) NOT NULL 11/7/02 LLR - Added the new (600's) transactions groups for 8.8.
24 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
25 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
26 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
27 APPL_JRNL_ID Character(10) VARCHAR2(10) NOT NULL Journal Template
28 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple