Files
espocrm/application/Espo/Resources/metadata/entityDefs/CurrencyRecord.json
bsiggel 127fa6503b chore: Update copyright year from 2025 to 2026 across core files
- Updated copyright headers in 3,055 core application files
- Changed 'Copyright (C) 2014-2025' to 'Copyright (C) 2014-2026'
- Added 123 new files from EspoCRM core updates
- Removed 4 deprecated files
- Total changes: 61,637 insertions, 54,283 deletions

This is a routine maintenance update for the new year 2026.
2026-02-07 16:05:21 +01:00

88 lines
2.4 KiB
JSON

{
"fields": {
"code": {
"type": "varchar",
"maxLength": 3,
"required": true,
"readOnly": true,
"index": true
},
"status": {
"type": "enum",
"options": [
"Active",
"Inactive"
],
"default": "Active",
"maxLength": 8,
"style": {
"Inactive": "info"
}
},
"label": {
"type": "varchar",
"notStorable": true,
"readOnly": true,
"orderDisabled": true,
"loaderClassName": "Espo\\Classes\\FieldProcessing\\CurrencyRecord\\Label"
},
"symbol": {
"type": "varchar",
"notStorable": true,
"readOnly": true,
"orderDisabled": true,
"loaderClassName": "Espo\\Classes\\FieldProcessing\\CurrencyRecord\\Symbol"
},
"rateDate": {
"type": "date",
"readOnly": true,
"notStorable": true,
"orderDisabled": true,
"loaderClassName": "Espo\\Classes\\FieldProcessing\\CurrencyRecord\\RateDate"
},
"rate": {
"type": "decimal",
"readOnly": true,
"notStorable": true,
"orderDisabled": true,
"decimalPlaces": 6,
"loaderClassName": "Espo\\Classes\\FieldProcessing\\CurrencyRecord\\Rate",
"view": "views/currency-record-rate/fields/rate"
},
"isBase": {
"type": "bool",
"readOnly": true,
"notStorable": true,
"orderDisabled": true,
"loaderClassName": "Espo\\Classes\\FieldProcessing\\CurrencyRecord\\IsBase"
}
},
"links": {
"rates": {
"type": "hasMany",
"entity": "CurrencyRecordRate",
"foreign": "record",
"readOnly": true,
"orderBy": "date",
"order": "desc"
}
},
"indexes": {
"codeDeleteId": {
"type": "unique",
"columns": [
"code",
"deleteId"
]
}
},
"deleteId": true,
"collection": {
"textFilterFields": [
"code"
],
"orderBy": "code",
"order": "asc"
}
}