SRBT_ORDTOTC_VW(SQL View) |
Index Back |
---|---|
OMSRBT temp tableThis is a working temporary table for SQR OMSRBT. Is contains customer info for each rebate calculation. |
SELECT business_unit , sold_to_cust_id , srbt_id , end_date , process_instance , SUM(net_extended_bse) , SUM(qty_scheduled) FROM PS_SRBT_ORDERC_TMP GROUP BY business_unit , sold_to_cust_id , srbt_id , end_date ,PROCESS_INSTANCE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Sold To Customer |
3 | SRBT_ID | Character(6) | VARCHAR2(6) NOT NULL | Sales Rebate ID |
4 | END_DATE | Date(10) | DATE | End Date |
5 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
6 | NET_EXTENDED_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Net Extended Amount |
7 | QTY_SCHEDULED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity Scheduled |