IN_SDA_DMD_VW(SQL View) |
Index Back |
---|---|
Sup/Dmd Dshbrd Dmd ViewOrder demand analytic view - non-sales orders only |
SELECT A.BUSINESS_UNIT , A.DEMAND_SOURCE , A.SOURCE_BUS_UNIT , A.ORDER_NO , A.ORDER_INT_LINE_NO , A.SCHED_LINE_NBR , A.INV_ITEM_ID , A.DEMAND_LINE_NO , %subrec(IN_SDA_DMD_SBR, A) , A.CONFIG_CODE , A.SCHED_DTTM , %DatePart(A.SCHED_DTTM) , A.QTY_REQUESTED - A.QTY_BACKORDER , A.QTY_REQUESTED_BASE - A.QTY_BACKORDER_BASE , A.UNIT_OF_MEASURE , A.QTY_REQUESTED_BASE - A.QTY_BACKORDER_BASE - A.QTY_SHIP_BASE , A.QTY_SHIPPED_CONV , A.QTY_SHIP_BASE , 0 , A.CURRENCY_CD , M.INV_ITEM_GROUP , M.INV_PROD_FAM_CD , M.UNIT_MEASURE_STD FROM PS_IN_DEMAND A , PS_MASTER_ITEM_TBL M , PS_SET_CNTRL_REC C WHERE A.IN_FULFILL_STATE BETWEEN '10' AND '60' AND A.IN_PROCESS_DATE IS NOT NULL AND A.DEMAND_SOURCE <> 'OM' AND M.SETID = C.SETID AND C.SETCNTRLVALUE = A.BUSINESS_UNIT AND C.RECNAME = 'MASTER_ITEM_TBL' AND M.INV_ITEM_ID = A.INV_ITEM_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | DEMAND_SOURCE | Character(2) | VARCHAR2(2) NOT NULL |
Demand Source
IN=Material Request OM=Sales Order PL=Planning Requisition PO=Purchase Order PR=Purchasing Requisition RT=Material Return SF=Production Request WM=Work Order |
3 | SOURCE_BUS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Source Bus Unit |
4 | 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 |
5 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
6 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
7 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
8 | DEMAND_LINE_NO | Number(4,0) | SMALLINT NOT NULL | Demand Line No |
9 | 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 |
10 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
11 | PARENT_PROD_ID | Character(18) | VARCHAR2(18) NOT NULL | Parent Product Id |
12 | PRIORITY_NBR | Number(3,0) | SMALLINT NOT NULL | Priority |
13 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
14 | SHIP_CUST_NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Ship To Name |
15 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations. |
16 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
17 | CARRIER_ID | Character(10) | VARCHAR2(10) NOT NULL | Carrier ID |
18 | SHIP_TYPE_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship Via Code |
19 | LOAD_ID | Character(10) | VARCHAR2(10) NOT NULL | Load ID |
20 | ROUTE_CD | Character(6) | VARCHAR2(6) NOT NULL | A unique identifier assigned to a delivery route. Route codes can be associated with customer addresses for external orders or locations for internal orders. Route codes can be used to identify the appropriate delivery schedule for a customer/location if you are managing product shipments with your own vehicles. |
21 | ROUTE_STOP_NBR | Number(5,0) | INTEGER NOT NULL | An identifier used to sequence customer addresses/location for a given route. |
22 | INTERUNIT_FLG | Character(1) | VARCHAR2(1) NOT NULL |
InterUnit
N=No Y=Yes |
23 | DESTIN_BU | Character(5) | VARCHAR2(5) NOT NULL | Destination Unit |
24 | SINGLE_SHIP_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Single Ship Flag
N=No Y=Yes |
25 | PEG_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
07/21/04 EGS: Created
10=Open 20=Completed 30=Canceled 40=Not Pegged |
26 | SUP_PEG_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
07/21/04 EGS: Created
10=Open 20=Completed 30=Canceled 40=Unpegged |
27 | CONFIG_CODE | Character(50) | VARCHAR2(50) NOT NULL | Product Configurator |
28 | SCHED_DTTM | DateTime(26) | TIMESTAMP | 08/16/01 JNW (CN#PL900-1.0): Added |
29 | SCHED_SHIP_DATE | Date(10) | DATE | Scheduled Ship Date |
30 | QTY_REQUESTED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Requested |
31 | QTY_REQUESTED_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Requested Base |
32 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
33 | TOTAL_QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Total Quantity |
34 | QTY_SHIPPED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Shipped |
35 | QTY_SHIP_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Ship Base |
36 | EXTENDED_NET_PRICE | Signed Number(29,4) | DECIMAL(27,4) NOT NULL | Ext Net Amount |
37 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
38 | INV_ITEM_GROUP1 | Character(15) | VARCHAR2(15) NOT NULL | Item Group |
39 | INV_PROD_FAM_CD1 | Character(10) | VARCHAR2(10) NOT NULL | Item Family |
40 | UNIT_MEASURE_STD | Character(3) | VARCHAR2(3) NOT NULL | Standard Unit of Measure |