lineitem view function added