Hi..I have pasted the code I used in the model in above post. This is the only code I used..
To make it clear-
first model which is fetching the multiple rows for the item is graphical.
In second model I am trying to write a script which will fetch me the MAX of the date and only one record from the multiple rows for item 1700.
Please have a look and help. Again, I appreciate you looked into my post and for your time as well.
Let me know if you need any information.