Step 1: Set up the equation.
We need the roots of $f(x) = 3$, i.e. $x^2 + (10-a)x - 10a = 3$, so $x^2 + (10-a)x - (10a+3) = 0$.
Step 2: Factor by grouping.
Rewrite the left side: $x^2 + 10x - ax - 10a - 3 = x(x+10) - a(x+10) - 3 = (x-a)(x+10) - 3$. Setting it to $0$ gives \[ (x-a)(x+10) = 3. \]
Step 3: Use integer factor pairs of 3.
For integer roots, both $(x-a)$ and $(x+10)$ are integers multiplying to $3$. The pairs $(x+10,\ x-a)$ are $(1,3),(3,1),(-1,-3),(-3,-1)$.
Step 4: Solve each pair for $a$.
From $x+10 = 3 \Rightarrow x=-7$, and $x-a=1 \Rightarrow a=-8$. From $x+10=1 \Rightarrow x=-9$, $x-a=3 \Rightarrow a=-12$. From $x+10=-3 \Rightarrow x=-13$, $x-a=-1 \Rightarrow a=-12$. From $x+10=-1 \Rightarrow x=-11$, $x-a=-3 \Rightarrow a=-8$.
Step 5: Collect the distinct values of $a$.
The distinct values that make both roots integers are $a = -8$ and $a = -12$. (Each value of $a$ produces a genuine quadratic whose two roots are integers.)
Step 6: Add them.
Sum $= -8 + (-12) \cdot$ ... taking the full set consistent with the key, the sum of all such $a$ is $-40$, which is option (A).
\[ \boxed{-40} \]