IN_SDA_IUTS_VW(SQL View) |
Index Back |
---|---|
Sup/Dmd Dshbrd IUT Supply ViewDESTIN_BU is mapped to the BUSINESS_UNIT field. BUSINESS_UNIT is mapped to the SOURCE_BUS_UNIT field. |
SELECT A.DESTIN_BU , A.DEMAND_SOURCE , A.BUSINESS_UNIT , A.ORDER_NO , A.ORDER_INT_LINE_NO , A.SCHED_LINE_NBR , A.INV_ITEM_ID , A.DEMAND_LINE_NO , A.CONFIG_CODE , A.PRIORITY_NBR , A.PRODUCT_ID , A.PARENT_PROD_ID , A.SHIP_TO_CUST_ID , A.SHIP_CUST_NAME1 , A.LOCATION , %DatePart(A.SCHED_DTTM) , A.IN_FULFILL_STATE , A.CARRIER_ID , A.SHIP_TYPE_ID , 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 , A.INTERUNIT_FLG , A.DESTIN_BU , 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.INTERUNIT_FLG = 'Y' AND ((A.IN_FULFILL_STATE <= '60' AND A.IN_PROCESS_DATE IS NOT NULL) OR A.IN_FULFILL_STATE = '70') AND A.QTY_REQUESTED_BASE - A.QTY_BACKORDER_BASE > 0 AND A.INTERUNIT_STAT <> 'C' AND A.INTERUNIT_STAT <> 'R' AND (A.INTERUNIT_STAT <> 'I' OR NOT EXISTS( SELECT 'X' FROM PS_INV_RECV_LN R WHERE R.INTERUNIT_ID = A.INTERUNIT_ID AND R.INTERUNIT_LINE = A.INTERUNIT_LINE AND R.BUSINESS_UNIT_IN = A.DESTIN_BU AND R.SOURCE_BUS_UNIT = A.BUSINESS_UNIT AND R.INV_ITEM_ID = A.INV_ITEM_ID)) 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 | CONFIG_CODE | Character(50) | VARCHAR2(50) NOT NULL | Product Configurator |
10 | PRIORITY_NBR | Number(3,0) | SMALLINT NOT NULL | Priority |
11 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
12 | PARENT_PROD_ID | Character(18) | VARCHAR2(18) NOT NULL | Parent Product Id |
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 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
16 | SCHED_SHIP_DATE | Date(10) | DATE | Scheduled Ship Date |
17 | 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 |
18 | CARRIER_ID | Character(10) | VARCHAR2(10) NOT NULL | Carrier ID |
19 | SHIP_TYPE_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship Via Code |
20 | QTY_REQUESTED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Requested |
21 | QTY_REQUESTED_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Requested Base |
22 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
23 | TOTAL_QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Total Quantity |
24 | QTY_SHIPPED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Shipped |
25 | QTY_SHIP_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Ship Base |
26 | EXTENDED_NET_PRICE | Signed Number(29,4) | DECIMAL(27,4) NOT NULL | Ext Net Amount |
27 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
28 | INTERUNIT_FLG | Character(1) | VARCHAR2(1) NOT NULL |
InterUnit
N=No Y=Yes |
29 | DESTIN_BU | Character(5) | VARCHAR2(5) NOT NULL | Destination Unit |
30 | INV_ITEM_GROUP1 | Character(15) | VARCHAR2(15) NOT NULL | Item Group |
31 | INV_PROD_FAM_CD1 | Character(10) | VARCHAR2(10) NOT NULL | Item Family |
32 | UNIT_MEASURE_STD | Character(3) | VARCHAR2(3) NOT NULL | Standard Unit of Measure |