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

Loghistory: minor fixes so that the log entry is testable

parent d2e7752d
No related branches found
No related tags found
No related merge requests found
......@@ -486,6 +486,13 @@
<index v="false" />
<title></title>
<description></description>
<customProperties>
<customBooleanProperty>
<name>log</name>
<global v="false" />
<property v="true" />
</customBooleanProperty>
</customProperties>
</entityFieldDb>
<entityFieldDb>
<name>SALUTATION</name>
......
import("system.vars");
import("system.result");
var sql = "(TABLENAMEID = '" + vars.get("$param.tablenameId_param") + "' and TABLENAME = '" + vars.get("$param.tablename_param") + "') "
+ "or (TABLENAMEID = '" + vars.get("$param.contactId_param") + "' "
+ "and (TABLENAME='CONTACT' or TABLENAME='COMMUNICATION' or TABLENAME='ADDRESS' or TABLENAME='AB_ATTRIBUTERELATION'))";
import("system.vars");
import("system.result");
var sql = "(TABLENAMEID = '" + vars.get("$param.tablenameId_param") + "' and TABLENAME = '" + vars.get("$param.tablename_param") + "') "
+ "or (TABLENAMEID = '" + vars.get("$param.contactId_param") + "' "
+ "and (TABLENAME='CONTACT' or TABLENAME='PERSON' or TABLENAME='COMMUNICATION' or TABLENAME='ADDRESS' or TABLENAME='AB_ATTRIBUTERELATION'))";
result.string(sql);
\ No newline at end of file
......@@ -714,7 +714,6 @@ Usually this is used for filtering COMMUNICATION-entries by a specified contact
<name>LogHistoryConsumer</name>
<title>LogHistory</title>
<fieldType>DEPENDENCY_OUT</fieldType>
<state>READONLY</state>
<dependency>
<name>dependency</name>
<entityName>LogHistory_entity</entityName>
......
This diff is collapsed.
......@@ -3,6 +3,7 @@
<name>process_audit</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<process>%aditoprj%/process/process_audit/process.js</process>
<alias>Data_alias</alias>
<variants>
<element>LIBRARY</element>
<element>EXECUTABLE</element>
......
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