EN_TRN_DUOUT_VW(SQL View) |
Index Back |
---|---|
Duplicate Transfer Output View07/22/99 LAJ CN# EN800-6.0 : Created Used by Eg transfers and BOM Mass Maint to determine if an output item exists more than once on a BOM. |
SELECT B.EIP_CTL_ID , B.BUSINESS_UNIT , B.INV_ITEM_ID , B.BOM_STATE , B.BOM_TYPE , B.BOM_CODE , B.MG_OUTPUT_TYPE , B.MG_OUTPUT_ITEM , B.OP_SEQUENCE , B.DATE_IN_EFFECT , B.MASS_MAINT_CODE FROM PS_EN_TRN_OUT_TMP A , PS_EN_TRN_OUT_TMP B WHERE A.EIP_CTL_ID = B.EIP_CTL_ID AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.BOM_STATE = B.BOM_STATE AND A.BOM_TYPE = B.BOM_TYPE AND A.BOM_CODE = B.BOM_CODE AND A.MG_OUTPUT_TYPE = B.MG_OUTPUT_TYPE AND A.MG_OUTPUT_ITEM = B.MG_OUTPUT_ITEM AND A.OP_SEQUENCE = B.OP_SEQUENCE AND A.DATE_IN_EFFECT = B.DATE_IN_EFFECT GROUP BY B.EIP_CTL_ID , B.BUSINESS_UNIT , B.INV_ITEM_ID , B.BOM_STATE , B.BOM_TYPE , B.BOM_CODE , B.MG_OUTPUT_TYPE , B.MG_OUTPUT_ITEM, B.OP_SEQUENCE , B.DATE_IN_EFFECT , B.MASS_MAINT_CODE HAVING COUNT(*)>1 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EIP_CTL_ID | Character(25) | VARCHAR2(25) NOT NULL | Enterprise Components EIP (enterprise integration point) control field |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
4 | BOM_STATE | Character(2) | VARCHAR2(2) NOT NULL |
BOM State
EN=Engineering PR=Manufacturing |
5 | BOM_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
03/26/00 RML Added a label "Type"
PR=Production RW=Rework |
6 | BOM_CODE | Number(2,0) | SMALLINT NOT NULL | CN# EN800-3.0, anna 09/21 added new field to database |
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 | 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. |
9 | OP_SEQUENCE | Number(4,0) | SMALLINT NOT NULL | Operation Sequence |
10 | DATE_IN_EFFECT | Date(10) | DATE | 01/27/2000 RML Added "As of date" label 03/23/2004 SFC Added PRICE_LIST_DATE label 06/04/2004 SFC Added PRODUCT_PRICE_DAT label |
11 | MASS_MAINT_CODE | Character(10) | VARCHAR2(10) NOT NULL | Mass Maintenance Code |