DP_DDH_OM_VW(SQL View) |
Index Back |
---|---|
Extract order data for DDHSelect messaging data from OM (order) tables Date Initials Reference # Description 08/08/07 TH ICE 1657216000 Modified the Builder process to improve performance - Modified View Date Initials Reference # Description 12/01/09 TH ICE 1931263000 Changed to correct OM BU loaded into Demand History - Modified View |
SELECT A.SOURCE_BUS_UNIT , A.PRIORITY_SHIP_FROM , A.ORDER_NO , A.CURRENCY_CD , A.SHIP_TO_CUST_ID , A.QTY_REQUESTED , A.QTY_REQUESTED_BASE , A.QTY_BACKORDER , A.QTY_BACKORDER_BASE , A.ORDER_INT_LINE_NO , A.SCHED_LINE_NBR , A.DEMAND_LINE_NO , A.UNIT_MEASURE_SHIP , A.UNIT_OF_MEASURE , A.NET_UNIT_PRICE , A.PRODUCT_ID , A.PARENT_PROD_ID , A.REQUEST_DATE , A.CURRENCY_CD , A.CONFIG_CODE , A.CUST_ID , IB.SOURCE_CODE , A.BUSINESS_UNIT_BI , A.PRIORITY_SHIP_FROM , F.INV_ITEM_ID , F.PRODUCT_KIT_FLAG , IM.DIST_CFG_FLAG , IM.PRDN_CFG_FLAG , A.DP_KIT_PARENT_QTY , A.DP_KIT_PARENT_UOM , A.DT_TIMESTAMP , A.DT_TIMESTAMP , A.DT_TIMESTAMP , A.DATE_LAST_MAINT , S.SETID , IB.FORECAST_ITEM_FLAG , IB.FORECASTER , A.IN_FULFILL_STATE , F.DESCR FROM PS_IN_DEMAND A , PS_SET_CNTRL_REC S , PS_PROD_ITEM F , PS_MASTER_ITEM_TBL IM , PS_BU_ITEMS_INV IB WHERE S.SETCNTRLVALUE = A.BUSINESS_UNIT AND S.RECNAME = 'PROD_ITEM' AND F.SETID = S.SETID AND F.PRODUCT_ID = A.PRODUCT_ID AND IM.SETID = S.SETID AND IM.INV_ITEM_ID = F.INV_ITEM_ID AND IB.BUSINESS_UNIT = A.PRIORITY_SHIP_FROM AND IB.INV_ITEM_ID = F.INV_ITEM_ID AND (IB.FORECAST_ITEM_FLAG = 'Y' OR F.FORECAST_ITEM_FLAG = 'Y') AND A.IN_FULFILL_STATE IN ('20','30','40','50', '90') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PRIORITY_SHIP_FROM | Character(5) | VARCHAR2(5) NOT NULL | PRIORITY SHIP FROM 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 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
5 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
6 | QTY_REQUESTED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Requested |
7 | QTY_REQUESTED_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Requested Base |
8 | QTY_BACKORDER | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Backorder Qty |
9 | QTY_BACKORDER_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Backorder Base Qty |
10 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
11 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
12 | DEMAND_LINE_NO | Number(4,0) | SMALLINT NOT NULL | Demand Line No |
13 | UNIT_MEASURE_SHIP | Character(3) | VARCHAR2(3) NOT NULL | Shipment Unit of Measure |
14 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
15 | NET_UNIT_PRICE | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | Net Unit Price |
16 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
17 | PARENT_PROD_ID | Character(18) | VARCHAR2(18) NOT NULL | Parent Product Id |
18 | REQUEST_DATE | Date(10) | DATE | Requested |
19 | CURRENCY_CD_BASE | Character(3) | VARCHAR2(3) NOT NULL | Business Unit Base Currency |
20 | CONFIG_CODE | Character(50) | VARCHAR2(50) NOT NULL | Product Configurator |
21 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Sold To Customer |
22 | SOURCE_CODE | Character(2) | VARCHAR2(2) NOT NULL |
8/5/97 lee - inactivated source code 4 - service
1=Make 2=Buy 3=Expense 4=Service 5=Floor Stock 6=Planning |
23 | BUSINESS_UNIT_BI | Character(5) | VARCHAR2(5) NOT NULL | Billing Business Unit |
24 | BUSINESS_UNIT_IN | Character(5) | VARCHAR2(5) NOT NULL | Inventory Unit |
25 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
26 | PRODUCT_KIT_FLAG | Character(1) | VARCHAR2(1) NOT NULL | Product Kit |
27 | DIST_CFG_FLAG | Character(1) | VARCHAR2(1) NOT NULL | Distribution Configuration |
28 | PRDN_CFG_FLAG | Character(1) | VARCHAR2(1) NOT NULL | Production Configuration |
29 | DP_KIT_PARENT_QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Demand Planning Kit Parent Qty |
30 | DP_KIT_PARENT_UOM | Character(3) | VARCHAR2(3) NOT NULL | DP Kit Parent Unit of Measure |
31 | DP_UPDDTTM_1 | DateTime(26) | TIMESTAMP | date/time of last update to level 1 record used by messaging system to select records changed in the FDM system |
32 | DP_UPDDTTM_0 | DateTime(26) | TIMESTAMP | date/time of last update to level 0 record used by messaging system to select records changed in the FDM system |
33 | DP_UPDDTTM_2 | DateTime(26) | TIMESTAMP | date/time of last update to level 2 record used by messaging system to select records changed in the FDM system |
34 | DATE_LAST_MAINT | Date(10) | DATE | Date Last Maintained |
35 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
36 | FORECAST_ITEM_FLAG | Character(1) | VARCHAR2(1) NOT NULL | Demand Planning Item |
37 | FORECASTER | Character(20) | VARCHAR2(20) NOT NULL | Forecaster |
38 | IN_FULFILL_STATE | Character(2) | VARCHAR2(2) NOT NULL |
Inventory Fulfillment State
10=Pending 20=Unfulfilled 30=Releasable 40=Released 50=Confirmed 60=Shipped 70=Depleted 90=Canceled |
39 | PRDITM_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |