FR [2968261] - Product Info View shows inactive providers

https://sourceforge.net/tracker/?func=detail&aid=2968261&group_id=176962&atid=879332
Fixed ZK part.
This commit is contained in:
trifonnt 2010-05-18 14:16:43 +00:00
parent cafda34d23
commit 739f68d2ae
1 changed files with 1 additions and 1 deletions

View File

@ -882,7 +882,7 @@ public class InfoProductPanel extends InfoPanel implements EventListener
// => Vendor // => Vendor
String vendor = fieldVendor.getText().toUpperCase(); String vendor = fieldVendor.getText().toUpperCase();
if (!(vendor.equals("") || vendor.equals("%"))) if (!(vendor.equals("") || vendor.equals("%")))
where.append(" AND UPPER(bp.Name) LIKE ? AND ppo.IsCurrentVendor='Y'"); // Elaine 2008/12/16 where.append(" AND UPPER(bp.Name) LIKE ? AND ppo.IsCurrentVendor='Y' AND ppo.IsActive='Y'"); // Elaine 2008/12/16
return where.toString(); return where.toString();
} // getSQLWhere } // getSQLWhere