Implemented insertion of inventory lines.