Avoid message about cost collector not reset
This commit is contained in:
parent
96153b2429
commit
f319ae4266
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue