Files
espocrm/application/Espo/Resources/metadata/entityDefs/ImportError.json
2026-01-19 17:46:06 +01:00

78 lines
2.0 KiB
JSON

{
"fields": {
"import": {
"type": "link",
"readOnly": true
},
"entityType": {
"type": "foreign",
"link": "import",
"field": "entityType"
},
"rowIndex": {
"type": "int",
"readOnly": true,
"tooltip": true
},
"exportRowIndex": {
"type": "int",
"readOnly": true
},
"lineNumber": {
"type": "int",
"readOnly": true,
"tooltip": true,
"notStorable": true,
"view": "views/import-error/fields/line-number"
},
"exportLineNumber": {
"type": "int",
"readOnly": true,
"tooltip": true,
"notStorable": true,
"view": "views/import-error/fields/line-number"
},
"type": {
"type": "enum",
"options": [
"",
"Validation",
"No-Access",
"Not-Found",
"Integrity-Constraint-Violation"
],
"readOnly": true
},
"validationFailures": {
"type": "jsonArray",
"readOnly": true,
"view": "views/import-error/fields/validation-failures"
},
"row": {
"type": "array",
"readOnly": true,
"displayAsList": true,
"doNotStoreArrayValues": true
}
},
"links": {
"import": {
"type": "belongsTo",
"entity": "Import",
"foreign": "errors",
"foreignName": "id"
}
},
"collection": {
"orderBy": "rowIndex"
},
"indexes": {
"rowIndex": {
"columns": ["rowIndex"]
},
"importRowIndex": {
"columns": ["importId", "rowIndex"]
}
}
}