54 lines
2.3 KiB
JSON
54 lines
2.3 KiB
JSON
{
|
|
"tables": [
|
|
{
|
|
"key": "Ondoc_Versandstrasse_Paket",
|
|
"displayName": "Ondoc_Versandstrasse_Paket",
|
|
"sqlList": "SELECT ID, erstellt_am as Name from Ondoc_Versandstrasse_Paket order by Id desc",
|
|
"sqlById": "SELECT paket as JsonData from Ondoc_Versandstrasse_Paket where id= @id ",
|
|
"idField": "ID",
|
|
"displayField": "ID",
|
|
"jsonField": "JsonData",
|
|
"Buttons": "Öffnen",
|
|
"AnzeigeDokument": "",
|
|
"FilterColumns": ""
|
|
},
|
|
{
|
|
"key": "NLOGApiDoc",
|
|
"displayName": "APIDoc",
|
|
"sqlList": "SELECT ID, CreatedOn, GUID from edoka_journale.dbo.nlogapidoc where message='Input JSON' and isnull(div,'')<>'' order by Id desc",
|
|
"sqlById": "SELECT div as JsonData from edoka_journale.dbo.nlogapidoc where id= @id ",
|
|
"idField": "ID",
|
|
"displayField": "ID",
|
|
"jsonField": "JsonData",
|
|
"Buttons": "Öffnen",
|
|
"AnzeigeDokument": "",
|
|
"FilterColumns": "GUID"
|
|
|
|
},
|
|
{
|
|
"key": "CLMDokumente",
|
|
"displayName": "CLM-Dokumente",
|
|
"sqlList": "SELECT ID, clmdokumentid as CLM_ID, GUID, Erstellt_Am, Aktiv, Archivstatus, Archiviert from ondoc_clm_dokumente [FILTER] order by Id desc",
|
|
"sqlById": "SELECT jsondata as JsonData from ondoc_clm_dokumente where id= @id ",
|
|
"idField": "ID",
|
|
"displayField": "ID",
|
|
"jsonField": "JsonData",
|
|
"Buttons": "Öffnen;Anzeigen",
|
|
"AnzeigeDokument": "SELECT dbo.BinaryToBase64(dokument) FROM dbo.OnDoc_CLM_Dokumente INNER JOIN dbo.Doks ON dbo.OnDoc_CLM_Dokumente.dokumentid = dbo.Doks.DokumentID where dbo.ondoc_clm_dokumente.id=@id",
|
|
"FilterColumns": "clmdokumentid;archivstatus"
|
|
},
|
|
{
|
|
"key": "CLMJournal",
|
|
"displayName": "CLM-Journal",
|
|
"sqlList": "SELECT ID, clmdokumentid as CLM_ID, Dokumentid, GUID, Erstellt_Am, Aktiv, Archivstatus, Archiviert, Archiviert_am from ondoc_clm_dokumente [FILTER] order by Id desc",
|
|
"sqlById": " ",
|
|
"idField": "ID",
|
|
"displayField": "ID",
|
|
"jsonField": "",
|
|
"Buttons": "Anzeigen",
|
|
"AnzeigeDokument": "SELECT dbo.BinaryToBase64(dokument) FROM dbo.OnDoc_CLM_Dokumente INNER JOIN dbo.Doks ON dbo.OnDoc_CLM_Dokumente.dokumentid = dbo.Doks.DokumentID where dbo.ondoc_clm_dokumente.id=@id",
|
|
"FilterColumns": "clmdokumentid;archivstatus;dokumentid"
|
|
}
|
|
|
|
]
|
|
} |