CM_CST_CADJR_VW

(SQL View)
Index Back

Costed Avg Cst Receipt Adj Vw

07/21/99 ebn CN#CM800-9.0 CM_RECEIPT_COST version of CM_CST_CADJ_VW. 10/04 Bundle:5074 Res:581770 ICE:737008000 01/05 8.9 / Ice 721031000: enable DISTRIB_TYPE on Value Adj

SELECT B.BUSINESS_UNIT , B.INV_ITEM_ID , B.CM_BOOK , B.DT_TIMESTAMP , B.SEQ_NBR , B.CM_DT_TIMESTAMP_A , B.CM_SEQ_NBR_A , B.COST_ELEMENT , B.CM_SEQ_COST , B.CM_SEQ_COST , B.QTY_BASE , %Round(-B.CM_UNIT_COST,15) , B.UNIT_MEASURE_STD , B.STORAGE_AREA , B.TRANSACTION_GROUP , B.POSTED_FLAG , B.PROCESS_INSTANCE , B.PROCESS_FLAG , H.DISTRIB_TYPE , G.BUSINESS_UNIT_GL , G.BASE_CURRENCY , G.BASE_CURRENCY , G.APPL_JRNL_ID , %DatePart(A.CM_DTTM_IN_EFFECT) , A.CM_DTTM_IN_EFFECT , B.INV_LOT_ID , B.SERIAL_ID , B.PRODUCTION_ID , B.OP_SEQUENCE ,B.CONFIG_CODE FROM PS_CM_RECEIPT_COST B , PS_CM_ACTUAL_COSTB A , PS_BUS_UNIT_TBL_IN G , PS_CM_USER_CST_ADJ H WHERE %Join(COMMON_KEYS, CM_RECEIPT_COST B, BUS_UNIT_TBL_IN G) AND %Join(COMMON_KEYS, CM_RECEIPT_COST B, CM_ACTUAL_COSTB A) AND %Join(COMMON_KEYS, CM_RECEIPT_COST B, CM_USER_CST_ADJ H) AND H.CM_ADJ_TYPE = '2' AND H.EFF_STATUS = 'A' AND B.POSTED_FLAG = 'N' AND B.TRANSACTION_GROUP = '206' 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_A DateTime(26) TIMESTAMP NOT NULL 07/99 GMG CN800-9.0: Original putaway dttm when bin-to-bin'd.
7 CM_SEQ_NBR_A Number(15,0) DECIMAL(15) NOT NULL 07/99 GMG CN800-9.0:
8 COST_ELEMENT Character(4) VARCHAR2(4) NOT NULL Cost Element
9 CM_SEQ_COST Number(15,0) DECIMAL(15) NOT NULL Cost Sequence Number. Incremented each time the actual cost is updated.
10 CM_SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
11 QTY_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Base Quantity
12 CE_EXTENDED_COST Signed Number(32,15) DECIMAL(30,15) NOT NULL Extended Cost
13 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure
14 STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area
15 TRANSACTION_GROUP Character(3) VARCHAR2(3) NOT NULL 11/7/02 LLR - Added the new (600's) transactions groups for 8.8.
16 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
17 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
18 PROCESS_FLAG Character(1) VARCHAR2(1) NOT NULL Process Flag
A=Purge All
S=Only purge items with at least
19 DISTRIB_TYPE Character(10) VARCHAR2(10) NOT NULL Distrib. Type
20 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
21 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
22 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
23 APPL_JRNL_ID Character(10) VARCHAR2(10) NOT NULL Journal Template
24 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
25 DTTM_ADJUSTED DateTime(26) TIMESTAMP Date and Time Adjusted
26 INV_LOT_ID Character(15) VARCHAR2(15) NOT NULL Lot ID
27 SERIAL_ID Character(20) VARCHAR2(20) NOT NULL Serial ID
28 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
29 OP_SEQUENCE Number(4,0) SMALLINT NOT NULL Operation Sequence
30 CONFIG_CODE Character(50) VARCHAR2(50) NOT NULL Product Configurator