SF_COMPQTY_VW

(SQL View)
Index Back

Component Qty Detail

01/21/1999 MDS CN# EN800-1.0: Added MG_ORIG_COMP_ID. 04/01/99 meg (cn#sf800-27.0) Removed qty,unit_of_measure, staged_date,container_id.

select a.business_unit, c.prdn_area_code, c.inv_item_id, a.component_id, a.op_sequence, a.mg_orig_comp_id, 'NEXT', c.prod_status, c.revision, c.prdn_due_date, a.qty_code, a.inv_lot_id, a.serial_id, a.qty_base from PS_SF_COMP_QTY a, ps_sf_comp_list b, ps_sf_Prdnid_headr c where c.ma_prdn_id_flg = 'N' and a.business_unit= b.business_unit and a.business_unit= c.business_unit and a.production_id=b.production_id and a.production_id=c.production_id and a.component_id=b.component_id and a.op_sequence=b.op_sequence and a.mg_orig_comp_id=b.mg_orig_comp_id and a.qty_code=b.qty_code

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 PRDN_AREA_CODE Character(10) VARCHAR2(10) NOT NULL Production Area
3 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
4 COMPONENT_ID Character(18) VARCHAR2(18) NOT NULL 04/10/00 (Internet Architecture) SCC: Uppercase label Id.
5 OP_SEQUENCE Number(4,0) SMALLINT NOT NULL Operation Sequence
6 MG_ORIG_COMP_ID Character(18) VARCHAR2(18) NOT NULL original component ID
7 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
8 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
9 REVISION Character(4) VARCHAR2(4) NOT NULL 01/27/2000 RML Added "As of" label
10 PRDN_DUE_DATE Date(10) DATE Prdn Due Date
11 QTY_CODE Character(3) VARCHAR2(3) NOT NULL Per
ASY=Assembly
ORD=Order
12 INV_LOT_ID Character(15) VARCHAR2(15) NOT NULL Lot ID
13 SERIAL_ID Character(20) VARCHAR2(20) NOT NULL Serial ID
14 QTY_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Base Quantity