Generate Invoice Process Tests
When using the Generate Invoices process, the system checks the field "Document Type for Invoice" on the Sales Order Document Type to know what Document Type in which to generate the invoices.
Consolidation should occur if the same Bill to Partner, Bill to Location, currency, Invoice document type, Payment Rule. Also make sure to test with Partner Relations for 'Invoice to.' If different orders have different project and/or Campaigns, that should be reflected in the Invoice lines but the invoices themselves can be consolidated.