MTM_AMAREALGVW

(SQL View)
Index Back

MTM Asset Area Prompt


SELECT SETID , LOCATION , AREA_ID , LANGUAGE_CD , DESCR FROM %Table(AM_AREA_LANG) A WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM %Table(AM_AREA_LANG) B WHERE A.SETID = B.SETID AND A.LOCATION = B.LOCATION AND A.AREA_ID = B.AREA_ID AND A.LANGUAGE_CD = B.LANGUAGE_CD AND A.EFFDT = B.EFFDT AND B.EFFDT <= %CurrentDateIn )

  • Related Language Record for MTM_AMAREAVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

    2 KEY_CHAR_30_01 Character(30) VARCHAR2(30) NOT NULL Key Char(30) 01
    3 AREA_ID Character(10) VARCHAR2(10) NOT NULL Area ID
    4 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description