Package org.compiere.sla
Class DeliveryAccuracy
- java.lang.Object
-
- org.compiere.sla.SLACriteria
-
- org.compiere.sla.DeliveryAccuracy
-
public class DeliveryAccuracy extends SLACriteria
SLA Delivery Accuracy. How accurate is the promise date?The measure are the average days between promise date (PO/SO) and delivery date (Material receipt/shipment) It is positive if before, negative if later. The lower the number, the better
- Version:
- $Id: DeliveryAccuracy.java,v 1.2 2006/07/30 00:51:06 jjanke Exp $
- Author:
- Jorg Janke
-
-
Constructor Summary
Constructors Constructor Description DeliveryAccuracy()
DeliveryAccuracy
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
calculateMeasure(MSLAGoal goal)
Calculate Goal Actual from unprocessed Measuresint
createMeasures(MSLAGoal goal)
Create new Measures for the Goal-
Methods inherited from class org.compiere.sla.SLACriteria
calculateMeasures, createMeasures
-
-
-
-
Field Detail
-
log
protected CLogger log
Logger
-
-
Method Detail
-
createMeasures
public int createMeasures(MSLAGoal goal)
Create new Measures for the Goal- Specified by:
createMeasures
in classSLACriteria
- Parameters:
goal
- the goal- Returns:
- number created
-
calculateMeasure
public BigDecimal calculateMeasure(MSLAGoal goal)
Calculate Goal Actual from unprocessed Measures- Specified by:
calculateMeasure
in classSLACriteria
- Parameters:
goal
- the goal- Returns:
- goal actual measure
-
-