From c7ef8c03d4db4ee62bb3818bb1cb7677af6c344c Mon Sep 17 00:00:00 2001 From: vpj-cd Date: Tue, 13 Jan 2009 17:50:53 +0000 Subject: [PATCH] The MCost record do not is create with a new product. http://sourceforge.net/tracker2/?func=detail&atid=879332&aid=2496472&group_id=176962 --- .../src/main/org/posterita/businesslogic/POSProductManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/POSProductManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/POSProductManager.java index 05565e9285..8113b001ba 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/POSProductManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/POSProductManager.java @@ -606,7 +606,7 @@ public class POSProductManager extends ProductManager { MClient client = new MClient(ctx, Env.getAD_Client_ID(ctx), null); - MCostElement costElements[] = MCostElement.getCostingMethods(client); + MCostElement costElements[] = MCostElement.getMaterialCostingMethods(client); for(int i = 0; i < costElements.length; i++) {