ORDENT_UOMQTYVW(SQL View) |
Index Back |
---|---|
Product Unit of MeasureThis is a view on Product attributes by Unit of Measure. |
SELECT u.setid , l.business_unit , l.order_no , l.product_id , l.unit_of_measure , u.dflt_uom , u.pricing_uom_flg , u.min_order_qty , u.max_order_qty , u.order_increment , u.prod_price_flg , SUM(l.qty_ordered) , %Round(SUM(%DecMult(l.qty_ordered, l.list_price_base)), 4) , %Round(SUM(%DecMult(l.qty_ordered, l.price_base)), 4) , 0 FROM PS_PROD_UOM u , ps_ord_line l WHERE u.product_id = l.product_id AND u.unit_of_measure = l.unit_of_measure AND l.ord_line_status <> 'X' GROUP BY u.setid, l.business_unit, l.order_no, l.product_id, l.unit_of_measure, u.dflt_uom, u.pricing_uom_flg,u.min_order_qty, u.max_order_qty, u.order_increment, u.prod_price_flg |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | 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 |
4 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
5 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
6 | DFLT_UOM | Character(1) | VARCHAR2(1) NOT NULL |
Vendor Default UOM
Y/N Table Edit |
7 | PRICING_UOM_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Pricing UOM Flag
0=No 1=Yes 2=Default |
8 | MIN_ORDER_QTY | Number(15,4) | DECIMAL(14,4) NOT NULL | Minimum Order Quantity |
9 | MAX_ORDER_QTY | Number(15,4) | DECIMAL(14,4) NOT NULL | Maximum Order Quantity |
10 | ORDER_INCREMENT | Number(15,4) | DECIMAL(14,4) NOT NULL | Order Increment |
11 | PROD_PRICE_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Pricing Option
0=Regular 1=KVI 2=NDP |
12 | TOT_QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL |
Total Quantity
Default Value: 0 |
13 | TOT_LIST | Signed Number(29,4) | DECIMAL(27,4) NOT NULL |
Total List Price
Default Value: 0 |
14 | TOT_NET | Signed Number(29,4) | DECIMAL(27,4) NOT NULL |
Total Net Price
Default Value: 0 |
15 | QTY_MIN_MAX_EXCEED | Signed Number(2,0) | DECIMAL(1) NOT NULL |
Min/Max Quantity Exceeded
Default Value: 0 |