Skip to content
Snippets Groups Projects
Commit c7c5ceed authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1036415][Übernahme AUDIT und Logging...

[Projekt: Entwicklung - Neon][TicketNr.: 1036415][Übernahme AUDIT und Logging aus bestehendem xRM-Basic für ADITO 2019]
parent 4feb3589
No related branches found
No related tags found
No related merge requests found
import("system.vars");
import("system.result");
import("Contact_lib");
import("system.db");
import("system.result");
import("Loghistory_lib");
var val = vars.get("$local.value");
result.string(db.cell("select ORG.ORGNAME from ORG where ORG.ORGID = '" + val + "'"));
\ No newline at end of file
var params = Translate4LogParams.load();
var res = OrganisationUtils.getNameByContactId(params.value);
result.string(res);
\ No newline at end of file
......@@ -2,7 +2,6 @@ import("Contact_lib");
import("system.db");
import("system.result");
import("Loghistory_lib");
import("Sql_lib");
var params = Translate4LogParams.load();
var res = OrganisationUtils.getNameByContactId(params.value);
......
import("lib_sql");
import("Contact_lib");
import("system.result");
import("system.db");
import("Loghistory_lib");
result.string(db.cell("select " + concat(["SALUTATION", "TITLE", "FIRSTNAME", "LASTNAME"])
+ "from RELATION "
+ "join PERS on RELATION.PERS_ID = PERS.PERSID where RELATION.RELATIONID = '{value}'"));
\ No newline at end of file
var params = Translate4LogParams.load();
var res = ContactUtils.getFullTitleByContactId(params.value);
result.string(res);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment