added purchase type for line items.