BT [ 1793806 ] Duplicate vendors in InfoProduct search
Filter to current vendor always.
This commit is contained in:
parent
43299f3839
commit
7d08dea362
|
@ -124,7 +124,7 @@ public final class InfoProduct extends Info implements ActionListener, ChangeLis
|
||||||
"M_Product p"
|
"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_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_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)"
|
+ " LEFT OUTER JOIN M_Product_PO ppo ON (p.M_Product_ID=ppo.M_Product_ID and ppo.IsCurrentVendor='Y')"
|
||||||
+ " LEFT OUTER JOIN C_BPartner bp ON (ppo.C_BPartner_ID=bp.C_BPartner_ID)";
|
+ " LEFT OUTER JOIN C_BPartner bp ON (ppo.C_BPartner_ID=bp.C_BPartner_ID)";
|
||||||
|
|
||||||
/** Array of Column Info */
|
/** Array of Column Info */
|
||||||
|
|
Loading…
Reference in New Issue