WM_MTRRD_LST_VW

(SQL View)
Index Back

Last Asset Meter Reading

Last Asset Meter Reading Used in report query to work around the issue that Oracle does not allow outer join to a subquery.

SELECT BUSINESS_UNIT , ASSET_ID , METER_TYPE , MAX(READING_DTTM) FROM PS_AM_METER_READ GROUP BY BUSINESS_UNIT , ASSET_ID , METER_TYPE

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 ASSET_ID Character(12) VARCHAR2(12) NOT NULL Asset Identification
3 METER_TYPE Character(30) VARCHAR2(30) NOT NULL Meter Type
4 READING_DTTM DateTime(26) TIMESTAMP As of Date/Time