if (selectedInventory == null) { if (invpg.getResource().getTypeIdentificationPG().getTypeIdentification().equals("NSN/8970014329943")) { selectedInventory = inventory; } }
    protected void resetInventories() {	Inventory inventory;	Iterator list = changedSet_.iterator();	printDebug("STEP 1: RESETINVENTORIES(), Today: "+TimeUtils.dateString(startTime_));	while (list.hasNext()) {	    inventory = (Inventory)list.next();	    InventoryPG invpg = 		(InventoryPG)inventory.getInventoryPG();            if (selectedInventory == null) {                if (invpg.getResource().getTypeIdentificationPG().getTypeIdentification().equals("NSN/8970014329943")) {                    selectedInventory = inventory;                }            }	    invpg.resetInventory(inventory, startTime_);	}    }