HOR-1258
HOR-1258 Solve the ITME to Start and ITEE Solve the Send By -Claim case: Previous User HOR-1258 EOP send 2 email , Solve the observation 7
This commit is contained in:
@@ -237,6 +237,12 @@ abstract class BaseProcess extends BaseObject implements Persistent
|
||||
*/
|
||||
protected $pro_unit_cost = '';
|
||||
|
||||
/**
|
||||
* The value for the pro_debug field.
|
||||
* @var int
|
||||
*/
|
||||
protected $pro_itee = 1;
|
||||
|
||||
/**
|
||||
* Flag to prevent endless save loop, if this object is referenced
|
||||
* by another object which falls in this transaction.
|
||||
@@ -678,6 +684,17 @@ abstract class BaseProcess extends BaseObject implements Persistent
|
||||
return $this->pro_unit_cost;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [pro_itee] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getProItee()
|
||||
{
|
||||
|
||||
return $this->pro_itee;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of [pro_uid] column.
|
||||
*
|
||||
@@ -1450,6 +1467,28 @@ abstract class BaseProcess extends BaseObject implements Persistent
|
||||
|
||||
} // setProUnitCost()
|
||||
|
||||
/**
|
||||
* Set the value of [pro_itee] column.
|
||||
*
|
||||
* @param int $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setProItee($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is integer,
|
||||
// we will cast the input value to an int (if it is not).
|
||||
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||
$v = (int) $v;
|
||||
}
|
||||
|
||||
if ($this->pro_itee !== $v || $v === 1) {
|
||||
$this->pro_itee = $v;
|
||||
$this->modifiedColumns[] = ProcessPeer::PRO_ITEE;
|
||||
}
|
||||
|
||||
} // setProItee()
|
||||
|
||||
/**
|
||||
* Hydrates (populates) the object variables with values from the database resultset.
|
||||
*
|
||||
@@ -1537,12 +1576,14 @@ abstract class BaseProcess extends BaseObject implements Persistent
|
||||
|
||||
$this->pro_unit_cost = $rs->getString($startcol + 34);
|
||||
|
||||
$this->pro_itee = $rs->getString($startcol + 35);
|
||||
|
||||
$this->resetModified();
|
||||
|
||||
$this->setNew(false);
|
||||
|
||||
// FIXME - using NUM_COLUMNS may be clearer.
|
||||
return $startcol + 35; // 35 = ProcessPeer::NUM_COLUMNS - ProcessPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
return $startcol + 36; // 36 = ProcessPeer::NUM_COLUMNS - ProcessPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
|
||||
} catch (Exception $e) {
|
||||
throw new PropelException("Error populating Process object", $e);
|
||||
@@ -1851,6 +1892,9 @@ abstract class BaseProcess extends BaseObject implements Persistent
|
||||
case 34:
|
||||
return $this->getProUnitCost();
|
||||
break;
|
||||
case 35:
|
||||
return $this->getProItee();
|
||||
break;
|
||||
default:
|
||||
return null;
|
||||
break;
|
||||
@@ -1906,6 +1950,7 @@ abstract class BaseProcess extends BaseObject implements Persistent
|
||||
$keys[32] => $this->getProDerivationScreenTpl(),
|
||||
$keys[33] => $this->getProCost(),
|
||||
$keys[34] => $this->getProUnitCost(),
|
||||
$keys[35] => $this->getProItee(),
|
||||
);
|
||||
return $result;
|
||||
}
|
||||
@@ -2042,6 +2087,9 @@ abstract class BaseProcess extends BaseObject implements Persistent
|
||||
case 34:
|
||||
$this->setProUnitCost($value);
|
||||
break;
|
||||
case 35:
|
||||
$this->setProItee($value);
|
||||
break;
|
||||
} // switch()
|
||||
}
|
||||
|
||||
@@ -2205,6 +2253,10 @@ abstract class BaseProcess extends BaseObject implements Persistent
|
||||
$this->setProUnitCost($arr[$keys[34]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[35], $arr)) {
|
||||
$this->setProItee($arr[$keys[35]]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2356,6 +2408,10 @@ abstract class BaseProcess extends BaseObject implements Persistent
|
||||
$criteria->add(ProcessPeer::PRO_UNIT_COST, $this->pro_unit_cost);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(ProcessPeer::PRO_ITEE)) {
|
||||
$criteria->add(ProcessPeer::PRO_ITEE, $this->pro_itee);
|
||||
}
|
||||
|
||||
|
||||
return $criteria;
|
||||
}
|
||||
@@ -2478,6 +2534,8 @@ abstract class BaseProcess extends BaseObject implements Persistent
|
||||
|
||||
$copyObj->setProUnitCost($this->pro_unit_cost);
|
||||
|
||||
$copyObj->setProItee($this->pro_itee);
|
||||
|
||||
|
||||
$copyObj->setNew(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user