Skip to content
Snippets Groups Projects
Commit 64a30b7d authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

Merge branch 'cm_1081572_revisionExport' into '2021.2.0'

Cm 1081572 revision export

See merge request xrm/basic!1307
parents c216d5fc 4d25c558
No related branches found
No related tags found
No related merge requests found
Showing
with 1265 additions and 163 deletions
<?xml version="1.0" encoding="UTF-8" ?>
<blueprint name="Create Export Action">
<type>entityActionField</type>
<parameters>
</parameters>
<data>
<document name="context"><![CDATA[
<entity VERSION="1.3.17">
<entityFields>
<entityActionField>
<name>export</name>
<title>Export</title>
<onActionProcess>import("ExportTemplate_lib");
import("system.vars");
var selection = vars.get("$sys.selection");
if(selection.length == 0) //no selection -> use Filtercondition;
{
selection = vars.get("$sys.filter");
}
ExportTemplateUtils.addParticipants(JSON.stringify(selection), vars.get("$sys.currentcontextname"));</onActionProcess>
<isMenuAction v="true" />
<isObjectAction v="false" />
<iconId>NEON:EXPORT</iconId>
<stateProcess>import("system.result");
import("FilterViewAction_lib");
import("system.vars");
var contactCount = vars.get("$sys.datarowcount");
result.string(FilterViewActionUtils.getComponentStateByRowCount(contactCount));</stateProcess>
<tooltip>Export fields of this table</tooltip>
<tooltipProcess>import("system.translate");
import("system.result");
result.string(translate.text("Export columns using a exporttemplate"));</tooltipProcess>
</entityActionField>
</entityFields>
</entity>
]]></document>
</data>
</blueprint>
<?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="s.pongratz" id="bcf10957-f79e-48b7-8a7b-013cfebe23bc">
<addColumn tableName="EXPORTTEMPLATEFIELD">
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" type="CHAR(36)" />
<column name="USER_NEW" type="NVARCHAR(50)" />
<column name="DATE_NEW" type="DATETIME" />
<column name="USER_EDIT" type="NVARCHAR(50)" />
<column name="DATE_EDIT" type="DATETIME" />
</addColumn>
</changeSet>
<changeSet author="s.pongratz" id="a573c6b0-41ba-4bf1-99f5-b9c2c184dcc2">
<createIndex indexName="IDX_EXPORTTEMPLATEPOU_ID" tableName="EXPORTTEMPLATEFIELD">
<column name="EXPORTTEMPLATEPLACEOFUSE_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?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="s.pongratz" id="8cd938e0-bffc-46ab-8009-b2e2c099c4e3">
<addColumn tableName="EXPORTTEMPLATEPLACEOFUSE">
<column name="TITLE" type="NVARCHAR(150)"/>
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" type="CHAR(36)" />
<column name="OBJECT_FILTER" type="NCLOB" />
<column name="USER_NEW" type="NVARCHAR(50)" />
<column name="DATE_NEW" type="DATETIME" />
<column name="USER_EDIT" type="NVARCHAR(50)" />
<column name="DATE_EDIT" type="DATETIME" />
</addColumn>
</changeSet>
<changeSet author="s.pongratz" id="b8121ece-f3ee-4899-a7d9-c61762cdf1a1">
<createIndex indexName="IDX_ETPOU_ID" tableName="EXPORTTEMPLATEPLACEOFUSE">
<column name="EXPORTTEMPLATEPLACEOFUSE_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?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">
<include relativeToChangelogFile="true" file="add_ExportTemplatePlaceOfUse.xml"/>
<include relativeToChangelogFile="true" file="add_ExportTemplateFields_Dependency_ID.xml"/>
</databaseChangeLog>
\ No newline at end of file
......@@ -9,4 +9,5 @@
<include relativeToChangelogFile="true" file="xRM-Service/changelog.xml"/>
<include relativeToChangelogFile="true" file="Mosaico/changelog.xml"/>
<include relativeToChangelogFile="true" file="EwsContactSync/changelog.xml"/>
<include relativeToChangelogFile="true" file="Export/changelog.xml"/>
</databaseChangeLog>
<?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">
<changeSet author="autogenerated" id="61e54a43-888e-4762-a188-45046738a877">
<delete tableName="exporttemplate"/>
<?xml version="1.0" encoding="UTF-8"?>
<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-4.1.xsd">
<changeSet author="s.pongratz" id="b0d902bd-317a-4a61-a0c3-c88d4697fe34">
<insert tableName="exporttemplate">
<column name="FIELDDELIMITER" value="quotation mark"/>
<column name="ISOLANGUAGE" value="deu"/>
<column name="DATE_EDIT" valueDate="2020-03-02T10:43:24"/>
<column name="DESCRIPTION" value="Anrede, Vor und Nachname sowie Email und Telefonnummer"/>
<column name="USER_EDIT" value="Admin"/>
<column name="TITLE" value="Personen und Kontaktmöglichkeiten"/>
<column name="EXPORTTEMPLATEID" value="3acf26f9-4807-4661-8084-c0c21c593c81"/>
<column name="FIELDSEPARATOR" value="tabulator"/>
<column name="SENTENCESEPARATOR" value="carriage return and line feed"/>
<column name="USER_NEW" value="Admin"/>
<column name="EXPORTTEMPLATEID" value="3acf26f9-4807-4661-8084-c0c21c593c81" />
<column name="TITLE" value="Personen und Kontaktmöglichkeiten" />
<column name="FIELDSEPARATOR" value="tabulator" />
<column name="SENTENCESEPARATOR" value="carriage return and line feed" />
<column name="FIELDDELIMITER" value="quotation mark" />
<column name="ISOLANGUAGE" value="deu" />
<column name="DESCRIPTION" value="Anrede, Vor und Nachname sowie Email und Telefonnummer" />
<column name="DATE_EDIT" valueDate="2020-03-02T10:43:24" />
<column name="DATE_NEW" />
<column name="USER_EDIT" value="Admin" />
<column name="USER_NEW" value="Admin" />
</insert>
<insert tableName="exporttemplate">
<column name="FIELDDELIMITER" value="quotation mark"/>
<column name="ISOLANGUAGE" value="eng"/>
<column name="DATE_EDIT" valueDate="2020-03-02T10:43:24"/>
<column name="DESCRIPTION" value="Anrede, Vor und Nachname sowie Email und Telefonnummer"/>
<column name="USER_EDIT" value="Admin"/>
<column name="TITLE" value="Personen und Kontaktmöglichkeiten (Englisch)"/>
<column name="EXPORTTEMPLATEID" value="84eb1373-3745-4455-a0a7-32cf62c8d4dc"/>
<column name="FIELDSEPARATOR" value="tabulator"/>
<column name="SENTENCESEPARATOR" value="carriage return and line feed"/>
<column name="USER_NEW" value="Admin"/>
<column name="EXPORTTEMPLATEID" value="5aaa7d13-3b12-45b5-a794-1f702e31051a" />
<column name="TITLE" value="Empfänger der Serienmail" />
<column name="FIELDSEPARATOR" value="semicolon" />
<column name="SENTENCESEPARATOR" value="carriage return and line feed" />
<column name="FIELDDELIMITER" value="quotation mark" />
<column name="ISOLANGUAGE" />
<column name="DESCRIPTION" value="Liste der Empfänger der ausgewählten Serienmails mit Status usw" />
<column name="DATE_EDIT" />
<column name="DATE_NEW" />
<column name="USER_EDIT" />
<column name="USER_NEW" />
</insert>
<insert tableName="exporttemplate">
<column name="FIELDDELIMITER" value="quotation mark"/>
<column name="ISOLANGUAGE" value="deu"/>
<column name="DATE_EDIT" valueDate="2020-03-02T10:43:24"/>
<column name="DESCRIPTION" value="Name mit Anrede, Titel und vollständiger Addresse"/>
<column name="USER_EDIT" value="Admin"/>
<column name="TITLE" value="Personen mit Anschriften"/>
<column name="EXPORTTEMPLATEID" value="86b48d2c-3850-4778-9240-45cf79396a0a"/>
<column name="FIELDSEPARATOR" value="semicolon"/>
<column name="SENTENCESEPARATOR" value="carriage return and line feed"/>
<column name="USER_NEW" value="Admin"/>
<column name="EXPORTTEMPLATEID" value="726f7fa4-510f-407b-b42c-53f70df3f529" />
<column name="TITLE" value="Übersicht Vertriebsprojekte" />
<column name="FIELDSEPARATOR" value="semicolon" />
<column name="SENTENCESEPARATOR" value="carriage return and line feed" />
<column name="FIELDDELIMITER" value="quotation mark" />
<column name="ISOLANGUAGE" />
<column name="DESCRIPTION" value="Übersicht von Vertriebsprojekten" />
<column name="DATE_EDIT" />
<column name="DATE_NEW" />
<column name="USER_EDIT" />
<column name="USER_NEW" />
</insert>
<insert tableName="exporttemplate">
<column name="FIELDDELIMITER" value="quotation mark"/>
<column name="ISOLANGUAGE" value="deu"/>
<column name="DATE_EDIT" valueDate="2020-03-02T10:43:24"/>
<column name="DESCRIPTION" value="Firmen und deren Addressen"/>
<column name="USER_EDIT" value="Admin"/>
<column name="TITLE" value="Firmen mit Addressen"/>
<column name="EXPORTTEMPLATEID" value="f399dc64-11b8-4490-ad24-53c9c3fc6df3"/>
<column name="FIELDSEPARATOR" value="comma"/>
<column name="SENTENCESEPARATOR" value="carriage return and line feed"/>
<column name="USER_NEW" value="Admin"/>
<column name="EXPORTTEMPLATEID" value="86b48d2c-3850-4778-9240-45cf79396a0a" />
<column name="TITLE" value="Personen mit Anschriften" />
<column name="FIELDSEPARATOR" value="semicolon" />
<column name="SENTENCESEPARATOR" value="carriage return and line feed" />
<column name="FIELDDELIMITER" value="quotation mark" />
<column name="ISOLANGUAGE" value="deu" />
<column name="DESCRIPTION" value="Name mit Anrede, Titel und vollständiger Adresse" />
<column name="DATE_EDIT" valueDate="2020-03-02T10:43:24" />
<column name="DATE_NEW" />
<column name="USER_EDIT" value="Admin" />
<column name="USER_NEW" value="Admin" />
</insert>
<insert tableName="exporttemplate">
<column name="EXPORTTEMPLATEID" value="8a7fefcd-3e35-4bbf-8ad2-f10d4ed1d66b" />
<column name="TITLE" value="Teilnehmerliste" />
<column name="FIELDSEPARATOR" value="semicolon" />
<column name="SENTENCESEPARATOR" value="carriage return and line feed" />
<column name="FIELDDELIMITER" value="quotation mark" />
<column name="ISOLANGUAGE" />
<column name="DESCRIPTION" value="Teilnehmerliste mit allen relevanten Daten, Vorname, Name, Firma usw." />
<column name="DATE_EDIT" />
<column name="DATE_NEW" />
<column name="USER_EDIT" />
<column name="USER_NEW" />
</insert>
<insert tableName="exporttemplate">
<column name="EXPORTTEMPLATEID" value="f399dc64-11b8-4490-ad24-53c9c3fc6df3" />
<column name="TITLE" value="Firmen mit Adressen" />
<column name="FIELDSEPARATOR" value="comma" />
<column name="SENTENCESEPARATOR" value="carriage return and line feed" />
<column name="FIELDDELIMITER" value="quotation mark" />
<column name="ISOLANGUAGE" value="deu" />
<column name="DESCRIPTION" value="Firmen und deren Adressen" />
<column name="DATE_EDIT" valueDate="2020-03-02T10:43:24" />
<column name="DATE_NEW" />
<column name="USER_EDIT" value="Admin" />
<column name="USER_NEW" value="Admin" />
</insert>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
</databaseChangeLog>
<?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">
<changeSet author="autogenerated" id="fb7d1b86-3a39-4fe4-b963-0c61abebca52">
<delete tableName="exporttemplateplaceofuse"/>
<?xml version="1.0" encoding="UTF-8"?>
<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-4.1.xsd">
<changeSet author="s.pongratz" id="2ab02746-44f6-414e-922c-0b43ea0f3ab3">
<insert tableName="exporttemplateplaceofuse">
<column name="EXPORTTEMPLATE_ID" value="84eb1373-3745-4455-a0a7-32cf62c8d4dc"/>
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="135975c6-6c7a-408b-93e3-f04239503ff0"/>
<column name="PLACEOFUSE" value="Person"/>
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="408eba99-bcc3-4308-9b2c-1a4495e01a0f" />
<column name="EXPORTTEMPLATE_ID" value="3acf26f9-4807-4661-8084-c0c21c593c81" />
<column name="PLACEOFUSE" value="Person" />
<column name="TITLE" />
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" />
<column name="OBJECT_FILTER" />
<column name="USER_NEW" />
<column name="DATE_NEW" />
<column name="USER_EDIT" value="Admin" />
<column name="DATE_EDIT" valueDate="2021-09-29T08:05:30" />
</insert>
<insert tableName="exporttemplateplaceofuse">
<column name="EXPORTTEMPLATE_ID" value="3acf26f9-4807-4661-8084-c0c21c593c81"/>
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="408eba99-bcc3-4308-9b2c-1a4495e01a0f"/>
<column name="PLACEOFUSE" value="Person"/>
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="4f036ac7-b1bf-4667-9177-7c0d444b1819" />
<column name="EXPORTTEMPLATE_ID" value="86b48d2c-3850-4778-9240-45cf79396a0a" />
<column name="PLACEOFUSE" value="Person" />
<column name="TITLE" />
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" />
<column name="OBJECT_FILTER" />
<column name="USER_NEW" />
<column name="DATE_NEW" />
<column name="USER_EDIT" value="Admin" />
<column name="DATE_EDIT" valueDate="2021-09-29T08:40:37" />
</insert>
<insert tableName="exporttemplateplaceofuse">
<column name="EXPORTTEMPLATE_ID" value="86b48d2c-3850-4778-9240-45cf79396a0a"/>
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="4f036ac7-b1bf-4667-9177-7c0d444b1819"/>
<column name="PLACEOFUSE" value="Person"/>
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="4fba481d-310a-45aa-b1ff-d1667dab141f" />
<column name="EXPORTTEMPLATE_ID" value="5aaa7d13-3b12-45b5-a794-1f702e31051a" />
<column name="PLACEOFUSE" value="BulkMail" />
<column name="TITLE" />
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" />
<column name="OBJECT_FILTER" />
<column name="USER_NEW" value="Admin" />
<column name="DATE_NEW" valueDate="2021-09-30T11:19:47" />
<column name="USER_EDIT" value="Admin" />
<column name="DATE_EDIT" valueDate="2021-09-30T11:40:16" />
</insert>
<insert tableName="exporttemplateplaceofuse">
<column name="EXPORTTEMPLATE_ID" value="f399dc64-11b8-4490-ad24-53c9c3fc6df3"/>
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="86865c59-aa8b-4511-bf3d-b069395c684d"/>
<column name="PLACEOFUSE" value="Organisation"/>
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="510ce9f1-9903-4978-9457-7bb85e85c71c" />
<column name="EXPORTTEMPLATE_ID" value="f399dc64-11b8-4490-ad24-53c9c3fc6df3" />
<column name="PLACEOFUSE" value="Offeritem" />
<column name="TITLE" />
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" value="94b03949-623a-4898-91cf-32ff21befaac" />
<column name="OBJECT_FILTER" value="{&quot;entity&quot;:&quot;Offeritem_entity&quot;,&quot;filter&quot;:{&quot;type&quot;:&quot;group&quot;,&quot;operator&quot;:&quot;AND&quot;,&quot;childs&quot;:[]}}" />
<column name="USER_NEW" value="Admin" />
<column name="DATE_NEW" valueDate="2021-09-29T09:30:33" />
<column name="USER_EDIT" />
<column name="DATE_EDIT" />
</insert>
<insert tableName="exporttemplateplaceofuse">
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="58390700-4308-45c2-865f-ea86cb38e7f5" />
<column name="EXPORTTEMPLATE_ID" value="3acf26f9-4807-4661-8084-c0c21c593c81" />
<column name="PLACEOFUSE" value="Address" />
<column name="TITLE" />
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" value="408eba99-bcc3-4308-9b2c-1a4495e01a0f" />
<column name="OBJECT_FILTER" value="{&quot;entity&quot;:&quot;Address_entity&quot;,&quot;filter&quot;:{&quot;type&quot;:&quot;group&quot;,&quot;operator&quot;:&quot;AND&quot;,&quot;childs&quot;:[]}}" />
<column name="USER_NEW" value="Admin" />
<column name="DATE_NEW" valueDate="2021-09-29T08:26:27" />
<column name="USER_EDIT" />
<column name="DATE_EDIT" />
</insert>
<insert tableName="exporttemplateplaceofuse">
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="58c8768c-0d1b-4a68-a7c1-4d2d35fe3431" />
<column name="EXPORTTEMPLATE_ID" value="f399dc64-11b8-4490-ad24-53c9c3fc6df3" />
<column name="PLACEOFUSE" value="Address" />
<column name="TITLE" />
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" value="86865c59-aa8b-4511-bf3d-b069395c684d" />
<column name="OBJECT_FILTER" value="{&quot;entity&quot;:&quot;Address_entity&quot;,&quot;filter&quot;:{&quot;type&quot;:&quot;group&quot;,&quot;operator&quot;:&quot;AND&quot;,&quot;childs&quot;:[]}}" />
<column name="USER_NEW" value="Admin" />
<column name="DATE_NEW" valueDate="2021-09-29T09:32:08" />
<column name="USER_EDIT" />
<column name="DATE_EDIT" />
</insert>
<insert tableName="exporttemplateplaceofuse">
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="86865c59-aa8b-4511-bf3d-b069395c684d" />
<column name="EXPORTTEMPLATE_ID" value="f399dc64-11b8-4490-ad24-53c9c3fc6df3" />
<column name="PLACEOFUSE" value="Organisation" />
<column name="TITLE" />
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" />
<column name="OBJECT_FILTER" />
<column name="USER_NEW" />
<column name="DATE_NEW" />
<column name="USER_EDIT" value="Admin" />
<column name="DATE_EDIT" valueDate="2021-09-29T08:49:04" />
</insert>
<insert tableName="exporttemplateplaceofuse">
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="94b03949-623a-4898-91cf-32ff21befaac" />
<column name="EXPORTTEMPLATE_ID" value="f399dc64-11b8-4490-ad24-53c9c3fc6df3" />
<column name="PLACEOFUSE" value="Offer" />
<column name="TITLE" />
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" value="86865c59-aa8b-4511-bf3d-b069395c684d" />
<column name="OBJECT_FILTER" value="{&quot;entity&quot;:&quot;Offer_entity&quot;,&quot;filter&quot;:{&quot;type&quot;:&quot;group&quot;,&quot;operator&quot;:&quot;AND&quot;,&quot;childs&quot;:[]}}" />
<column name="USER_NEW" value="Admin" />
<column name="DATE_NEW" valueDate="2021-09-29T09:30:23" />
<column name="USER_EDIT" />
<column name="DATE_EDIT" />
</insert>
<insert tableName="exporttemplateplaceofuse">
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="9dd3dadf-4a98-42b2-8ed3-534791b5dc9c" />
<column name="EXPORTTEMPLATE_ID" value="5aaa7d13-3b12-45b5-a794-1f702e31051a" />
<column name="PLACEOFUSE" value="BulkMailRecipient" />
<column name="TITLE" />
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" value="4fba481d-310a-45aa-b1ff-d1667dab141f" />
<column name="OBJECT_FILTER" value="{&quot;entity&quot;:&quot;BulkMailRecipient_entity&quot;,&quot;filter&quot;:{&quot;type&quot;:&quot;group&quot;,&quot;operator&quot;:&quot;AND&quot;,&quot;childs&quot;:[]}}" />
<column name="USER_NEW" value="Admin" />
<column name="DATE_NEW" valueDate="2021-09-30T11:20:24" />
<column name="USER_EDIT" />
<column name="DATE_EDIT" />
</insert>
<insert tableName="exporttemplateplaceofuse">
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="a148ad53-b921-45f0-81d4-e573a5c05661" />
<column name="EXPORTTEMPLATE_ID" value="8a7fefcd-3e35-4bbf-8ad2-f10d4ed1d66b" />
<column name="PLACEOFUSE" value="Campaign" />
<column name="TITLE" />
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" />
<column name="OBJECT_FILTER" />
<column name="USER_NEW" value="Admin" />
<column name="DATE_NEW" valueDate="2021-09-30T11:04:56" />
<column name="USER_EDIT" value="Admin" />
<column name="DATE_EDIT" valueDate="2021-09-30T11:07:11" />
</insert>
<insert tableName="exporttemplateplaceofuse">
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="dbcc278e-bcc3-45d2-8315-502efbec6714" />
<column name="EXPORTTEMPLATE_ID" value="8a7fefcd-3e35-4bbf-8ad2-f10d4ed1d66b" />
<column name="PLACEOFUSE" value="CampaignParticipant" />
<column name="TITLE" />
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" value="a148ad53-b921-45f0-81d4-e573a5c05661" />
<column name="OBJECT_FILTER" value="{&quot;entity&quot;:&quot;CampaignParticipant_entity&quot;,&quot;filter&quot;:{&quot;type&quot;:&quot;group&quot;,&quot;operator&quot;:&quot;AND&quot;,&quot;childs&quot;:[]}}" />
<column name="USER_NEW" value="Admin" />
<column name="DATE_NEW" valueDate="2021-09-30T11:07:59" />
<column name="USER_EDIT" />
<column name="DATE_EDIT" />
</insert>
<insert tableName="exporttemplateplaceofuse">
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="e0a19680-fd01-49a3-9993-ac57fc37d403" />
<column name="EXPORTTEMPLATE_ID" value="8a7fefcd-3e35-4bbf-8ad2-f10d4ed1d66b" />
<column name="PLACEOFUSE" value="Person" />
<column name="TITLE" />
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" value="dbcc278e-bcc3-45d2-8315-502efbec6714" />
<column name="OBJECT_FILTER" value="{&quot;entity&quot;:&quot;Person_entity&quot;,&quot;filter&quot;:{&quot;type&quot;:&quot;group&quot;,&quot;operator&quot;:&quot;AND&quot;,&quot;childs&quot;:[]}}" />
<column name="USER_NEW" value="Admin" />
<column name="DATE_NEW" valueDate="2021-09-30T11:25:58" />
<column name="USER_EDIT" />
<column name="DATE_EDIT" />
</insert>
<insert tableName="exporttemplateplaceofuse">
<column name="EXPORTTEMPLATEPLACEOFUSEID" value="e6f81233-685f-434c-99e4-4ab2c4adbeff" />
<column name="EXPORTTEMPLATE_ID" value="726f7fa4-510f-407b-b42c-53f70df3f529" />
<column name="PLACEOFUSE" value="Salesproject" />
<column name="TITLE" />
<column name="EXPORTTEMPLATEPLACEOFUSE_ID" />
<column name="OBJECT_FILTER" />
<column name="USER_NEW" value="Admin" />
<column name="DATE_NEW" valueDate="2021-09-30T11:42:32" />
<column name="USER_EDIT" />
<column name="DATE_EDIT" />
</insert>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
</databaseChangeLog>
......@@ -28,7 +28,7 @@
<include relativeToChangelogFile="true" file="basic/2021.1.2/changelog.xml"/>
<include relativeToChangelogFile="true" file="basic/2021.1.3/changelog.xml"/>
<include relativeToChangelogFile="true" file="basic/2021.2.0/changelog.xml"/>
<include relativeToChangelogFile="true" file="basic/workflows/changelog.xml" context="workflow"/>
<include relativeToChangelogFile="true" file="basic/_demoData/changelog.xml" context="example"/>
</databaseChangeLog>
\ No newline at end of file
......@@ -14332,6 +14332,104 @@
</entityDependency>
</dependencies>
</entityFieldDb>
<entityFieldDb>
<name>EXPORTTEMPLATEPLACEOFUSE_ID</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="1" />
<size v="36" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="true" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>OBJECT_FILTER</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="-1" />
<size v="2147483647" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</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>
<entityFieldDb>
<name>TITLE</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="150" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields>
</entityDb>
<entityDb>
......@@ -14658,6 +14756,76 @@
</entityDependency>
</dependencies>
</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>
<entityFieldDb>
<name>EXPORTTEMPLATEPLACEOFUSE_ID</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="1" />
<size v="36" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="true" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields>
</entityDb>
<entityDb>
......
......@@ -375,6 +375,104 @@
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>EXPORTTEMPLATEPLACEOFUSE_ID</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="1" />
<size v="36" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="true" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>OBJECT_FILTER</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="-1" />
<size v="2147483647" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</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>
<entityFieldDb>
<name>TITLE</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="150" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields>
</entityDb>
<entityDb>
......@@ -14589,6 +14687,76 @@
<title></title>
<description></description>
</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>
<entityFieldDb>
<name>EXPORTTEMPLATEPLACEOFUSE_ID</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="1" />
<size v="36" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="true" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields>
</entityDb>
<entityDb>
......
......@@ -550,6 +550,17 @@
<stateProcess>%aditoprj%/entity/BulkMail_entity/entityfields/observeactionogroup/children/cancelobservation/stateProcess.js</stateProcess>
<titleProcess>%aditoprj%/entity/BulkMail_entity/entityfields/observeactionogroup/children/cancelobservation/titleProcess.js</titleProcess>
</entityActionField>
<entityActionField>
<name>export</name>
<title>Export</title>
<onActionProcess>%aditoprj%/entity/BulkMail_entity/entityfields/observeactionogroup/children/export/onActionProcess.js</onActionProcess>
<isMenuAction v="true" />
<isObjectAction v="false" />
<iconId>NEON:EXPORT</iconId>
<stateProcess>%aditoprj%/entity/BulkMail_entity/entityfields/observeactionogroup/children/export/stateProcess.js</stateProcess>
<tooltip>Export fields of this table</tooltip>
<tooltipProcess>%aditoprj%/entity/BulkMail_entity/entityfields/observeactionogroup/children/export/tooltipProcess.js</tooltipProcess>
</entityActionField>
</children>
</entityActionGroup>
<entityActionField>
......
import("ExportTemplate_lib");
import("system.vars");
var selection = vars.get("$sys.selection");
if(selection.length == 0) //no selection -> use Filtercondition;
{
selection = vars.get("$sys.filter");
}
ExportTemplateUtils.addParticipants(JSON.stringify(selection), vars.get("$sys.currentcontextname"));
\ No newline at end of file
import("system.result");
import("FilterViewAction_lib");
import("system.vars");
var contactCount = vars.get("$sys.datarowcount");
result.string(FilterViewActionUtils.getComponentStateByRowCount(contactCount));
\ No newline at end of file
import("system.translate");
import("system.result");
result.string(translate.text("Export columns using a exporttemplate"));
\ No newline at end of file
......@@ -42,6 +42,17 @@
<stateProcess>%aditoprj%/entity/Campaign_entity/entityfields/observeactiongroup/children/cancelobservation/stateProcess.js</stateProcess>
<titleProcess>%aditoprj%/entity/Campaign_entity/entityfields/observeactiongroup/children/cancelobservation/titleProcess.js</titleProcess>
</entityActionField>
<entityActionField>
<name>export</name>
<title>Export</title>
<onActionProcess>%aditoprj%/entity/Campaign_entity/entityfields/observeactiongroup/children/export/onActionProcess.js</onActionProcess>
<isMenuAction v="true" />
<isObjectAction v="false" />
<iconId>NEON:EXPORT</iconId>
<stateProcess>%aditoprj%/entity/Campaign_entity/entityfields/observeactiongroup/children/export/stateProcess.js</stateProcess>
<tooltip>Export fields of this table</tooltip>
<tooltipProcess>%aditoprj%/entity/Campaign_entity/entityfields/observeactiongroup/children/export/tooltipProcess.js</tooltipProcess>
</entityActionField>
</children>
</entityActionGroup>
<entityProvider>
......
import("ExportTemplate_lib");
import("system.vars");
var selection = vars.get("$sys.selection");
if(selection.length == 0) //no selection -> use Filtercondition;
{
selection = vars.get("$sys.filter");
}
ExportTemplateUtils.addParticipants(JSON.stringify(selection), vars.get("$sys.currentcontextname"));
\ No newline at end of file
import("system.result");
import("FilterViewAction_lib");
import("system.vars");
var contactCount = vars.get("$sys.datarowcount");
result.string(FilterViewActionUtils.getComponentStateByRowCount(contactCount));
\ No newline at end of file
import("system.translate");
import("system.result");
result.string(translate.text("Export columns using a exporttemplate"));
\ No newline at end of file
......@@ -4,6 +4,11 @@
<title>Export Template Field</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/ExportTemplateField_entity/documentation.adoc</documentation>
<siblings>
<element>ExportTemplatePlaceOfUse_entity</element>
</siblings>
<grantUpdate v="false" />
<contentTitleProcess>%aditoprj%/entity/ExportTemplateField_entity/contentTitleProcess.js</contentTitleProcess>
<titlePlural>Export Template Fields</titlePlural>
<recordContainer>db</recordContainer>
<entityFields>
......@@ -29,13 +34,20 @@
<title>Field</title>
<mandatory v="true" />
<dropDownProcess>%aditoprj%/entity/ExportTemplateField_entity/entityfields/field/dropDownProcess.js</dropDownProcess>
<stateProcess>%aditoprj%/entity/ExportTemplateField_entity/entityfields/field/stateProcess.js</stateProcess>
<displayValueProcess>%aditoprj%/entity/ExportTemplateField_entity/entityfields/field/displayValueProcess.js</displayValueProcess>
<onValueChangeTypes>
<element>MASK</element>
<element>PROCESS</element>
<element>PROCESS_SETVALUE</element>
</onValueChangeTypes>
</entityField>
<entityProvider>
<name>ExportTemplateFields</name>
<documentation>%aditoprj%/entity/ExportTemplateField_entity/entityfields/exporttemplatefields/documentation.adoc</documentation>
</entityProvider>
<entityParameter>
<name>ExportTemplateField_param</name>
<name>ExportTemplateId_param</name>
<expose v="true" />
</entityParameter>
<entityField>
......@@ -44,12 +56,75 @@
<contentType>NUMBER</contentType>
<outputFormat>###</outputFormat>
<inputFormat>###</inputFormat>
<mandatory v="true" />
<mandatory v="false" />
</entityField>
<entityProvider>
<name>#PROVIDER_AGGREGATES</name>
<useAggregates v="true" />
</entityProvider>
<entityField>
<name>DATE_NEW</name>
<valueProcess>%aditoprj%/entity/ExportTemplateField_entity/entityfields/date_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>DATE_EDIT</name>
<valueProcess>%aditoprj%/entity/ExportTemplateField_entity/entityfields/date_edit/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>USER_NEW</name>
<valueProcess>%aditoprj%/entity/ExportTemplateField_entity/entityfields/user_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>USER_EDIT</name>
<valueProcess>%aditoprj%/entity/ExportTemplateField_entity/entityfields/user_edit/valueProcess.js</valueProcess>
</entityField>
<entityConsumer>
<name>ExportTemplatePlacesOfUse</name>
<dependency>
<name>dependency</name>
<entityName>ExportTemplatePlaceOfUse_entity</entityName>
<fieldName>#PROVIDER</fieldName>
</dependency>
<children>
<entityParameter>
<name>ExportTemplateId_param</name>
<valueProcess>%aditoprj%/entity/ExportTemplateField_entity/entityfields/exporttemplateplacesofuse/children/exporttemplateid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityField>
<name>EXPORTTEMPLATEPLACEOFUSE_ID</name>
<title>Place of Use</title>
<consumer>ExportTemplatePlacesOfUse</consumer>
<mandatory v="true" />
<onValueChange>%aditoprj%/entity/ExportTemplateField_entity/entityfields/exporttemplateplaceofuse_id/onValueChange.js</onValueChange>
</entityField>
<entityField>
<name>placeOfUse</name>
<title>Place of Use</title>
<valueProcess>%aditoprj%/entity/ExportTemplateField_entity/entityfields/placeofuse/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/ExportTemplateField_entity/entityfields/placeofuse/displayValueProcess.js</displayValueProcess>
</entityField>
<entityActionGroup>
<name>MoveActions</name>
<title>Move</title>
<children>
<entityActionField>
<name>Down</name>
<title></title>
<onActionProcess>%aditoprj%/entity/ExportTemplateField_entity/entityfields/moveactions/children/down/onActionProcess.js</onActionProcess>
<iconId>VAADIN:ANGLE_DOWN</iconId>
<stateProcess>%aditoprj%/entity/ExportTemplateField_entity/entityfields/moveactions/children/down/stateProcess.js</stateProcess>
</entityActionField>
<entityActionField>
<name>Up</name>
<title></title>
<onActionProcess>%aditoprj%/entity/ExportTemplateField_entity/entityfields/moveactions/children/up/onActionProcess.js</onActionProcess>
<iconId>VAADIN:ANGLE_UP</iconId>
<stateProcess>%aditoprj%/entity/ExportTemplateField_entity/entityfields/moveactions/children/up/stateProcess.js</stateProcess>
</entityActionField>
</children>
</entityActionGroup>
</entityFields>
<recordContainers>
<dbRecordContainer>
......@@ -58,6 +133,8 @@
<isReadOnly v="false" />
<conditionProcess>%aditoprj%/entity/ExportTemplateField_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
<orderClauseProcess>%aditoprj%/entity/ExportTemplateField_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
<onDBInsert>%aditoprj%/entity/ExportTemplateField_entity/recordcontainers/db/onDBInsert.js</onDBInsert>
<onDBDelete>%aditoprj%/entity/ExportTemplateField_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
<alias>Data_alias</alias>
<recordFieldMappings>
<dbRecordFieldMapping>
......@@ -76,10 +153,30 @@
<name>SORTING.value</name>
<recordfield>EXPORTTEMPLATEFIELD.SORTING</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DATE_EDIT.value</name>
<recordfield>EXPORTTEMPLATEFIELD.DATE_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DATE_NEW.value</name>
<recordfield>EXPORTTEMPLATEFIELD.DATE_NEW</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_EDIT.value</name>
<recordfield>EXPORTTEMPLATEFIELD.USER_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_NEW.value</name>
<recordfield>EXPORTTEMPLATEFIELD.USER_NEW</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>EXPORTTEMPLATEPLACEOFUSE_ID.value</name>
<recordfield>EXPORTTEMPLATEFIELD.EXPORTTEMPLATEPLACEOFUSE_ID</recordfield>
</dbRecordFieldMapping>
</recordFieldMappings>
<linkInformation>
<linkInformation>
<name>7236de85-f623-4f6a-9ff5-d9014a2f7a4c</name>
<name>4cec9829-254f-4588-9abf-a224a390a172</name>
<tableName>EXPORTTEMPLATEFIELD</tableName>
<primaryKey>EXPORTTEMPLATEFIELDID</primaryKey>
<isUIDTable v="true" />
......
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