MG_ITEM_PD2_VW

(SQL View)
Index Back

Items prdn option on - to bu

09/23/98 SCC CN#EN800-4.0: cloned from MG_ITEM_OWN1_VW. Added mg_prdn_option = '02'. Uses BUSINESS_UNIT_TO 6/02/99 lee CN#MG800-4.0 Item Attributes @ BU, get data from bu_items_inv vs inv_items.

select a.business_unit, a.inv_item_id, a.ref_routing_item, b.descr, b.descr60 from ps_bu_items_inv a, PS_MASTER_ITEM_TBL b, ps_set_cntrl_rec c where a.business_unit = c.setcntrlvalue and c.recname = 'MASTER_ITEM_TBL' and b.setid = c.setid and a.inventory_item = 'Y' and a.inv_item_id = b.inv_item_id and a.mfg_costed_flag='Y' and a.itm_status_current in ('1','2','3') and (a.non_own_flag='N' or a.consigned_flag='Y') and a.staged_date_flag='N' and (a.source_code = '1' or a.source_code='2') and a.mg_prdn_option = '02'

  • Related Language Record: MG_ITEM_PD2_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT_TO Character(5) VARCHAR2(5) NOT NULL 04/10/00 SCC (Internet Architecture): Add label BUSINESS_UNIT

    Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT

    Prompt Table: BUS_UNIT_TBL_IN

    2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

    Prompt Table: MST_ITM_PRPT_VW

    3 REF_ROUTING_ITEM Character(18) VARCHAR2(18) NOT NULL Reference Routing Item
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    5 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description