EN_BOM_MMCB_VW

(SQL View)
Index Back

BOM Mass Maint BOM by Output

03/31/99 LAJ CN#EN800-6.0 This view is used to join together assembly items and their descriptions. It will be used for the 'View Button' on the Output Search panel for BOM Mass Maintenance. 04/41/99 LAJ : Created a Rel language view EN_BOM_MMCB_LVW

select distinct %subrec(en_bom_out_sbr,a), b.descr from ps_en_bom_outputs a, PS_MASTER_ITEM_TBL b, ps_set_cntrl_rec c, ps_inv_items d where a.business_unit = c.setcntrlvalue and c.recname = 'MASTER_ITEM_TBL' and b.setid = c.setid and b.setid = d.setid and a.inv_item_id = b.inv_item_id and a.inv_item_id = d.inv_item_id and d.effdt = (select MAX(effdt) from ps_inv_items where setid = d.setid and inv_item_id = b.inv_item_id and effdt <= %CurrentDateIn)

  • Related Language Record: EN_BOM_MMCB_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
    3 BOM_STATE Character(2) VARCHAR2(2) NOT NULL BOM State
    EN=Engineering
    PR=Manufacturing
    4 BOM_TYPE Character(2) VARCHAR2(2) NOT NULL 03/26/00 RML Added a label "Type"
    PR=Production
    RW=Rework
    5 BOM_CODE Number(2,0) SMALLINT NOT NULL CN# EN800-3.0, anna 09/21 added new field to database
    6 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
    7 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.

    Prompt Table: %EDITTABLE5

    8 OP_SEQUENCE Number(4,0) SMALLINT NOT NULL Operation Sequence

    Prompt Table: %EDITTABLE2

    9 DATE_IN_EFFECT 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 DESCR Character(30) VARCHAR2(30) NOT NULL Description