Added Delete

Added delete logic for last line item record only