function setRoundInterValPolicy($id)
 {
     $id = trim($id);
     $riplf = new RoundIntervalPolicyListFactory();
     if ($id == 0 or $this->Validator->isResultSetWithRows('round_inteval_policy', $riplf->getByID($id), TTi18n::gettext('Selected Interval Rounding Policy is invalid'))) {
         $this->data['round_interval_policy_id'] = $id;
         return TRUE;
     }
     return FALSE;
 }
 function setRoundIntervalPolicyID($id)
 {
     $id = trim($id);
     if ($id == '' or empty($id)) {
         $id = NULL;
     }
     $riplf = new RoundIntervalPolicyListFactory();
     if ($id == NULL or $this->Validator->isResultSetWithRows('round_interval_policy', $riplf->getByID($id), TTi18n::gettext('Round Interval Policy is invalid'))) {
         $this->data['round_interval_policy_id'] = $id;
         return TRUE;
     }
     return FALSE;
 }