Quantcast
Channel: Microsoft Dynamics GP
Viewing all articles
Browse latest Browse all 59474

Forum Post: RE: Adding a Date when Item is Discontinued

$
0
0

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.


Viewing all articles
Browse latest Browse all 59474

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>