You did not specify which version of ZC you are using so the answer will be a little vague.

Find a version of Stock by Attributes that matches your version of ZC