I have two tables:
PlanMaster (PlanName, Product_ID)
and
ProductPoints (Entity_ID, Product_ID, Comm1, Com
Try changing it to
where s.Entity_ID == getEntity