js/data/Model.js
function (action, options) {
            var ret = this.callBase();

            if (action === "create" && ret.hasOwnProperty(this.idField) && [this.idField] === null) {
                delete ret[this.idField];
            }

            return ret;
        }
function (action, options) {
            var ret = this.callBase();

            if (action === "create" && ret.hasOwnProperty(this.idField) && [this.idField] === null) {
                delete ret[this.idField];
            }

            return ret;
        }
function ( action , options ) { var ret = this . callBase ( ) ; if ( action === "create" && ret . hasOwnProperty ( this . idField ) && [ this . idField ] === null ) { delete ret [ this . idField ] ; } return ret ; }
Pre-Composes the model before it goes to the DataSource processor

@param action
@param options
@returns {*}
Pre - Composes the model before it goes to the DataSource processor