Skip to content
Snippets Groups Projects
Commit efc53cf6 authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong:
Browse files

Merge branch '2021.1.0_cm_1074559_EWSContactSync' into '2021.2.0'

2021.1.0 cm 1074559 ews contact sync

See merge request xrm/basic!1134
parents d4ff9b1c 8d4d1399
No related branches found
No related tags found
No related merge requests found
Showing
with 687 additions and 369 deletions
<?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="f.maier" id="0b7c88d9-30d6-4225-b734-3a4baa06b7fc">
<addColumn tableName="AB_SYNCCONTACT">
<column name="UPDATECONTACT" type="CHAR(1)"/>
</addColumn>
<createIndex indexName="IDX_AB_SYNCCONTACT_UNIQUEID" tableName="AB_SYNCCONTACT" unique="true">
<column name="CONTACT_ID"/>
<column name="USER_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="f.maier" id="7eaaf765-cb1d-4060-978e-06966071d6fm">
<createTable tableName="EWS_INFO_LOG">
<column name="EWS_INFO_LOGID" type="CHAR(36)">
<constraints primaryKey="true" primaryKeyName="PK_EWS_INFO_LOG_EWS_INFO_LOGID"/>
</column>
<column name="DATE_NEW" type="TIMESTAMP"/>
<column name="USER_ID" type="VARCHAR(63)"/>
<column name="TYPE" type="VARCHAR(50)"/>
<column name="INFO" type="VARCHAR(5000)"/>
<column name="PRIORITY" type="VARCHAR(50)"/>
</createTable>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
......@@ -7,6 +7,9 @@
<include relativeToChangelogFile="true" file="offerWorkflow/add_ab_keyword_entry_offerstatus.xml"/>
<include relativeToChangelogFile="true" file="offerWorkflow/add_ab_keyword_entry_activityCategory.xml"/>
<include relativeToChangelogFile="true" file="create_standardWorkflow.xml"/>
<include relativeToChangelogFile="true" file="EwsContactSync/create_ewsInfoLog.xml"/>
<include relativeToChangelogFile="true" file="EwsContactSync/add_AB_SYNCCONTACT_updateContact.xml"/>
<include relativeToChangelogFile="true" file="Advertising/changelog.xml"/>
<include relativeToChangelogFile="true" file="Bulkmail/changelog.xml"/>
<include relativeToChangelogFile="true" file="Addressvalidation/changelog.xml"/>
......
This diff is collapsed.
= AB_SYNCCONTACT
This table is used to store the information of which contacts should be synced with the ews exchange or which are already synced and which status they've got.
== ASYS_FAVORITEID (FK)
NOTE: This column will be obsolete in the future due to the refactoring of the contactsynchronisation and will be removed!
This column is used to store the reference between the ab_synccontact table and the favorite tags
== CONTACT_ID (FK)
The CONTACT_ID shows which Person or Organisation is synced. It's also used to get the relevant data like phonenumber and name
== DATE_DEL
Marks an entry for Deletion, the marked dataset will be removed from exchange with the next run of the synchronisation process
\ No newline at end of file
== DATE_EDIT
This column represents the editing date of a dataset which is marked for the synchronization with exchange
\ No newline at end of file
== DATE_NEW
The creation date of synchronization entry. The date which symbolize when a dataset was marked for the synchronization.
\ No newline at end of file
== EXCHANGEID
The unique exchangeId of a dataset, with this Id update statements can be made to the synced dataset in exchange.
This column can also be null when a dataset is not synchronized with exchange yet.
== SYNCCONTACTID (PK)
The primary key of the ab_synccontact table.
\ No newline at end of file
== UPDATECONTACT
This column is used to determine those datasets which should be updated in exchange.
1 = marked for update
0 = already up to date
\ No newline at end of file
== USER_ID (FK)
Represents the USERID of the user which marked a dataset for the synchronisation
\ No newline at end of file
== EWS_INFO_LOG
The EWS_INFO_LOG Table contains the log of the two synchronization processes
\ No newline at end of file
== DATE_NEW
Contains the timestamp of the creation date of the log
\ No newline at end of file
== EWS_INFO_LOGID (PK)
The primary key of the ews_info table
\ No newline at end of file
== INFO
Contains the logged info of the process runs. For example a throwed errormessage or a successful information
\ No newline at end of file
== PRIORITY
This column contains the priority of the logged information.
\ No newline at end of file
== TYPE
Contains the name of the exchangesycnhronization process which logged the information.
\ 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