Sequence Data Type

Subtypes
InvoiceSequence
Implemented Interfaces
IReferenceEntity, Serializable
Properties
name data type constraints description
transient boolean  
codeChanged boolean  
sequenceType SequenceTypeEnum  
referenceDescription string  
notified boolean  
version number  
parentEntityType object  
currentNumber number  
referenceCode string  
auditableFields array of AuditableFieldHistory  
descriptionAndCode string  
auditable Auditable  
genericEntityCodes array of CustomGenericEntityCode  
sequencePattern string  
parentEntity BusinessEntity  
id number  
historized boolean  
sequenceSize number  
appendGeneratedCode boolean  
descriptionOrCode string  
code string required, max size: 255, min size: 1
description string max size: 255, min size: 0

Example

{
  "transient" : true,
  "codeChanged" : true,
  "sequenceType" : "UUID",
  "referenceDescription" : "...",
  "notified" : true,
  "version" : 12345,
  "parentEntityType" : { },
  "currentNumber" : 12345,
  "referenceCode" : "...",
  "auditableFields" : [ {
    "fieldName" : "...",
    "notfiable" : true,
    "auditType" : "STATUS",
    "historized" : true,
    "previousState" : { },
    "currentState" : { },
    "historable" : true,
    "notified" : true
  }, {
    "fieldName" : "...",
    "notfiable" : true,
    "auditType" : "STATUS",
    "historized" : true,
    "previousState" : { },
    "currentState" : { },
    "historable" : true,
    "notified" : true
  } ],
  "descriptionAndCode" : "...",
  "auditable" : {
    "created" : 12345,
    "creator" : "...",
    "lastUser" : "...",
    "updater" : "...",
    "updated" : 12345,
    "lastModified" : 12345
  },
  "genericEntityCodes" : [ {
    "formatEL" : "...",
    "entityClass" : "...",
    "historized" : true,
    "notified" : true,
    "sequence" : {
      "transient" : true,
      "codeChanged" : true,
      "sequenceType" : "SEQUENCE",
      "referenceDescription" : "...",
      "notified" : true,
      "version" : 12345,
      "parentEntityType" : { },
      "currentNumber" : 12345,
      "referenceCode" : "...",
      "auditableFields" : [ { }, { } ],
      "descriptionAndCode" : "...",
      "auditable" : { },
      "genericEntityCodes" : [ { }, { } ],
      "sequencePattern" : "...",
      "parentEntity" : { },
      "id" : 12345,
      "historized" : true,
      "sequenceSize" : 12345,
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "code" : "...",
      "description" : "..."
    },
    "id" : 12345,
    "version" : 12345,
    "transient" : true,
    "auditable" : {
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345
    },
    "codeEL" : "...",
    "auditableFields" : [ {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "RENEWAL",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    }, {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "OTHER",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    } ]
  }, {
    "formatEL" : "...",
    "entityClass" : "...",
    "historized" : true,
    "notified" : true,
    "sequence" : {
      "transient" : true,
      "codeChanged" : true,
      "sequenceType" : "REGEXP",
      "referenceDescription" : "...",
      "notified" : true,
      "version" : 12345,
      "parentEntityType" : { },
      "currentNumber" : 12345,
      "referenceCode" : "...",
      "auditableFields" : [ { }, { } ],
      "descriptionAndCode" : "...",
      "auditable" : { },
      "genericEntityCodes" : [ { }, { } ],
      "sequencePattern" : "...",
      "parentEntity" : { },
      "id" : 12345,
      "historized" : true,
      "sequenceSize" : 12345,
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "code" : "...",
      "description" : "..."
    },
    "id" : 12345,
    "version" : 12345,
    "transient" : true,
    "auditable" : {
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345
    },
    "codeEL" : "...",
    "auditableFields" : [ {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "RENEWAL",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    }, {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "OTHER",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    } ]
  } ],
  "sequencePattern" : "...",
  "parentEntity" : {
    "referenceDescription" : "...",
    "auditableFields" : [ {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "STATUS",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    }, {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "STATUS",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    } ],
    "parentEntity" : { },
    "codeChanged" : true,
    "description" : "...",
    "auditable" : {
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345
    },
    "transient" : true,
    "referenceCode" : "...",
    "version" : 12345,
    "code" : "...",
    "parentEntityType" : { },
    "id" : 12345,
    "notified" : true,
    "appendGeneratedCode" : true,
    "descriptionAndCode" : "...",
    "historized" : true,
    "descriptionOrCode" : "..."
  },
  "id" : 12345,
  "historized" : true,
  "sequenceSize" : 12345,
  "appendGeneratedCode" : true,
  "descriptionOrCode" : "...",
  "code" : "...",
  "description" : "..."
}