Skip to content
Snippets Groups Projects
Commit c3bf0529 authored by Martin Groppe's avatar Martin Groppe
Browse files

Merge branch 'marketing_1083069_EditTracking' into '2021.1'

Marketing 1083069 edit tracking

See merge request xrm/basic!1142
parents effb122d 7a6401e0
No related branches found
No related tags found
No related merge requests found
Showing
with 669 additions and 12 deletions
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="v.broens" id="5ba15adf-e9c9-46ee-989e-7ee02a3a61b7">
<addColumn tableName="BULKMAIL">
<column name="USER_NEW" type="NVARCHAR(50)" value="Admin"/>
<column name="DATE_NEW" type="TIMESTAMP" valueComputed="current_timestamp"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column name="DATE_EDIT" type="TIMESTAMP"/>
</addColumn>
<addColumn tableName="BULKMAILRECIPIENT">
<column name="USER_NEW" type="NVARCHAR(50)" value="Admin"/>
<column name="DATE_NEW" type="TIMESTAMP" valueComputed="current_timestamp"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column name="DATE_EDIT" type="TIMESTAMP"/>
</addColumn>
<addColumn tableName="BULKMAILTESTRECIPIENT">
<column name="USER_NEW" type="NVARCHAR(50)" value="Admin"/>
<column name="DATE_NEW" type="TIMESTAMP" valueComputed="current_timestamp"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column name="DATE_EDIT" type="TIMESTAMP"/>
</addColumn>
<addColumn tableName="INTEREST">
<column name="USER_NEW" type="NVARCHAR(50)" value="Admin"/>
<column name="DATE_NEW" type="TIMESTAMP" valueComputed="current_timestamp"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column name="DATE_EDIT" type="TIMESTAMP"/>
</addColumn>
<addColumn tableName="INTERESTLINK">
<column name="USER_NEW" type="NVARCHAR(50)" value="Admin"/>
<column name="DATE_NEW" type="TIMESTAMP" valueComputed="current_timestamp"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column name="DATE_EDIT" type="TIMESTAMP"/>
</addColumn>
<addColumn tableName="EMAIL_FILTER_HANDLING">
<column name="USER_NEW" type="NVARCHAR(50)" value="Admin"/>
<column name="DATE_NEW" type="TIMESTAMP" valueComputed="current_timestamp"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column name="DATE_EDIT" type="TIMESTAMP"/>
</addColumn>
<addColumn tableName="WEBLINK_CLICK">
<column name="USER_NEW" type="NVARCHAR(50)" value="Admin"/>
<column name="DATE_NEW" type="TIMESTAMP" valueComputed="current_timestamp"/>
<column name="USER_EDIT" type="VARCHAR(50)"/>
<column name="DATE_EDIT" type="TIMESTAMP"/>
</addColumn>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?> <?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd"> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<include relativeToChangelogFile="true" file="insertBulkmailRecipientStatus.xml"/> <include relativeToChangelogFile="true" file="insertBulkmailRecipientStatus.xml"/>
<include relativeToChangelogFile="true" file="alter_MarketingDateUser.xml"/>
</databaseChangeLog> </databaseChangeLog>
\ No newline at end of file
...@@ -10866,6 +10866,62 @@ ...@@ -10866,6 +10866,62 @@
</entityDependency> </entityDependency>
</dependencies> </dependencies>
</entityFieldDb> </entityFieldDb>
<entityFieldDb>
<name>DATE_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DATE_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields> </entityFields>
</entityDb> </entityDb>
<entityDb> <entityDb>
...@@ -11012,6 +11068,62 @@ ...@@ -11012,6 +11068,62 @@
<title></title> <title></title>
<description></description> <description></description>
</entityFieldDb> </entityFieldDb>
<entityFieldDb>
<name>DATE_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DATE_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields> </entityFields>
</entityDb> </entityDb>
<entityDb> <entityDb>
...@@ -18719,6 +18831,20 @@ ...@@ -18719,6 +18831,20 @@
<title></title> <title></title>
<description></description> <description></description>
</entityFieldDb> </entityFieldDb>
<entityFieldDb>
<name>ISACTIVE</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="-6" />
<size v="3" />
<scale v="0" />
<notNull v="true" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields> </entityFields>
</entityDb> </entityDb>
<entityDb> <entityDb>
...@@ -18927,6 +19053,62 @@ ...@@ -18927,6 +19053,62 @@
<title></title> <title></title>
<description></description> <description></description>
</entityFieldDb> </entityFieldDb>
<entityFieldDb>
<name>DATE_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DATE_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields> </entityFields>
</entityDb> </entityDb>
<entityDb> <entityDb>
...@@ -19003,6 +19185,62 @@ ...@@ -19003,6 +19185,62 @@
<title></title> <title></title>
<description></description> <description></description>
</entityFieldDb> </entityFieldDb>
<entityFieldDb>
<name>DATE_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DATE_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields> </entityFields>
</entityDb> </entityDb>
<entityDb> <entityDb>
...@@ -19093,6 +19331,62 @@ ...@@ -19093,6 +19331,62 @@
<title></title> <title></title>
<description></description> <description></description>
</entityFieldDb> </entityFieldDb>
<entityFieldDb>
<name>DATE_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DATE_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields> </entityFields>
</entityDb> </entityDb>
<entityDb> <entityDb>
...@@ -19225,6 +19519,62 @@ ...@@ -19225,6 +19519,62 @@
<title></title> <title></title>
<description></description> <description></description>
</entityFieldDb> </entityFieldDb>
<entityFieldDb>
<name>DATE_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DATE_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields> </entityFields>
</entityDb> </entityDb>
<entityDb> <entityDb>
...@@ -20949,7 +21299,7 @@ ...@@ -20949,7 +21299,7 @@
<columnType v="12" /> <columnType v="12" />
<size v="36" /> <size v="36" />
<scale v="0" /> <scale v="0" />
<notNull v="true" /> <notNull v="false" />
<isUnique v="false" /> <isUnique v="false" />
<index v="false" /> <index v="false" />
<documentation></documentation> <documentation></documentation>
...@@ -20963,7 +21313,7 @@ ...@@ -20963,7 +21313,7 @@
<columnType v="12" /> <columnType v="12" />
<size v="250" /> <size v="250" />
<scale v="0" /> <scale v="0" />
<notNull v="true" /> <notNull v="false" />
<isUnique v="false" /> <isUnique v="false" />
<index v="false" /> <index v="false" />
<documentation></documentation> <documentation></documentation>
...@@ -20991,7 +21341,7 @@ ...@@ -20991,7 +21341,7 @@
<columnType v="4" /> <columnType v="4" />
<size v="10" /> <size v="10" />
<scale v="0" /> <scale v="0" />
<notNull v="true" /> <notNull v="false" />
<isUnique v="false" /> <isUnique v="false" />
<index v="false" /> <index v="false" />
<documentation></documentation> <documentation></documentation>
...@@ -21017,7 +21367,7 @@ ...@@ -21017,7 +21367,7 @@
<dbName></dbName> <dbName></dbName>
<primaryKey v="false" /> <primaryKey v="false" />
<columnType v="12" /> <columnType v="12" />
<size v="500" /> <size v="250" />
<scale v="0" /> <scale v="0" />
<notNull v="false" /> <notNull v="false" />
<isUnique v="false" /> <isUnique v="false" />
...@@ -21027,13 +21377,69 @@ ...@@ -21027,13 +21377,69 @@
<description></description> <description></description>
</entityFieldDb> </entityFieldDb>
<entityFieldDb> <entityFieldDb>
<name>ISFALLTHROUGH</name> <name>DATE_EDIT</name>
<dbName></dbName> <dbName></dbName>
<primaryKey v="false" /> <primaryKey v="false" />
<columnType v="-6" /> <columnType v="93" />
<size v="3" /> <size v="19" />
<scale v="0" /> <scale v="0" />
<notNull v="true" /> <notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>WORKFLOWSIGNAL_NAME</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="250" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DATE_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" /> <isUnique v="false" />
<index v="false" /> <index v="false" />
<documentation></documentation> <documentation></documentation>
......
...@@ -205,6 +205,31 @@ ...@@ -205,6 +205,31 @@
<entityParameter> <entityParameter>
<name>ExcludeBlacklisted_param</name> <name>ExcludeBlacklisted_param</name>
</entityParameter> </entityParameter>
<entityField>
<name>DATE_EDIT</name>
<contentType>DATE</contentType>
<valueProcess>%aditoprj%/entity/BulkMailRecipient_entity/entityfields/date_edit/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>DATE_NEW</name>
<contentType>DATE</contentType>
<valueProcess>%aditoprj%/entity/BulkMailRecipient_entity/entityfields/date_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>USER_EDIT</name>
<valueProcess>%aditoprj%/entity/BulkMailRecipient_entity/entityfields/user_edit/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>USER_NEW</name>
<valueProcess>%aditoprj%/entity/BulkMailRecipient_entity/entityfields/user_new/valueProcess.js</valueProcess>
</entityField>
<entityActionField>
<name>openAminView</name>
<title>Open Admin View</title>
<onActionProcess>%aditoprj%/entity/BulkMailRecipient_entity/entityfields/openaminview/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CURLY_BRACKETS</iconId>
<stateProcess>%aditoprj%/entity/BulkMailRecipient_entity/entityfields/openaminview/stateProcess.js</stateProcess>
</entityActionField>
</entityFields> </entityFields>
<recordContainers> <recordContainers>
<dbRecordContainer> <dbRecordContainer>
...@@ -282,6 +307,22 @@ ...@@ -282,6 +307,22 @@
<name>HASCOMMUNICATIONREJECTION.value</name> <name>HASCOMMUNICATIONREJECTION.value</name>
<expression>%aditoprj%/entity/BulkMailRecipient_entity/recordcontainers/db/recordfieldmappings/hascommunicationrejection.value/expression.js</expression> <expression>%aditoprj%/entity/BulkMailRecipient_entity/recordcontainers/db/recordfieldmappings/hascommunicationrejection.value/expression.js</expression>
</dbRecordFieldMapping> </dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_EDIT.value</name>
<recordfield>BULKMAILRECIPIENT.USER_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_NEW.value</name>
<recordfield>BULKMAILRECIPIENT.USER_NEW</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DATE_EDIT.value</name>
<recordfield>BULKMAILRECIPIENT.DATE_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DATE_NEW.value</name>
<recordfield>BULKMAILRECIPIENT.DATE_NEW</recordfield>
</dbRecordFieldMapping>
</recordFieldMappings> </recordFieldMappings>
<linkInformation> <linkInformation>
<linkInformation> <linkInformation>
......
import("system.util");
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_EDIT)
result.string(vars.get("$sys.date"));
\ No newline at end of file
import("system.util");
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
result.string(vars.get("$sys.date"));
\ No newline at end of file
import("system.vars");
import("Context_lib");
AdminViewUtils.open("BULKMAIL_ID", [
["DATE_NEW", vars.get("$field.DATE_NEW"), "DATE"],
["DATE_EDIT", vars.get("$field.DATE_EDIT"), "DATE"],
["USER_NEW", vars.get("$field.USER_NEW")],
["USER_EDIT", vars.get("$field.USER_EDIT")]
]);
\ No newline at end of file
import("Context_lib");
import("system.result");
result.string(AdminViewUtils.getActionState());
\ No newline at end of file
import("system.util");
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_EDIT)
result.string(vars.get("$sys.user"));
\ No newline at end of file
import("system.util");
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
result.string(vars.get("$sys.user"));
\ No newline at end of file
...@@ -57,6 +57,31 @@ ...@@ -57,6 +57,31 @@
<entityField> <entityField>
<name>ORGANISATION_ID</name> <name>ORGANISATION_ID</name>
</entityField> </entityField>
<entityField>
<name>DATE_NEW</name>
<contentType>DATE</contentType>
<valueProcess>%aditoprj%/entity/BulkMailTestRecipient_entity/entityfields/date_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>DATE_EDIT</name>
<contentType>DATE</contentType>
<valueProcess>%aditoprj%/entity/BulkMailTestRecipient_entity/entityfields/date_edit/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>USER_NEW</name>
<valueProcess>%aditoprj%/entity/BulkMailTestRecipient_entity/entityfields/user_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>USER_EDIT</name>
<valueProcess>%aditoprj%/entity/BulkMailTestRecipient_entity/entityfields/user_edit/valueProcess.js</valueProcess>
</entityField>
<entityActionField>
<name>openAdminView</name>
<title>Open Admin View</title>
<onActionProcess>%aditoprj%/entity/BulkMailTestRecipient_entity/entityfields/openadminview/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CURLY_BRACKETS</iconId>
<stateProcess>%aditoprj%/entity/BulkMailTestRecipient_entity/entityfields/openadminview/stateProcess.js</stateProcess>
</entityActionField>
</entityFields> </entityFields>
<recordContainers> <recordContainers>
<dbRecordContainer> <dbRecordContainer>
...@@ -93,6 +118,22 @@ ...@@ -93,6 +118,22 @@
<name>ORGANISATION_ID.value</name> <name>ORGANISATION_ID.value</name>
<recordfield>CONTACT.ORGANISATION_ID</recordfield> <recordfield>CONTACT.ORGANISATION_ID</recordfield>
</dbRecordFieldMapping> </dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DATE_EDIT.value</name>
<recordfield>BULKMAILTESTRECIPIENT.DATE_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DATE_NEW.value</name>
<recordfield>BULKMAILTESTRECIPIENT.DATE_NEW</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_EDIT.value</name>
<recordfield>BULKMAILTESTRECIPIENT.USER_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_NEW.value</name>
<recordfield>BULKMAILTESTRECIPIENT.USER_NEW</recordfield>
</dbRecordFieldMapping>
</recordFieldMappings> </recordFieldMappings>
<linkInformation> <linkInformation>
<linkInformation> <linkInformation>
......
import("system.util");
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_EDIT)
result.string(vars.get("$sys.date"));
\ No newline at end of file
import("system.util");
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
result.string(vars.get("$sys.date"));
\ No newline at end of file
import("system.vars");
import("Context_lib");
AdminViewUtils.open("BULKMAIL_ID", [
["DATE_NEW", vars.get("$field.DATE_NEW"), "DATE"],
["DATE_EDIT", vars.get("$field.DATE_EDIT"), "DATE"],
["USER_NEW", vars.get("$field.USER_NEW")],
["USER_EDIT", vars.get("$field.USER_EDIT")]
]);
\ No newline at end of file
import("Context_lib");
import("system.result");
result.string(AdminViewUtils.getActionState());
\ No newline at end of file
import("system.util");
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_EDIT)
result.string(vars.get("$sys.user"));
\ No newline at end of file
import("system.util");
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
result.string(vars.get("$sys.user"));
\ No newline at end of file
...@@ -354,6 +354,7 @@ ...@@ -354,6 +354,7 @@
</entityField> </entityField>
<entityField> <entityField>
<name>DATE_NEW</name> <name>DATE_NEW</name>
<contentType>DATE</contentType>
<valueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/date_new/valueProcess.js</valueProcess> <valueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/date_new/valueProcess.js</valueProcess>
</entityField> </entityField>
<entityField> <entityField>
...@@ -529,6 +530,19 @@ ...@@ -529,6 +530,19 @@
<iconId>NEON:WRENCH</iconId> <iconId>NEON:WRENCH</iconId>
<stateProcess>%aditoprj%/entity/BulkMail_entity/entityfields/openmosaico/stateProcess.js</stateProcess> <stateProcess>%aditoprj%/entity/BulkMail_entity/entityfields/openmosaico/stateProcess.js</stateProcess>
</entityActionField> </entityActionField>
<entityField>
<name>DATE_EDIT</name>
<contentType>DATE</contentType>
<valueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/date_edit/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>USER_NEW</name>
<valueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/user_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>USER_EDIT</name>
<valueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/user_edit/valueProcess.js</valueProcess>
</entityField>
</entityFields> </entityFields>
<recordContainers> <recordContainers>
<dbRecordContainer> <dbRecordContainer>
...@@ -646,6 +660,22 @@ ...@@ -646,6 +660,22 @@
<isFilterable v="true" /> <isFilterable v="true" />
<filtertype>BASIC</filtertype> <filtertype>BASIC</filtertype>
</consumerMapping> </consumerMapping>
<dbRecordFieldMapping>
<name>DATE_EDIT.value</name>
<recordfield>BULKMAIL.DATE_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DATE_NEW.value</name>
<recordfield>BULKMAIL.DATE_NEW</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_EDIT.value</name>
<recordfield>BULKMAIL.USER_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_NEW.value</name>
<recordfield>BULKMAIL.USER_NEW</recordfield>
</dbRecordFieldMapping>
</recordFieldMappings> </recordFieldMappings>
<linkInformation> <linkInformation>
<linkInformation> <linkInformation>
......
import("system.util");
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_EDIT)
result.string(vars.get("$sys.date"));
\ No newline at end of file
import("system.util");
import("system.result"); import("system.result");
import("system.neon");
import("system.vars"); import("system.vars");
if (vars.get("$this.value") != null) if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
{ result.string(vars.get("$sys.date"));
result.string(vars.get("$sys.date")); \ No newline at end of file
}
\ 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