Redhuan D. Oon 2010-03-17 08:44:27 +00:00
parent a25b4c6260
commit 4a40f04a9c
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ public class MPriceListVersionTest extends AdempiereTestCase
public void testQuery() throws Exception
{
MPriceListVersion plv = new MPriceListVersion(getCtx(), 101, getTrxName());
MProductPrice[] pp = plv.getProductPrice(false); //red1 tested also with (true) and ("isActive='Y'")
MProductPrice[] pp = plv.getProductPrice("AND isActive='Y'"); //red1 tested also with (true) and (false)
assertTrue("product must have prices", pp.length > 0);
}