Search in sources :

Example 1 with X_M_CostElement

use of org.compiere.model.X_M_CostElement in project adempiere by adempiere.

the class MCostElementTest method testQuery.

public void testQuery() throws Exception {
    X_M_CostElement ce = new X_M_CostElement(getCtx(), 102, null);
    MClient client = MClient.get(ce.getCtx());
    MCostElement[] retValue5 = MCostElement.getElements(client.getCtx(), null);
    assertTrue("getElements returns 8", retValue5.length == 8);
}
Also used : MCostElement(org.compiere.model.MCostElement) X_M_CostElement(org.compiere.model.X_M_CostElement) MClient(org.compiere.model.MClient)

Aggregations

MClient (org.compiere.model.MClient)1 MCostElement (org.compiere.model.MCostElement)1 X_M_CostElement (org.compiere.model.X_M_CostElement)1