Implement UpdateLastSyncFromDocuments hook; adjust syncStatus logic; update layout and metadata for dokumentes relationship

This commit is contained in:
2026-03-25 22:26:49 +01:00
parent 4a302542b7
commit 35d165a4b6
8 changed files with 163 additions and 39 deletions

View File

@@ -14,7 +14,9 @@
"tabLabel": "Dokumente"
},
"dokumentes": {
"index": 1
"index": 1,
"view": "views/record/panels/relationship",
"layout": "listForAdvowareAkten"
},
"_tabBreak_1": {
"index": 2,

View File

@@ -0,0 +1,39 @@
[
{
"name": "name",
"link": true,
"width": 20
},
{
"name": "advowareArt",
"align": "left",
"width": 12
},
{
"name": "advowareBemerkung",
"align": "left",
"notSortable": true,
"width": 18
},
{
"name": "syncStatus",
"align": "left",
"width": 12
},
{
"name": "lastSyncTimestamp",
"align": "left",
"width": 13
},
{
"name": "dokument",
"notSortable": true,
"align": "left",
"width": 12
},
{
"name": "createdAt",
"align": "left",
"width": 13
}
]

View File

@@ -104,36 +104,6 @@
"tooltip": true,
"isCustom": true
},
"dokumenteHnr": {
"type": "int",
"notStorable": true,
"utility": true,
"disabled": true
},
"dokumenteSyncstatus": {
"type": "enum",
"options": [
"new",
"unclean",
"synced",
"failed"
],
"notStorable": true,
"utility": true,
"disabled": true
},
"dokumenteLastSync": {
"type": "datetime",
"notStorable": true,
"utility": true,
"disabled": true
},
"dokumenteSyncedHash": {
"type": "varchar",
"notStorable": true,
"utility": true,
"disabled": true
},
"dokumentes": {
"type": "linkMultiple",
"layoutDetailDisabled": false,
@@ -143,7 +113,6 @@
"importDisabled": false,
"exportDisabled": false,
"customizationDisabled": false,
"disabled": true,
"isCustom": true
}
},

View File

@@ -78,6 +78,7 @@
"hnr": {
"type": "int",
"tooltip": true,
"disableFormatting": true,
"isCustom": true
},
"syncStatus": {
@@ -108,8 +109,10 @@
},
"usn": {
"type": "int",
"dbType": "bigint",
"min": 0,
"tooltip": true,
"disableFormatting": true,
"isCustom": true
},
"dateipfad": {