src/Data/DataRecord.php
public function save()
    {
        if (count($this->oldVarValue) > 0) {
            $ok = $this->bizDataObj->updateRecord($this->varValue, $this->oldVarValue);
        } else {
            $ok = $this->bizDataObj->insertRecord($this->varValue);
        }
        
        // repopulate current record with bizdataobj activerecord
        if ($ok) {
            $this->varValue = $this->bizDataObj->getActiveRecord();
            $this->oldVarValue = $this->varValue;
        }
        return $ok;
    }
public function save()
    {
        if (count($this->oldVarValue) > 0) {
            $ok = $this->bizDataObj->updateRecord($this->varValue, $this->oldVarValue);
        } else {
            $ok = $this->bizDataObj->insertRecord($this->varValue);
        }
        
        // repopulate current record with bizdataobj activerecord
        if ($ok) {
            $this->varValue = $this->bizDataObj->getActiveRecord();
            $this->oldVarValue = $this->varValue;
        }
        return $ok;
    }
Save record. This function calls {@link BizDataObj::updateRecord} method internally

@return boolean true for success