MG_ITEM_OWPA_VW

(SQL View)
Index Back

MG All ownd/pnd/Appr Item Vw

11/5/97, EYZ CN#MG750-7.0 Floor Stock Items, add condition a.source_code = 1 or 2. 2/4/98 RS added rel language view 2/16/98 RS : RL View Type OTH C1 6/02/99 lee CN#MG800-4.0 Item Attributes @ BU, get data from bu_items_inv vs inv_items. 07/06/99 RT CN#MG800-4.0 Changed prompt table for inv_item_id 07/28/2003 WHS Incident 615293000: added status of "under initialization" (7) to selection criteria in SQL

SELECT a.business_unit , a.inv_item_id , b.descr 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.staged_date_flag='N' AND (a.source_code = '1' OR a.source_code = '2') AND a.mfg_costed_flag='Y' AND a.itm_status_current IN ('1','2','3','5','7') AND (a.non_own_flag='N' OR a.consigned_flag = 'Y')

  • Related Language Record: MG_ITEMOWPA_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL 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: BU_ITM_INV_VW

    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description