src/Data/BizDataObj.php
public function newRecord()
    {
        $recArr = $this->bizRecord->getEmptyRecordArr();

        // if association is 1-M, set the field (pointing to the column) value as the FieldRefVal
        if ($this->association["Relationship"] == "1-M") {
            foreach ($this->bizRecord as $field) {
                if ($field->column == $this->association["Column"] && !$field->join) {
                    $recArr[$field->objectName] = $this->association["FieldRefVal"];
                    break;
                }
            }
        }

        return $recArr;
    }
public function newRecord()
    {
        $recArr = $this->bizRecord->getEmptyRecordArr();

        // if association is 1-M, set the field (pointing to the column) value as the FieldRefVal
        if ($this->association["Relationship"] == "1-M") {
            foreach ($this->bizRecord as $field) {
                if ($field->column == $this->association["Column"] && !$field->join) {
                    $recArr[$field->objectName] = $this->association["FieldRefVal"];
                    break;
                }
            }
        }

        return $recArr;
    }
Create an empty new record

@return array - empty record array with default values