The only date field that might help you out is the Modified Date (MODIFDT) in the IV00101 table. This field gets updated whenever the item record is updated. So, when the user changes the Item Type to Discontinued, it will update that field with the current date. The pitfall with this field would be if another user changes a field on that item, the Modified Date will update again. I have run into this situation before in the past. What we ended up doing is created a SQL trigger that looks for a change to the Item Type field on the IV00101 table. Whenever it changes to a value of 2 (Discontinued), we inserted the item#, user id, and date into another SQL table.
↧