From f319ae426699c8613ed3dc2cf991121bbb2e24a2 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 3 Apr 2012 17:07:34 -0500 Subject: [PATCH] Avoid message about cost collector not reset --- .../src/org/compiere/process/FactAcctReset.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/org.adempiere.base.process/src/org/compiere/process/FactAcctReset.java b/org.adempiere.base.process/src/org/compiere/process/FactAcctReset.java index 667429a51c..9d6c7a4686 100644 --- a/org.adempiere.base.process/src/org/compiere/process/FactAcctReset.java +++ b/org.adempiere.base.process/src/org/compiere/process/FactAcctReset.java @@ -44,6 +44,7 @@ import org.compiere.util.DB; import org.compiere.util.TimeUtil; import org.eevolution.model.X_DD_Order; import org.eevolution.model.X_HR_Process; +import org.eevolution.model.X_PP_Cost_Collector; import org.eevolution.model.X_PP_Order; /** @@ -243,6 +244,8 @@ public class FactAcctReset extends SvrProcess docBaseType = "= '" + MPeriodControl.DOCBASETYPE_DistributionOrder+ "'"; else if (AD_Table_ID == X_HR_Process.Table_ID) docBaseType = "= '" + MPeriodControl.DOCBASETYPE_Payroll+ "'"; + else if (AD_Table_ID == X_PP_Cost_Collector.Table_ID) + docBaseType = "= '" + MPeriodControl.DOCBASETYPE_ManufacturingCostCollector+ "'"; // if (docBaseType == null) {