Sage 100 Advanced 2018 Purchase Order customization to consolidate items after generating POs from SOs

I need to be able to consolidate inventory items on the printed purchase order after generating multiple Purchase Orders from multiple Sales Orders.  The system can consolidate the vendor POs automatically by selecting it in the PO setup options but it creates multiple lines on the POs for one inventory item based on the number of sales orders being selected during the generation process.

I've attempted to customize the PO form.  I've created a sub-report that does group\consolidate the items.  It includes the vendor alias item code as well.  I've placed the sub-report in the details B section of the report.  If in section A - I get no results. 

In section B - the problem (from what I have determined so far) is that when printing, it is producing the correct consolidated items and the first page looks great but it is duplicating the pages by the total items on the original PO. 

Example:  Original PO has 32 lines.  There are duplications of the items so in total there are actually 15 items needed on the final printing of the PO.  At this point in my customization of the form, it is producing the correct 15 items and correct item totals but it is producing 32 duplicate pages (1 page per the original PO???) and I only want it to produce 1 page.

Hope this makes sense and that someone has a recommendation please.