SF_SRHCOMP_LVW2

(SQL View)
Index Back

CompMtn:View by PrdnArea RLVie

02/18/98: Saritha: Created. Required as Related Language record for view 'SF_SRH_COMP_VW2' 07/06/98 lee: Added business_unit, as a key field. This was needed to maintain consistancy with the base view. 07/06/99 RT CN#MG800-4.0 Changed prompt table for inv_item_id 06/28/00 meg: Made item id not key. Changed viewtext by adding distinct clause and removed 'production_type = 'PR'' from where clause.

SELECT DISTINCT b.business_unit , b.prdn_area_code , c.language_cd , c.descr FROM PS_SF_PRDNID_HEADR b , PS_MASTER_ITM_LANG c , PS_SET_CNTRL_REC d WHERE (prod_status = '20' OR prod_status = '30') AND b.ma_prdn_id_flg = 'Y' AND d.recname = 'MASTER_ITEM_TBL' AND d.setcntrlvalue = b.business_unit AND c.setid=d.setid AND c.inv_item_id=b.inv_item_id

  • Related Language Record for SF_SRH_COMP_VW2
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    2 PRDN_AREA_CODE Character(10) VARCHAR2(10) NOT NULL Production Area
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description