EG_BOM_CMPOT_VW(SQL View) |
Index Back |
---|---|
BOM Output Compare View10/22/98 (CN#EN800-6.0) LAJ...Created Used by the Engineering BOM Compare. It identifies any differences in the BOM output non-key values. |
SELECT %SUBREC(EN_BOM_OUT_SBR,A), B.INV_ITEM_ID, B.BOM_STATE, B.BOM_TYPE, B.BOM_CODE FROM PS_EN_BOM_OUTPUTS A, PS_EN_BOM_OUTPUTS B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.BOM_TYPE = B.BOM_TYPE AND A.BOM_CODE = B.BOM_CODE AND A.OP_SEQUENCE = B.OP_SEQUENCE AND A.DATE_IN_EFFECT = B.DATE_IN_EFFECT AND A.MG_OUTPUT_ITEM = B.MG_OUTPUT_ITEM AND A.MG_OUTPUT_TYPE = B.MG_OUTPUT_TYPE AND (A.DATE_OBSOLETE <> B.DATE_OBSOLETE OR A.MG_OUTPUT_RES_PCT <> B.MG_OUTPUT_RES_PCT OR A.MG_OUTPUT_QTY <> B.MG_OUTPUT_QTY OR A.MG_OUTPUT_QTY_CODE <> B.MG_OUTPUT_QTY_CODE OR A.MG_OUTPUT_COST_PCT <> B.MG_OUTPUT_COST_PCT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL | Business Unit | |
2 | Character(18) | VARCHAR2(18) NOT NULL | Item ID | |
3 | Character(2) | VARCHAR2(2) NOT NULL |
BOM State
EN=Engineering PR=Manufacturing |
|
4 | Character(2) | VARCHAR2(2) NOT NULL |
03/26/00 RML Added a label "Type"
PR=Production RW=Rework |
|
5 | Number(2,0) | SMALLINT NOT NULL | CN# EN800-3.0, anna 09/21 added new field to database | |
6 | 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 |
|
7 | 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: %EDITTABLE5 |
|
8 | Number(4,0) | SMALLINT NOT NULL |
Operation Sequence
Prompt Table: %EDITTABLE2 |
|
9 | Date(10) | DATE NOT NULL | 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 | |
10 | DATE_OBSOLETE | Date(10) | DATE NOT NULL | Obsolete Date |
11 | MG_OUTPUT_QTY | Number(12,4) | DECIMAL(11,4) NOT NULL | 10/22/98 (CN#EN800-6.0) LAJ...Created Stores the output item quantity on a Bill of Materials. This value is assumed to be in the UOM of the output item it's associated to. KPN 08/23/02: Added label Quantity |
12 | MG_OUTPUT_QTY_CODE | Character(3) | VARCHAR2(3) NOT NULL |
01/28/98 (CN#EN800-6.0) LAJ...Created
Stores the quantity code for an output item on a Bill of Materials. It was created with the same values as qty_code, but by separating these two fields, it allows greater flexibility in the future.
ASY=Assembly ORD=Order Default Value: ASY |
13 | MG_OUTPUT_RES_PCT | Number(3,0) | SMALLINT NOT NULL | 10/22/98 (CN#EN800-6.0) LAJ...Created Stores the output item's resource allocation percentage on a Bill of Material. Since it is a percentage, it cannot store a value greater than 100. It is used to determine what percentage of the inputs (components) on the BOM are used to produce the output (co-product). |
14 | MG_OUTPUT_COST_PCT | Number(3,0) | SMALLINT NOT NULL | 10/22/98 (CN#EN800-6.0) LAJ...Created Stores the output item's cost percentage on a Bill of Material. Since it is a percentage, it cannot store a value greater than 100. It is used to determine what percentage of the cost to make the BOM goes to each output (co-product). |
15 | INCR_REL_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
07/22/02 EGS (CN#PL880-1): Added
1=None 2=Over Time Default Value: 1 |
16 | INCR_REL_OFFSET | Number(16,4) | DECIMAL(15,4) NOT NULL | 07/22/02 EGS (CN#PL880-1): Added. |
17 | EN_ITEM_TO_ID | Character(18) | VARCHAR2(18) NOT NULL | To Item ID |
18 | EN_BOM_STATE_CMP | Character(2) | VARCHAR2(2) NOT NULL |
BOM State used in comparison
EN=Engineering EP=Enterprise PR=Manufacturing |
19 | EN_BOM_TYPE_CMP | Character(2) | VARCHAR2(2) NOT NULL |
BOM Type used in comparison
PL=Planning PR=Production |
20 | EN_BOM_CODE_CMP | Number(2,0) | SMALLINT NOT NULL | CN# EN800-3.0, anna 09/21 added new field to database |