SF_TRC_OUT_VW7

(SQL View)
Index Back

Completions Trace Out View

01/17/03 MDS CN#MG880-Genealogy: Added as backup scroll to trace serials in production (scrap only).

SELECT A.SETID_INV_ITEM ,A.BUSINESS_UNIT ,B.PRODUCTION_ID ,A.INV_LOT_ID ,A.TRANSACTION_NBR ,A.MG_OUTPUT_ITEM ,A.MG_OUTPUT_TYPE ,A.OP_SEQUENCE ,A.COMPL_QTY ,A.SCRAPPED_QTY ,A.COMPLETED_FLG ,B.SF_TRC_PRDN_STATUS ,A.OUTPUT_SERIAL_ID ,A.SERIAL_ID FROM PS_SF_TRC_PRDN B , PS_SF_TRC_OUT A WHERE A.SETID_INV_ITEM =B.SETID_INV_ITEM AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.INV_ITEM_ID =B.INV_ITEM_ID AND A.SERIAL_ID =B.SERIAL_ID AND A.INV_LOT_ID = B.INV_LOT_ID AND A.TRANSACTION_NBR = B.TRANSACTION_NBR

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID_INV_ITEM Character(5) VARCHAR2(5) NOT NULL Inv Items SETID
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
4 INV_LOT_ID Character(15) VARCHAR2(15) NOT NULL Lot ID
5 TRANSACTION_NBR Number(15,0) DECIMAL(15) NOT NULL 08/02/99 NAS: Changed the size of this field from 10 to 15. Based on Jim Hillman's decision to make the field at a standard size.
6 MG_OUTPUT_ITEM Character(18) VARCHAR2(18) NOT NULL 04/10/00 (Internet Architecture) SCC: Uppercase label Id. 10/22/98 (CN#EN800-6.0) LAJ...Created Stores the output item number on a Bill of Materials. This item may be either a co-product or a by-product on the BOM. The output type field determines which one it represents. There should always be at least one output item on the BOM at all times; this output item is the same as the BOMs item id.
7 MG_OUTPUT_TYPE Character(2) VARCHAR2(2) NOT NULL 10/22/98 (CN#EN800-6.0) LAJ...Created Stores the output item type on a Bill of Materials. The type could represent either a co-product (primary or secondary) or a by-product (waste or recycle). 11/23/98 (CN#SF800-13) JNW added teardown xlat
CP=Primary
CS=Co-Product
RB=Recycle
TD=Teardown
WB=Waste
8 OP_SEQUENCE Number(4,0) SMALLINT NOT NULL Operation Sequence
9 COMPL_QTY Signed Number(13,4) DECIMAL(11,4) NOT NULL Completed Qty
10 SCRAPPED_QTY Signed Number(13,4) DECIMAL(11,4) NOT NULL Scrapped Qty
11 COMPLETED_FLG Character(1) VARCHAR2(1) NOT NULL Completed
N=Not Completed
Y=Complete
12 SF_TRC_PRDN_STATUS Character(1) VARCHAR2(1) NOT NULL Production Trace Status
1=Associated
2=Disassoc
3=Torndown
4=Split
5=Rework
13 OUTPUT_SERIAL_ID Character(20) VARCHAR2(20) NOT NULL Serial ID
14 SERIAL_ID Character(20) VARCHAR2(20) NOT NULL Serial ID