public function __construct(Gpf_Rpc_Params $params = null, $edit=true) {
parent::__construct($params);
$this->initCommissionGroupId($this->getFieldValue("CommissionGroupId"));
if ($edit) {
$this->commissionTypeId = $this->getFieldValue("Id");
if($this->commissionTypeId == "") {
throw new Exception($this->_("CommissionTypeId (Id) cannot be empty!"));
}
}
}