IN_SDWC_NDP1_VW

(SQL View)
Index Back

Demand not depleted

Record used by Query to populate EOEN context record.

SELECT %subrec(IN_DMD_NKEY_SBR, A) , %subrec(IN_SDWC_PRC_SBR, E) , A.IN_FULFILL_STATE , A.BUSINESS_UNIT %Concat '~' %Concat A.DEMAND_SOURCE %Concat '~' %Concat A.SOURCE_BUS_UNIT %Concat '~' %Concat A.ORDER_NO %Concat '~' %Concat %NumToChar(A.ORDER_INT_LINE_NO) %Concat '~' %Concat %NumToChar(A.SCHED_LINE_NBR) %Concat '~' %Concat %NumToChar(A.DEMAND_LINE_NO) FROM PS_IN_DEMAND A , PS_IN_SDWC_SCH_VW E WHERE A.IN_FULFILL_STATE IN ('60','50') AND A.IN_PROCESS_DATE IS NOT NULL AND A.BUSINESS_UNIT = E.BUSINESS_UNIT AND A.DEMAND_SOURCE = E.DEMAND_SOURCE AND A.SOURCE_BUS_UNIT = E.SOURCE_BUS_UNIT AND A.ORDER_NO = E.ORDER_NO AND A.ORDER_INT_LINE_NO = E.ORDER_INT_LINE_NO AND A.SCHED_LINE_NBR = E.SCHED_LINE_NBR

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BUIN_NONVW

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

Prompt Table: SP_BU_FS_NONVW

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 TOTAL_QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Total Quantity
10 QTY_SHIPPED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Shipped
11 EXTENDED_NET_PRICE Signed Number(29,4) DECIMAL(27,4) NOT NULL Ext Net Amount
12 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
13 IN_PROCESS_DATE Date(10) DATE Process Date
14 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
15 IN_SDWC_HASH_KEY Character(60) VARCHAR2(60) NOT NULL Hash