SF_TRC_POU_VW1(SQL View) |
Index Back |
---|---|
View of trc prdn, out and usagThis view is used in genealogy inquiry and combines data from trace prdn, trace usage and trace out |
SELECT DISTINCT STP1.SETID_INV_ITEM ,STP1.BUSINESS_UNIT , STP1.INV_ITEM_ID , STP1.SERIAL_ID , STP1.INV_LOT_ID , STP1.TRANSACTION_NBR , STP1.SF_TRAC_TRAN_TYPE , STP1.SF_TRC_PRDN_STATUS , STP1.PRODUCTION_ID , STO1.MG_OUTPUT_TYPE , STO1.MG_OUTPUT_ITEM , STO1.OUTPUT_SERIAL_ID , STO1.OUTPUT_LOT_ID , STU1.COMPONENT_ID , STU1.COMP_SERIAL_ID , STU1.COMP_LOT_ID , STU1.SCHED_QTY , STU1.SF_TRC_USAG_STATUS FROM PS_SF_TRC_PRDN STP1 , PS_SF_TRC_OUT STO1 , PS_SF_TRC_USAG STU1 WHERE STP1.SETID_INV_ITEM = STO1.SETID_INV_ITEM AND STP1.INV_ITEM_ID= STO1.INV_ITEM_ID AND STP1.SERIAL_ID = STO1.SERIAL_ID AND STP1.INV_LOT_ID = STO1.INV_LOT_ID AND STP1.TRANSACTION_NBR = STO1.TRANSACTION_NBR AND STP1.SETID_INV_ITEM = STU1.SETID_INV_ITEM AND STP1.INV_ITEM_ID= STU1.INV_ITEM_ID AND STP1.SERIAL_ID = STU1.SERIAL_ID AND STP1.INV_LOT_ID = STU1.INV_LOT_ID AND STP1.TRANSACTION_NBR = STU1.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 | Character(5) | VARCHAR2(5) NOT NULL | Business Unit | |
3 | Character(18) | VARCHAR2(18) NOT NULL | Item ID | |
4 | Character(20) | VARCHAR2(20) NOT NULL | Serial ID | |
5 | Character(15) | VARCHAR2(15) NOT NULL | Lot ID | |
6 | 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. | |
7 | SF_TRAC_TRAN_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Trace Type
1000=Regular PID 1001=Rework PID 1002=TearDown Pid 1003=Production Schedule |
8 | SF_TRC_PRDN_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Production Trace Status
1=Associated 2=Disassoc 3=Torndown 4=Split 5=Rework |
9 | PRODUCTION_ID | Character(10) | VARCHAR2(10) NOT NULL |
Production ID
Prompt Table: SF_PRDNID_HEADR |
10 | 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 |
|
11 | 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.
Prompt Table: %EDITTABLE23 |
|
12 | Character(20) | VARCHAR2(20) NOT NULL | Serial ID | |
13 | Character(15) | VARCHAR2(15) NOT NULL | Lot ID | |
14 | Character(18) | VARCHAR2(18) NOT NULL |
04/10/00 (Internet Architecture) SCC: Uppercase label Id.
Prompt Table: %EDITTABLE5 |
|
15 | Character(20) | VARCHAR2(20) NOT NULL | Serial ID | |
16 | Character(15) | VARCHAR2(15) NOT NULL | Component Lot ID | |
17 | SCHED_QTY | Number(12,4) | DECIMAL(11,4) NOT NULL | Component Scheduled Qty |
18 | SF_TRC_USAG_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
FRD
1=Associated 2=Disassoc 3=Torndown 4=Split |