you can probably perform a search for the item record first, get the SKUs, dump them all in a JSON object,then when you are going to do the actual receipt of the item fulfillment and looping through the items, compare it with the JSON object you created earlier..