OM_DMD_PCFG_VW(SQL View) |
Index Back |
---|---|
Count of fulfillment states |
SELECT D.DEMAND_SOURCE , D.SOURCE_BUS_UNIT , D.ORDER_NO , D.ORDER_INT_LINE_NO , D.SCHED_LINE_NBR , D.PRODUCT_ID , C.FIELDNAME , D.BUSINESS_UNIT , C.OPRID , MIN(C.OM_CHANGE_STATE) , MAX(C.IN_CHANGE_STATE) , MIN(C.OM_ALLOW_CHG) , MAX(D.IN_FULFILL_STATE) , 'Y' , MAX(D.PREF_CARRIER_FLAG) , MAX(D.QTY_PACK_BASE) FROM PS_IN_DEMAND D , PS_IN_DMD_CHANGE C WHERE D.IN_FULFILL_STATE < '90' AND C.BUSINESS_UNIT = D.BUSINESS_UNIT GROUP BY D.DEMAND_SOURCE, D.SOURCE_BUS_UNIT, D.ORDER_NO, D.ORDER_INT_LINE_NO, D.SCHED_LINE_NBR, D.PRODUCT_ID, C.FIELDNAME, D.BUSINESS_UNIT, C.OPRID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | 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 |
2 | SOURCE_BUS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Source Bus 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 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
5 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
6 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
7 | FIELDNAME | Character(18) | VARCHAR2(18) NOT NULL | Field Name (see PSDBFIELD). |
8 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
9 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
10 | OM_CHANGE_STATE | Character(2) | VARCHAR2(2) NOT NULL | Allow OM Changes Thru |
11 | IN_CHANGE_STATE | Character(2) | VARCHAR2(2) NOT NULL | Allow INV Changes Thru |
12 | OM_ALLOW_CHG | Character(1) | VARCHAR2(1) NOT NULL | Allow OM Update Past OM State |
13 | 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 |
14 | RULE_FLAG | Character(1) | VARCHAR2(1) NOT NULL | Rule Flag |
15 | PREF_CARRIER_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Preferred Carrier flag
N=No Preferred Carrier Y=Preferred Carrier |
16 | QTY_PACK_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Base Quantity Packed |