ORD_PROMOADJ_VW(SQL View) |
Index Back |
---|---|
Ord Sch Promo Adj ViewOrd Sch Promo Adj View |
SELECT A.BUSINESS_UNIT , A.ORDER_NO , A.ORDER_INT_LINE_NO , A.SCHED_LINE_NBR , A.PRC_SCHED_NBR , A.PPRC_PROMO_CD , A.MERCH_TYPE , A.QTY_ORDERED , L.UNIT_OF_MEASURE , A.CURRENCY_CD , A.CURRENCY_CD_BASE , SUM(OM_AMOUNT) , SUM(OM_AMOUNT_BSE) FROM PS_ORD_PRICE_ADJST A , PS_ORD_LINE L WHERE A.BUSINESS_UNIT = L.BUSINESS_UNIT AND A.ORDER_NO = L.ORDER_NO AND A.ORDER_INT_LINE_NO = L.ORDER_INT_LINE_NO AND A.PPRC_PROMO_CD <> ' ' AND A.OM_AMOUNT <> 0 GROUP BY A.BUSINESS_UNIT , A.ORDER_NO , A.ORDER_INT_LINE_NO , A.SCHED_LINE_NBR , A.PRC_SCHED_NBR , A.PPRC_PROMO_CD , A.MERCH_TYPE , A.QTY_ORDERED , L.UNIT_OF_MEASURE , A.CURRENCY_CD , A.CURRENCY_CD_BASE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: BUS_UNIT_TBL_OM |
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 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
4 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
5 | PRC_SCHED_NBR | Number(6,0) | INTEGER NOT NULL | Pricing Schedule Number |
6 | PPRC_PROMO_CD | Character(20) | VARCHAR2(20) NOT NULL | Price Promotion Code |
7 | MERCH_TYPE | Character(10) | VARCHAR2(10) NOT NULL | Merchandising Type |
8 | QTY_ORDERED | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | Order Qty |
9 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
10 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
11 | CURRENCY_CD_BASE | Character(3) | VARCHAR2(3) NOT NULL | Business Unit Base Currency |
12 | OM_AMOUNT | Signed Number(19,4) | DECIMAL(17,4) NOT NULL | Amount |
13 | OM_AMOUNT_BSE | Signed Number(19,4) | DECIMAL(17,4) NOT NULL | Amount |