Sequence Data Type

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

Example

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