ORD_TOT_SCN_VW

(SQL View)
Index Back

Order Totals by cntrct/prod id


select business_unit, order_no, product_id, unit_of_measure, cntrct_id, cntrct_line_nbr, sum(qty_ordered), sum(extended_list_prc), sum(extended_net_price), sum(ext_list_prc_base), sum(ext_net_prc_base) from PS_ORD_TOT_LN_VW group by business_unit, order_no, cntrct_id, cntrct_line_nbr,product_id,unit_of_measure

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 ORDER_NO Character(10) VARCHAR2(10) NOT NULL Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
3 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
4 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
5 CNTRCT_ID Character(25) VARCHAR2(25) NOT NULL Buying Agreement ID
6 CNTRCT_LINE_NBR Number(5,0) INTEGER NOT NULL Buying Agreement Line Nbr
7 TOTAL_QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Total Quantity
8 EXTENDED_LIST_PRC Signed Number(29,4) DECIMAL(27,4) NOT NULL Ext List Price
9 EXTENDED_NET_PRICE Signed Number(29,4) DECIMAL(27,4) NOT NULL Ext Net Amount
10 EXT_LIST_PRC_BASE Signed Number(29,4) DECIMAL(27,4) NOT NULL Extended List Price (base)
11 EXT_NET_PRC_BASE Signed Number(29,4) DECIMAL(27,4) NOT NULL Extended Net Price (base)