Exemple #1
0
 /**
  * Set Measure Actual
  *
  * @param MeasureActual actual
  */
 @Override
 public void setMeasureActual(BigDecimal MeasureActual) {
   if (MeasureActual == null) return;
   super.setMeasureActual(MeasureActual);
   setDateLastRun(new Timestamp(System.currentTimeMillis()));
   setGoalPerformance();
 } //	setMeasureActual
Exemple #2
0
 /**
  * ************************************************************************ Standard Constructor
  *
  * @param ctx context
  * @param PA_Goal_ID id
  * @param trx p_trx
  */
 public MGoal(Ctx ctx, int PA_Goal_ID, Trx trx) {
   super(ctx, PA_Goal_ID, trx);
   if (PA_Goal_ID == 0) {
     //	setName (null);
     //	setAD_User_ID (0);
     //	setPA_ColorSchema_ID (0);
     setSeqNo(0);
     setIsSummary(false);
     setMeasureScope(MEASUREDISPLAY_Year);
     setGoalPerformance(Env.ZERO);
     setRelativeWeight(Env.ONE);
     setMeasureTarget(Env.ZERO);
     setMeasureActual(Env.ZERO);
   }
 } //	MGoal