dataHistory_api

Mixin. Provide historical data storage

Methods

# newversion (ctxobject) static

Create new version of specified record. Newly created record is not inserted to database. For inserting record to the database insert method should be called

Arguments:
  • ctx: object
    • entitystring

      Entity code

    • methodstring

      Should be === 'newversion'

    • execParamsobject

      Optional values for attributes of new record

    • fieldListarray.<string>

      Names of attributes to be returned in result