Invoice for lines not orders

When closing orders, an invoice is created in the Sage 500 software for each line in a specific order. Any way to fix this from happening and to have an invoice that includes every line in a sales order?