Event Automation is not showing Event correctly

Issue No: TM-2871
Created 7/11/2018 3:13:00 PM
Type Bug
Priority Major
Status Closed
Resolution Fixed
Fixed Version 18.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-215483 - Event Automation is not showing correctly|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-215483] Steps:   1. Tank Management > Events > click Event Automation   2. Add an event and product. Click Save button. Refresh the screen and the Event Type disappeared.   3. Add another event and product on grid. Click Save button. Close the screen and reopen. The Event Type also disappear.   4. Check the tblTMEventAutomation table and the details added for event and product are still intact.   !pastedImage_d100952_0.png!   Issue: When we first went in the database showed intItemId = Null, so I inserted the intItemId matching the item code. Then the Product appeared in the front end. However, it is still not showing the event, but the database shows that there should be.   !pastedImage_d100952_1.png!   Acceptance: Adding and saving an event should not remove the Event Type values after the screen is refreshed or closed and reopened.