MTM_AMAREAVW(SQL View) |
Index Back |
---|---|
MTM Asset Area Prompt |
SELECT SETID , LOCATION , AREA_ID , DESCR FROM %Table(AM_AREA_TBL) A WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM %Table(AM_AREA_TBL) B WHERE A.SETID = B.SETID AND A.LOCATION = B.LOCATION AND A.AREA_ID = B.AREA_ID AND B.EFFDT <= %CurrentDateIn AND B.EFF_STATUS = 'A') |
# | 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 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |