IN_SDWCMG1_NONV

(SQL View)
Index Back

MFG Pending Qty view

Production Shortages - Real-time

SELECT 'IN_SDWC_MFG_PENDING' , 'SUP_DMD_ALERTS' , 0 , %subrec(SF_CMP_NKEY_SBR, H) , I.PROD_STATUS , H.PEND_CONSUME_QTY , H.PEND_LOSS_QTY , I.BUSINESS_UNIT %Concat '~' %Concat I.PRODUCTION_ID %Concat '~' %Concat H.COMPONENT_ID %Concat '~' %Concat %NumToChar(H.OP_SEQUENCE) %Concat '~' %Concat H.MG_ORIG_COMP_ID , H.CURR_SCHED_QTY , H.ISSUE_QTY , H.YIELD_QTY , H.ISSUE_METHOD , I.MA_PRDN_ID_FLG , I.PRDN_AREA_CODE , I.INV_ITEM_ID , I.PRDN_DUE_DATE , I.PRDN_DUE_SHIFT , I.BOM_CODE , I.RTG_CODE , I.REVISION , 0 , ' ' , '0' , 0 FROM PS_SF_COMP_LIST H , PS_SF_PRDNID_HEADR I WHERE H.BUSINESS_UNIT = I.BUSINESS_UNIT AND H.PRODUCTION_ID = I.PRODUCTION_ID AND (H.PEND_CONSUME_QTY <> 0 OR H.PEND_LOSS_QTY <> 0)

# 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 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
5 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
6 COMPONENT_ID Character(18) VARCHAR2(18) NOT NULL 04/10/00 (Internet Architecture) SCC: Uppercase label Id.
7 OP_SEQUENCE Number(4,0) SMALLINT NOT NULL Operation Sequence
8 MG_ORIG_COMP_ID Character(18) VARCHAR2(18) NOT NULL original component ID
9 QTY_CODE Character(3) VARCHAR2(3) NOT NULL Per
ASY=Assembly
ORD=Order
10 PROD_STATUS Character(2) VARCHAR2(2) NOT NULL Production Status
10=Entered
15=Firmed
20=Released
30=In Process
40=Pend Cmpl
50=Completed
60=Clsd/Labor
70=Clsd/Acctg
90=Canceled
11 PEND_CONSUME_QTY Signed Number(13,4) DECIMAL(11,4) NOT NULL 10/12/99 SCC CN#SF800-9.0: Added label id TO_PEND_CONSUME
12 PEND_LOSS_QTY Signed Number(13,4) DECIMAL(11,4) NOT NULL 10/12/99 SCC CN#SF800-9.0: Added label id TO_PEND_LOSS
13 IN_SDWC_HASH_KEY Character(60) VARCHAR2(60) NOT NULL Hash
14 CURR_SCHED_QTY Number(12,4) DECIMAL(11,4) NOT NULL 07/28/99 SCC CN#SF800-9.0: Added label id TO_CURR_SCHED
15 ISSUE_QTY Number(12,4) DECIMAL(11,4) NOT NULL 07/28/99 SCC CN#SF800-9.0: Added label id TO_ISSUE_QTY
16 YIELD_QTY Number(12,4) DECIMAL(11,4) NOT NULL 10/12/99 SCC CN#SF800-9.0: Added label id TO_YIELD_QTY
17 ISSUE_METHOD Character(4) VARCHAR2(4) NOT NULL Component Issue Method
COM=Use Comp.
ISS=Issue
KIT=Kit
REPL=Replenish
18 MA_PRDN_ID_FLG Character(1) VARCHAR2(1) NOT NULL 10/18/99 SCC CN#IC800: Add label MAINTAIN_PID
N=No
Y=Yes
19 PRDN_AREA_CODE Character(10) VARCHAR2(10) NOT NULL Production Area
20 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
21 PRDN_DUE_DATE Date(10) DATE Prdn Due Date
22 PRDN_DUE_SHIFT Signed Number(2,0) DECIMAL(1) NOT NULL Prdn Due Shift
23 BOM_CODE Number(2,0) SMALLINT NOT NULL CN# EN800-3.0, anna 09/21 added new field to database
24 RTG_CODE Number(2,0) SMALLINT NOT NULL Routing Code
25 REVISION Character(4) VARCHAR2(4) NOT NULL 01/27/2000 RML Added "As of" label
26 QTY_REQUESTED_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Requested Base
27 PRDN_AREA_PB Character(1) VARCHAR2(1) NOT NULL Production Area
28 EOEN_STATUS Character(1) VARCHAR2(1) NOT NULL EOEN Status
0=Open
1=Closed
29 ROWNBR Number(7,0) INTEGER NOT NULL Row number