IN_SDWCND1_CLSV

(SQL View)
Index Back

EOEN context record

EOEN context record

SELECT 'IN_SDWC_NOT_DEPLETED' , 'SUP_DMD_ALERTS' , 0 , I.BUSINESS_UNIT %Concat '~' %Concat I.DEMAND_SOURCE %Concat '~' %Concat I.SOURCE_BUS_UNIT %Concat '~' %Concat I.ORDER_NO %Concat '~' %Concat %NumToChar(I.ORDER_INT_LINE_NO) %Concat '~' %Concat %NumToChar(I.SCHED_LINE_NBR) %Concat '~' %Concat %NumToChar(I.DEMAND_LINE_NO) , %subrec(IN_DMD_NKEY_SBR, I) , %subrec(IN_SDWC_PRC_SBR, V) , I.IN_FULFILL_STATE , %DatePart(I.SCHED_DTTM) , %DatePart(I.SHIP_DTTM) , I.PRODUCT_ID , I.PARENT_PROD_ID , I.QTY_REQUESTED - I.QTY_BACKORDER , I.QTY_REQUESTED_BASE - I.QTY_BACKORDER_BASE , '0' , 0 , S.OPRCLASS FROM PS_IN_DEMAND I , PS_IN_SDWC_SCH_VW V , PS_SEC_BU_CLS S , PS_SEC_BU_CLS S1 WHERE %Join(COMMON_KEYS, IN_SDWC_SCH_VW V, IN_DEMAND I) AND S.BUSINESS_UNIT = I.BUSINESS_UNIT AND S1.OPRCLASS = S.OPRCLASS AND S1.BUSINESS_UNIT = I.SOURCE_BUS_UNIT AND I.IN_PROCESS_DATE IS NOT NULL AND I.IN_FULFILL_STATE IN ('50','60')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EOEN_PRCS_NAME Character(30) VARCHAR2(30) NOT NULL EOEN Process Name
2 EOEN_CATEGORY Character(30) VARCHAR2(30) NOT NULL EOEN Category
3 SEQ_NBR_EOEN Number(15,0) DECIMAL(15) NOT NULL EOEN Sequence Nbr
4 IN_SDWC_HASH_KEY Character(60) VARCHAR2(60) NOT NULL Hash
5 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BUIN_NONVW

6 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
7 SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Bus Unit

Prompt Table: SP_BU_FS_NONVW

8 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
9 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
10 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
11 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
12 DEMAND_LINE_NO Number(4,0) SMALLINT NOT NULL Demand Line No
13 TOTAL_QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Total Quantity
14 QTY_SHIPPED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Shipped
15 EXTENDED_NET_PRICE Signed Number(29,4) DECIMAL(27,4) NOT NULL Ext Net Amount
16 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
17 IN_PROCESS_DATE Date(10) DATE Process Date
18 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
19 SCHED_SHIP_DATE Date(10) DATE Scheduled Ship Date
20 SHIP_DATE Date(10) DATE Item Shipping Date
21 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
22 PARENT_PROD_ID Character(18) VARCHAR2(18) NOT NULL Parent Product Id
23 QTY_ORDER Signed Number(17,4) DECIMAL(15,4) NOT NULL 06/21/04 EGS: Created
24 QTY_ORDER_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL 06/21/04 EGS: Created
25 EOEN_STATUS Character(1) VARCHAR2(1) NOT NULL EOEN Status
0=Open
1=Closed
26 ROWNBR Number(7,0) INTEGER NOT NULL Row number
27 OPRCLASS Character(30) VARCHAR2(30) NOT NULL Operator Class