VAT_BU_BI_VW

(SQL View)
Index Back

BI BU with VAT


SELECT A.BUSINESS_UNIT , B.DESCR FROM PS_BUS_UNIT_TBL_BI A , PS_BUS_UNIT_TBL_FS B , PS_INSTALLATION I WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND ( (I.AR = 'N' AND EXISTS ( SELECT 'X' FROM PS_VAT_ENT_BU_GL C WHERE A.BUSINESS_UNIT_GL = C.BUSINESS_UNIT ) ) OR ( I.AR = 'Y' AND EXISTS ( SELECT 'X' FROM PS_VAT_ENT_BU_GL C , PS_BUS_UNIT_TBL_AR D WHERE D.BUSINESS_UNIT = A.BUSINESS_UNIT_AR AND D.BUSINESS_UNIT_GL = C.BUSINESS_UNIT ) ) )

  • Related Language Record: VAT_BU_BI_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    2 DESCR Character(30) VARCHAR2(30) NOT NULL Description