IN_SDWCHLD_OPRV

(SQL View)
Index Back

Demand on hold view

No security

SELECT %subrec(EOEN_LOG_KEY, P) , %subrec(IN_SDWC_CTX_SBR, P) , %subrec(IN_SDWC_HLD_SBR, P) , %subrec(IN_SDWC_DMD_SBR, I) , %subrec(IN_SDWC_PRC_SBR, P) , %DatePart(I.SCHED_DTTM) , P.IN_SDWC_HASH_KEY , I.QTY_REQUESTED - I.QTY_BACKORDER , I.QTY_REQUESTED_BASE - I.QTY_BACKORDER_BASE , H.ORDER_INT_LINE_NO , H.SCHED_LINE_NBR , D.EOEN_STATUS , 0 , S.OPRID FROM PS_IN_SDWC_HLD_CTX P , PS_EOEN_DASHBRD D , PS_IN_DEMAND I , PS_IN_SDWC_SCH2_VW V , PS_ORD_HOLD H , PS_SEC_BU_OPR S , PS_SEC_BU_OPR S1 WHERE %Join(COMMON_KEYS, IN_SDWC_HLD_CTX P, EOEN_DASHBRD D) AND D.EOEN_STATUS = '0' AND S.BUSINESS_UNIT = P.BUSINESS_UNIT AND S1.OPRID = S.OPRID AND S1.BUSINESS_UNIT = P.SOURCE_BUS_UNIT AND P.IN_PROCESS_DATE IS NOT NULL AND I.BUSINESS_UNIT = P.BUSINESS_UNIT AND I.DEMAND_SOURCE = P.DEMAND_SOURCE AND I.SOURCE_BUS_UNIT = P.SOURCE_BUS_UNIT AND I.ORDER_NO = P.ORDER_NO AND I.ORDER_INT_LINE_NO = P.ORDER_INT_LINE_NO AND I.SCHED_LINE_NBR = P.SCHED_LINE_NBR AND I.INV_ITEM_ID = P.INV_ITEM_ID AND I.DEMAND_LINE_NO = P.DEMAND_LINE_NO AND %Join(COMMON_KEYS, IN_SDWC_SCH_VW V, IN_DEMAND I) AND V.CUST_PICKUP = 'N' AND I.IN_FULFILL_STATE BETWEEN '10' AND '50' AND %DatePart(I.SCHED_DTTM) < %CurrentDateIn AND H.BUSINESS_UNIT = P.SOURCE_BUS_UNIT AND H.ORDER_NO = P.ORDER_NO AND H.HOLD_CD = P.HOLD_CD AND H.PROD_COMPONENT_ID = P.PROD_COMPONENT_ID AND H.EFF_STATUS = 'A' AND (( H.ORDER_INT_LINE_NO = 0 AND H.SCHED_LINE_NBR = 0) OR ( H.ORDER_INT_LINE_NO = P.ORDER_INT_LINE_NO AND H.SCHED_LINE_NBR = 0) OR ( H.ORDER_INT_LINE_NO = P.ORDER_INT_LINE_NO AND H.SCHED_LINE_NBR = P.SCHED_LINE_NBR))

# 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 EOEN_EMAIL_GROUP Number(10,0) DECIMAL(10) NOT NULL Email group id
5 EOEN_NOTIFY_TO Character(30) VARCHAR2(30) NOT NULL Notification receiver
6 EMAIL_ADDRESS Long Character CLOB Email Addresses
7 QRYNAME Character(30) VARCHAR2(30) NOT NULL Query Name
8 EOEN_LAST_DTTIME DateTime(26) TIMESTAMP Last Date Time
9 EOEN_EMAIL_SUBJECT Character(100) VARCHAR2(100) NOT NULL EOEN Email subject field
10 EOEC_UL_ID Character(30) VARCHAR2(30) NOT NULL Identifies the user list to be used when creating the approval process.
11 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_OM_NONVW

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

Prompt Table: SP_BU_FS_NONVW

14 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
15 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
16 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
17 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
18 DEMAND_LINE_NO Number(4,0) SMALLINT NOT NULL Demand Line No
19 SEQ_NUM Number(3,0) SMALLINT NOT NULL Sequence
20 HOLD_CD Character(6) VARCHAR2(6) NOT NULL Hold Code

Prompt Table: HOLD_CD

21 PROD_COMPONENT_ID Character(18) VARCHAR2(18) NOT NULL Product Component ID

Prompt Table: PROD_NOTKIT_VW

22 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID

Prompt Table: PROD_ITEM

23 PARENT_PROD_ID Character(18) VARCHAR2(18) NOT NULL Parent Product Id
24 CARRIER_ID Character(10) VARCHAR2(10) NOT NULL Carrier ID
25 SHIP_TYPE_ID Character(10) VARCHAR2(10) NOT NULL Ship Via Code
26 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer

Prompt Table: CUST_SHPINV_VW

27 SHIP_CUST_NAME1 Character(40) VARCHAR2(40) NOT NULL Ship To Name
28 SCHED_DTTM DateTime(26) TIMESTAMP 08/16/01 JNW (CN#PL900-1.0): Added
29 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
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 QTY_BACKORDER Signed Number(17,4) DECIMAL(15,4) NOT NULL Backorder Qty
33 QTY_BACKORDER_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Backorder Base Qty
34 QTY_PER Number(10,4) DECIMAL(9,4) NOT NULL Quantity
35 QTY_CODE Character(3) VARCHAR2(3) NOT NULL Per
ASY=Assembly
ORD=Order
36 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
37 PRIORITY_NBR Number(3,0) SMALLINT NOT NULL Priority
38 PEG_STATUS Character(2) VARCHAR2(2) NOT NULL 07/21/04 EGS: Created
10=Open
20=Completed
30=Canceled
40=Not Pegged
39 SUP_PEG_STATUS Character(2) VARCHAR2(2) NOT NULL 07/21/04 EGS: Created
10=Open
20=Completed
30=Canceled
40=Unpegged
40 SINGLE_SHIP_FLAG Character(1) VARCHAR2(1) NOT NULL Single Ship Flag
N=No
Y=Yes
41 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.
42 ROUTE_STOP_NBR Number(5,0) INTEGER NOT NULL An identifier used to sequence customer addresses/location for a given route.
43 LOAD_ID Character(10) VARCHAR2(10) NOT NULL Load ID
44 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number
45 TOTAL_QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Total Quantity
46 QTY_SHIPPED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Shipped
47 EXTENDED_NET_PRICE Signed Number(29,4) DECIMAL(27,4) NOT NULL Ext Net Amount
48 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
49 IN_PROCESS_DATE Date(10) DATE Process Date
50 SCHED_SHIP_DATE Date(10) DATE Scheduled Ship Date
51 IN_SDWC_HASH_KEY Character(60) VARCHAR2(60) NOT NULL Hash
52 QTY_ORDER Signed Number(17,4) DECIMAL(15,4) NOT NULL 06/21/04 EGS: Created
53 QTY_ORDER_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL 06/21/04 EGS: Created
54 HOLD_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
55 HOLD_SCHED_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
56 EOEN_STATUS Character(1) VARCHAR2(1) NOT NULL EOEN Status
0=Open
1=Closed
57 ROWNBR Number(7,0) INTEGER NOT NULL Row number
58 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).