SF_COMPWUSE2_VW

(SQL View)
Index Back

Comp Where Used in Prdn-Result

CN#SF800-20.0 MACN 02/23/99 - view for the grid 10/31/02 MDS CN#MG880-YBO: Added new field expected_prdn_qty so that it can be correctly diplayed on the item substitutes subpage.

SELECT a.business_unit , a.production_id , a.op_sequence , a.component_id , b.inv_item_id , b.ma_prdn_id_flg , b.prdn_due_date , b.prdn_due_shift , b.prdn_area_code , b.new_uom , b.prod_status , b.production_type , b.new_prdn_qty , a.curr_sched_qty , a.issue_qty , a.yield_qty , b.prdn_start_date , b.bom_code , a.mg_orig_comp_id , a.qty_code , b.config_code , b.prdn_start_shift , b.new_start_date , b.new_start_time , b.new_end_date , b.new_end_time , b.rtg_code , b.revision , a.config_code , b.production_id , a.mg_orig_qty_per , a.sf_qty_per , a.yield , a.parent_item_id , b.expected_prdn_qty FROM PS_SF_COMP_LIST a , ps_sf_prdnid_headr b WHERE a.business_unit=b.business_unit AND a.production_id=b.production_id AND (b.prod_status BETWEEN '15' AND '70')

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

Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT

Prompt Table: SP_BUMGOP_NONVW

2 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
3 OP_SEQUENCE Number(4,0) SMALLINT NOT NULL Operation Sequence
4 COMPONENT_ID Character(18) VARCHAR2(18) NOT NULL 04/10/00 (Internet Architecture) SCC: Uppercase label Id.
5 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
6 MA_PRDN_ID_FLG Character(1) VARCHAR2(1) NOT NULL 10/18/99 SCC CN#IC800: Add label MAINTAIN_PID
N=No
Y=Yes
7 PRDN_DUE_DATE Date(10) DATE Prdn Due Date
8 PRDN_DUE_SHIFT Signed Number(2,0) DECIMAL(1) NOT NULL Prdn Due Shift
9 PRDN_AREA_CODE Character(10) VARCHAR2(10) NOT NULL Production Area
10 NEW_UOM Character(3) VARCHAR2(3) NOT NULL Unit of Measure
11 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
12 PRODUCTION_TYPE Character(2) VARCHAR2(2) NOT NULL JNW 11/1/98 (CN#SF800-13) activated teardown xlat
PR=Production
RW=Rework
SV=Service
TD=Teardown
13 NEW_PRDN_QTY Number(12,4) DECIMAL(11,4) NOT NULL Production Start Qty
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 PRDN_START_DATE Date(10) DATE Prdn Start Date
18 BOM_CODE Number(2,0) SMALLINT NOT NULL CN# EN800-3.0, anna 09/21 added new field to database
19 MG_ORIG_COMP_ID Character(18) VARCHAR2(18) NOT NULL original component ID
20 QTY_CODE Character(3) VARCHAR2(3) NOT NULL Per
ASY=Assembly
ORD=Order
21 CONFIG_CODE Character(50) VARCHAR2(50) NOT NULL Product Configurator

Prompt Table: SF_CFG_COMP_VW

22 PRDN_START_SHIFT Signed Number(2,0) DECIMAL(1) NOT NULL Prdn Start Shift
23 NEW_START_DATE Date(10) DATE Start Date
24 NEW_START_TIME Time(15) TIMESTAMP Start Time
25 NEW_END_DATE Date(10) DATE Due Date
26 NEW_END_TIME Time(15) TIMESTAMP Due Time
27 RTG_CODE Number(2,0) SMALLINT NOT NULL Routing Code
28 REVISION Character(4) VARCHAR2(4) NOT NULL 01/27/2000 RML Added "As of" label
29 CONFIG_CODE_COMP Character(50) VARCHAR2(50) NOT NULL Component Configuration Code
30 PRODUCTION_ID_WRK Character(10) VARCHAR2(10) NOT NULL Production ID Work
31 MG_ORIG_QTY_PER Number(16,10) DECIMAL(15,10) NOT NULL original qty per
32 SF_QTY_PER Number(16,10) DECIMAL(15,10) NOT NULL 07/06/99 SCC CN# SF800-9.0: Added label Quantity
33 YIELD Number(8,4) DECIMAL(7,4) NOT NULL Component Yield
34 PARENT_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Parent Item ID
35 EXPECTED_PRDN_QTY Number(12,4) DECIMAL(11,4) NOT NULL Production End Qty