OM_SCHED_DI_VW(SQL View) |
Index Back |
---|---|
Order Schedule Demand ViewOrder Schedule Demand View Date Initials Issue Description 052704 twh F-KNANN-V59N4 Replace demand table references with IN_DEMAND |
SELECT SOURCE_BUS_UNIT , ORDER_NO , ORDER_INT_LINE_NO , SCHED_LINE_NBR , MAX(PARENT_PROD_ID ) , MAX(INV_ITEM_ID ) , SUM(QTY_REQUESTED) , SUM(QTY_ALLOCATED ) , SUM(QTY_BACKORDER ) , COUNT(*) , MIN(DEMAND_LINE_NO ) , MAX(DEMAND_LINE_NO ) , MAX(%DatePart(RESERVED_DTTM)) FROM PS_IN_DEMAND WHERE DEMAND_SOURCE = 'OM' AND IN_FULFILL_STATE IN ('30', '40') GROUP BY SOURCE_BUS_UNIT , ORDER_NO , ORDER_INT_LINE_NO , SCHED_LINE_NBR |
# | 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 | 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 | PARENT_PROD_ID | Character(18) | VARCHAR2(18) NOT NULL | Parent Product Id |
6 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: BU_ITM_INV_VW2 |
7 | QTY_REQUESTED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Requested |
8 | QTY_ALLOCATED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Allocated quantity |
9 | QTY_BACKORDER | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Backorder Qty |
10 | TOTAL_CNT | Number(4,0) | SMALLINT NOT NULL | Total Objects |
11 | DEMAND_LINE_NO_FR | Number(4,0) | SMALLINT NOT NULL | Demand line |
12 | DEMAND_LINE_NO_TO | Number(4,0) | SMALLINT NOT NULL | Demand line |
13 | RESERVED_DATE | Date(10) | DATE | Date on which a demand line was soft reserved. |