CE_SUBCON_VW

(SQL View)
Index Back

AP Matched Costs by Book


SELECT PROCESS_INSTANCE , BUSINESS_UNIT_RECV , RECEIVER_ID , RECV_LN_NBR , RECV_SHIP_SEQ_NBR , DISTRIB_LINE_NUM , MISC_CHARGE_CODE , CM_SEQ_COST , CM_BOOK , INV_ITEM_ID , COST_ELEMENT , SUM(CM_UNIT_COST_PO) , SUM(CM_UNIT_COST_POVO) , SUM(CM_UNIT_COST_VO) FROM PS_CE_SUBCON_TMP GROUP BY PROCESS_INSTANCE , BUSINESS_UNIT_RECV , RECEIVER_ID , RECV_LN_NBR , RECV_SHIP_SEQ_NBR , DISTRIB_LINE_NUM , MISC_CHARGE_CODE , CM_SEQ_COST , CM_BOOK , INV_ITEM_ID , COST_ELEMENT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
2 BUSINESS_UNIT_RECV Character(5) VARCHAR2(5) NOT NULL Receiving Business Unit
3 RECEIVER_ID Character(10) VARCHAR2(10) NOT NULL Receiver number
4 RECV_LN_NBR Number(5,0) INTEGER NOT NULL Receipt Line
5 RECV_SHIP_SEQ_NBR Number(3,0) SMALLINT NOT NULL Receiver Shipping Sequence
6 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line
7 MISC_CHARGE_CODE Character(10) VARCHAR2(10) NOT NULL 10/8/98 ebn CN#CM800-2.0 : Added for Landed Cost Enhancement
8 CM_SEQ_COST Number(15,0) DECIMAL(15) NOT NULL Cost Sequence Number. Incremented each time the actual cost is updated.
9 CM_BOOK Character(10) VARCHAR2(10) NOT NULL Cost Book
10 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
11 COST_ELEMENT Character(4) VARCHAR2(4) NOT NULL Cost Element
12 CM_UNIT_COST_PO Signed Number(32,15) DECIMAL(30,15) NOT NULL 07/99 GMG CN800-9.0:
13 CM_UNIT_COST_POVO Signed Number(32,15) DECIMAL(30,15) NOT NULL 07/99 GMG CN800-9.0:
14 CM_UNIT_COST_VO Signed Number(32,15) DECIMAL(30,15) NOT NULL 07/99 GMG CN800-9.0: