View to sum up Cost Components into sum by cost element

CM_MATCH_SEQ_VW

(SQL View)
Index Back

SELECT BUSINESS_UNIT_RECV , RECEIVER_ID , RECV_LN_NBR , RECV_SHIP_SEQ_NBR , DISTRIB_LINE_NUM , BUSINESS_UNIT_IN , CM_BOOK , MAX(CM_SEQ_RECEIPT) FROM PS_CM_MATCHED_BOOK WHERE POSTED_FLAG = 'N' AND EFF_STATUS = 'A' GROUP BY BUSINESS_UNIT_RECV , RECEIVER_ID , RECV_LN_NBR , RECV_SHIP_SEQ_NBR , DISTRIB_LINE_NUM , BUSINESS_UNIT_IN , CM_BOOK

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT_RECV Character(5) VARCHAR2(5) NOT NULL Receiving Business Unit
2 RECEIVER_ID Character(10) VARCHAR2(10) NOT NULL Receiver number
3 RECV_LN_NBR Number(5,0) INTEGER NOT NULL Receipt Line
4 RECV_SHIP_SEQ_NBR Number(3,0) SMALLINT NOT NULL Receiver Shipping Sequence
5 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line
6 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory Unit
7 CM_BOOK Character(10) VARCHAR2(10) NOT NULL Cost Book
8 CM_SEQ_RECEIPT Number(15,0) DECIMAL(15) NOT NULL Sequence Number