General parameters > Chapter Purchase > Parameter PURRGRFLG (Purchase grouping) 

This parameter controls consolidation (grouping) of purchase requirements when producing purchase orders. 

'Group and cumulate' – Consolidation of purchase requirements is permitted. This will allow a single purchase order to be produced for multiple requirements from the same supplier. Multiple requirements for the same product will also be consolidated on the purchase order.

'Cancel the whole document in case of error on one of the lines' – Consolidation of purchase requirements is permitted. This will allow a single purchase order to be produced for multiple requirements from the same supplier. If, however, there is an error on any line on any of the purchase requirements, the consolidated purchase order will not be created.

Level of localization/Global variable

This parameter is defined at the level Folder.It belongs to Chapter ACH (Purchase) and the Group MIS (Miscellaneous).

The global variable GPURRGRFLG is associated with it.