LM_SRCH_DTTMV2

(SQL View)
Index Back

Last update for Catalog Items

Join all tables to get the last update date stamp for all the catalog items..

SELECT DMTHD1.LM_CI_ID , DMTHD1.LM_ROW_MAINT_DTTM FROM PS_LM_DMTHD_TBL DMTHD1 WHERE %CurrentDateIn BETWEEN DMTHD1.EFFDT AND DMTHD1.LM_END_EFFDT UNION SELECT CI2.LM_CI_ID , CI2.LM_ROW_MAINT_DTTM FROM PS_LM_CI_TBL CI2 WHERE %CurrentDateIn BETWEEN CI2.EFFDT AND CI2.LM_END_EFFDT UNION SELECT DMTHD2.LM_CI_ID , DMTYP2.LM_ROW_MAINT_DTTM FROM PS_LM_DMTHD_TBL DMTHD2 , PS_LM_DMTH_TYP_TBL DMTYP2 WHERE %CurrentDateIn BETWEEN DMTHD2.EFFDT AND DMTHD2.LM_END_EFFDT AND DMTHD2.LM_DMTHD_TYPE_ID = DMTYP2.LM_DMTHD_TYPE_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 LM_CI_ID Number(10,0) DECIMAL(10) NOT NULL Catalog Item ID - System Generated ID Number associated with each Catalog Item
2 LM_ROW_MAINT_DTTM DateTime(26) TIMESTAMP NOT NULL Row Maintainted DateTime