FR [2968261] - Product Info View shows inactive providers

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

View File

@ -129,7 +129,7 @@ public class InfoProduct extends Info implements ActionListener, ChangeListener
"M_Product p"
+ " LEFT OUTER JOIN M_ProductPrice pr ON (p.M_Product_ID=pr.M_Product_ID AND pr.IsActive='Y')"
+ " LEFT OUTER JOIN M_AttributeSet pa ON (p.M_AttributeSet_ID=pa.M_AttributeSet_ID)"
+ " LEFT OUTER JOIN M_Product_PO ppo ON (p.M_Product_ID=ppo.M_Product_ID and ppo.IsCurrentVendor='Y')"
+ " LEFT OUTER JOIN M_Product_PO ppo ON (p.M_Product_ID=ppo.M_Product_ID and ppo.IsCurrentVendor='Y' and ppo.IsActive='Y')"
+ " LEFT OUTER JOIN C_BPartner bp ON (ppo.C_BPartner_ID=bp.C_BPartner_ID)";
/** Array of Column Info */