How to Tag Orders where all lines are in a set of SKUs

For any orders with multiple SKUs, where you want to 'include only' search criteria containing exclusively the SKUs you're searching for, verbatim, and not a list of all orders containing any one of the SKUs mentioned.

For example:

I want to 'Include Only'
INBK201708CA
WI6PK1
WISB01480CA
WISB01572CA
WISB01743CA
WISB01745CA
WISB01878CA
WISB02540CA

 

In Infoplus, if you searched on the order table, you would receive a list of all orders containing any one of those SKUs. This script allows you to define a set of SKUs to consider, and it will search for orders that only have that set of SKUs. This script can run against the order table (once you have edited the script to include the SKUs you'd like to consider).