WM_SHOP_BU4_VW

(SQL View)
Index Back

Shop Definition by BU

Shops for a particular Business Unit

SELECT B.BUSINESS_UNIT , B.SHOP_ID , A.DESCR FROM PS_WM_SHOP_DEFN A , PS_WM_SHOP_HDR B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.SHOP_ID = B.SHOP_ID AND B.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_WM_SHOP_HDR D WHERE B.BUSINESS_UNIT = D.BUSINESS_UNIT AND B.SHOP_ID = D.SHOP_ID AND B.EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A'

  • Related Language Record: WM_SHOPBU4VW_LG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    2 SHOP_ID Character(10) VARCHAR2(10) NOT NULL Shop Identification
    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description