CustomFieldTemplate Data Type

Implemented Interfaces
IReferenceEntity, Serializable
Properties
name data type constraints description
historized boolean  
matrixColumns array of CustomFieldMatrixColumn  
id number  
version number  
defaultValueConverted object  
appliesTo string  
dbFieldname string  
hideOnNew boolean  
valueRequired boolean  
auditableFields array of AuditableFieldHistory  
displayFormat string  
GUIFieldPosition number  
auditable Auditable  
indexType CustomFieldIndexTypeEnum  
active boolean  
regExp string  
protectable boolean  
description string max size: 255, min size: 0
matrixKeyColumnCodes array of string  
uniqueConstraint boolean  
matrixKeyColumns array of CustomFieldMatrixColumn  
defaultValue string  
hideInGUI boolean  
entityClazzCetCode string  
codeChanged boolean  
fieldsEL string  
calendar Calendar  
anonymizeGdpr boolean  
mapKeyType CustomFieldMapKeyEnum  
guiPositionParsed map of string  
storageType CustomFieldStorageTypeEnum  
parentEntity BusinessEntity  
descriptionOrCode string  
disabled boolean  
descriptionI18n map of string  
tags string  
descriptionI18nNullSafe map of string  
childEntityFields string  
code string required, max size: 255, min size: 1
versionable boolean  
applicableOnEl string  
nbDecimal number  
triggerEndPeriodEvent boolean  
matrixColumnCodes array of string  
referenceCode string  
minValue number  
roundingMode RoundingModeEnum  
dataFilterEL string  
matrixValueColumnCodes array of string  
useInheritedAsDefaultValue boolean  
notified boolean  
referenceDescription string  
matrixValueColumns array of CustomFieldMatrixColumn  
transient boolean  
allowEdit boolean  
parentEntityType object  
entityClazz string  
guiPosition string  
listValues map of string  
descriptionAndCode string  
listValuesSorted map of string  
customTableCodeEL string  
fieldType CustomFieldTypeEnum  
maxValue number  
childEntityFieldsAsList array of string  
appendGeneratedCode boolean  

Example

{
  "historized" : true,
  "matrixColumns" : [ {
    "position" : 12345,
    "label" : "...",
    "columnForKey" : true,
    "code" : "...",
    "columnUse" : "USE_VALUE",
    "keyType" : "RON"
  }, {
    "position" : 12345,
    "label" : "...",
    "columnForKey" : true,
    "code" : "...",
    "columnUse" : "USE_KEY",
    "keyType" : "STRING"
  } ],
  "id" : 12345,
  "version" : 12345,
  "defaultValueConverted" : { },
  "appliesTo" : "...",
  "dbFieldname" : "...",
  "hideOnNew" : true,
  "valueRequired" : true,
  "auditableFields" : [ {
    "fieldName" : "...",
    "notfiable" : true,
    "historable" : true,
    "auditType" : "RENEWAL",
    "currentState" : { },
    "previousState" : { },
    "notified" : true,
    "historized" : true
  }, {
    "fieldName" : "...",
    "notfiable" : true,
    "historable" : true,
    "auditType" : "RENEWAL",
    "currentState" : { },
    "previousState" : { },
    "notified" : true,
    "historized" : true
  } ],
  "displayFormat" : "...",
  "GUIFieldPosition" : 12345,
  "auditable" : {
    "created" : 12345,
    "lastUser" : "...",
    "creator" : "...",
    "updater" : "...",
    "updated" : 12345,
    "lastModified" : 12345
  },
  "indexType" : "STORE_ONLY",
  "active" : true,
  "regExp" : "...",
  "protectable" : true,
  "description" : "...",
  "matrixKeyColumnCodes" : [ "...", "..." ],
  "uniqueConstraint" : true,
  "matrixKeyColumns" : [ {
    "position" : 12345,
    "label" : "...",
    "columnForKey" : true,
    "code" : "...",
    "columnUse" : "USE_VALUE",
    "keyType" : "DOUBLE"
  }, {
    "position" : 12345,
    "label" : "...",
    "columnForKey" : true,
    "code" : "...",
    "columnUse" : "USE_VALUE",
    "keyType" : "STRING"
  } ],
  "defaultValue" : "...",
  "hideInGUI" : true,
  "entityClazzCetCode" : "...",
  "codeChanged" : true,
  "fieldsEL" : "...",
  "calendar" : {
    "descriptionI18n" : {
      "property1" : "...",
      "property2" : "..."
    },
    "calendarType" : "...",
    "parentEntityType" : { },
    "initDateEL" : "...",
    "historized" : true,
    "descriptionAndCode" : "...",
    "auditableFields" : [ {
      "fieldName" : "...",
      "notfiable" : true,
      "historable" : true,
      "auditType" : "OTHER",
      "currentState" : { },
      "previousState" : { },
      "notified" : true,
      "historized" : true
    }, {
      "fieldName" : "...",
      "notfiable" : true,
      "historable" : true,
      "auditType" : "STATUS",
      "currentState" : { },
      "previousState" : { },
      "notified" : true,
      "historized" : true
    } ],
    "referenceCode" : "...",
    "initDate" : 12345,
    "codeChanged" : true,
    "id" : 12345,
    "calendarTypeWSubtypes" : "...",
    "code" : "...",
    "description" : "...",
    "initializationRequired" : true,
    "version" : 12345,
    "transient" : true,
    "appendGeneratedCode" : true,
    "descriptionOrCode" : "...",
    "referenceDescription" : "...",
    "notified" : true,
    "parentEntity" : {
      "auditable" : { },
      "transient" : true,
      "descriptionAndCode" : "...",
      "id" : 12345,
      "code" : "...",
      "auditableFields" : [ { }, { } ],
      "descriptionOrCode" : "...",
      "appendGeneratedCode" : true,
      "referenceDescription" : "...",
      "parentEntity" : { },
      "description" : "...",
      "parentEntityType" : { },
      "version" : 12345,
      "referenceCode" : "...",
      "codeChanged" : true,
      "historized" : true,
      "notified" : true
    },
    "auditable" : {
      "created" : 12345,
      "lastUser" : "...",
      "creator" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345
    }
  },
  "anonymizeGdpr" : true,
  "mapKeyType" : "LONG",
  "guiPositionParsed" : {
    "property1" : "...",
    "property2" : "..."
  },
  "storageType" : "MAP",
  "parentEntity" : {
    "auditable" : {
      "created" : 12345,
      "lastUser" : "...",
      "creator" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345
    },
    "transient" : true,
    "descriptionAndCode" : "...",
    "id" : 12345,
    "code" : "...",
    "auditableFields" : [ {
      "fieldName" : "...",
      "notfiable" : true,
      "historable" : true,
      "auditType" : "RENEWAL",
      "currentState" : { },
      "previousState" : { },
      "notified" : true,
      "historized" : true
    }, {
      "fieldName" : "...",
      "notfiable" : true,
      "historable" : true,
      "auditType" : "OTHER",
      "currentState" : { },
      "previousState" : { },
      "notified" : true,
      "historized" : true
    } ],
    "descriptionOrCode" : "...",
    "appendGeneratedCode" : true,
    "referenceDescription" : "...",
    "parentEntity" : { },
    "description" : "...",
    "parentEntityType" : { },
    "version" : 12345,
    "referenceCode" : "...",
    "codeChanged" : true,
    "historized" : true,
    "notified" : true
  },
  "descriptionOrCode" : "...",
  "disabled" : true,
  "descriptionI18n" : {
    "property1" : "...",
    "property2" : "..."
  },
  "tags" : "...",
  "descriptionI18nNullSafe" : {
    "property1" : "...",
    "property2" : "..."
  },
  "childEntityFields" : "...",
  "code" : "...",
  "versionable" : true,
  "applicableOnEl" : "...",
  "nbDecimal" : 12345,
  "triggerEndPeriodEvent" : true,
  "matrixColumnCodes" : [ "...", "..." ],
  "referenceCode" : "...",
  "minValue" : 12345,
  "roundingMode" : "HALF_EVEN",
  "dataFilterEL" : "...",
  "matrixValueColumnCodes" : [ "...", "..." ],
  "useInheritedAsDefaultValue" : true,
  "notified" : true,
  "referenceDescription" : "...",
  "matrixValueColumns" : [ {
    "position" : 12345,
    "label" : "...",
    "columnForKey" : true,
    "code" : "...",
    "columnUse" : "USE_KEY",
    "keyType" : "STRING"
  }, {
    "position" : 12345,
    "label" : "...",
    "columnForKey" : true,
    "code" : "...",
    "columnUse" : "USE_KEY",
    "keyType" : "DOUBLE"
  } ],
  "transient" : true,
  "allowEdit" : true,
  "parentEntityType" : { },
  "entityClazz" : "...",
  "guiPosition" : "...",
  "listValues" : {
    "property1" : "...",
    "property2" : "..."
  },
  "descriptionAndCode" : "...",
  "listValuesSorted" : {
    "property1" : "...",
    "property2" : "..."
  },
  "customTableCodeEL" : "...",
  "fieldType" : "BOOLEAN",
  "maxValue" : 12345,
  "childEntityFieldsAsList" : [ "...", "..." ],
  "appendGeneratedCode" : true
}