#708 affiliate batch scope.