diff --git a/aliasDefinition/Data_alias/Data_alias.aod b/aliasDefinition/Data_alias/Data_alias.aod index ac040c579fa5d6f4c780f140facc435f3c178be3..e37baaa7fa58c715acf33dd9667fe69c6842b545 100644 --- a/aliasDefinition/Data_alias/Data_alias.aod +++ b/aliasDefinition/Data_alias/Data_alias.aod @@ -1027,6 +1027,142 @@ </entityFieldDb> </entityFields> </entityDb> + <entityDb> + <name>COMM</name> + <dbName></dbName> + <idColumn>COMMID</idColumn> + <idGeneratorType v="0" /> + <idGeneratorInterval v="1" /> + <title></title> + <description></description> + <auditSyncConfig> + <name>auditSyncConfig</name> + <auditMode v="0" /> + <syncActive v="false" /> + <syncComplete v="true" /> + <syncDirection v="1" /> + <syncIds></syncIds> + </auditSyncConfig> + <entityFields> + <entityFieldDb> + <name>COMMID</name> + <dbName></dbName> + <primaryKey v="true" /> + <columnType v="1" /> + <size v="36" /> + <scale v="0" /> + <notNull v="true" /> + <isUnique v="true" /> + <index v="false" /> + <title></title> + <description></description> + </entityFieldDb> + <entityFieldDb> + <name>DATE_EDIT</name> + <dbName></dbName> + <primaryKey v="false" /> + <columnType v="93" /> + <size v="29" /> + <scale v="9" /> + <notNull v="false" /> + <isUnique v="false" /> + <index v="false" /> + <title></title> + <description></description> + </entityFieldDb> + <entityFieldDb> + <name>MEDIUM_ID</name> + <dbName></dbName> + <primaryKey v="false" /> + <columnType v="4" /> + <size v="10" /> + <scale v="0" /> + <notNull v="false" /> + <isUnique v="false" /> + <index v="false" /> + <title></title> + <description></description> + </entityFieldDb> + <entityFieldDb> + <name>DATE_NEW</name> + <dbName></dbName> + <primaryKey v="false" /> + <columnType v="93" /> + <size v="29" /> + <scale v="9" /> + <notNull v="true" /> + <isUnique v="false" /> + <index v="false" /> + <title></title> + <description></description> + </entityFieldDb> + <entityFieldDb> + <name>RELATION_ID</name> + <dbName></dbName> + <primaryKey v="false" /> + <columnType v="1" /> + <size v="36" /> + <scale v="0" /> + <notNull v="false" /> + <isUnique v="false" /> + <index v="false" /> + <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="true" /> + <isUnique v="false" /> + <index v="false" /> + <title></title> + <description></description> + </entityFieldDb> + <entityFieldDb> + <name>STANDARD</name> + <dbName></dbName> + <primaryKey v="false" /> + <columnType v="4" /> + <size v="10" /> + <scale v="0" /> + <notNull v="false" /> + <isUnique v="false" /> + <index v="false" /> + <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" /> + <title></title> + <description></description> + </entityFieldDb> + <entityFieldDb> + <name>ADDR</name> + <dbName></dbName> + <primaryKey v="false" /> + <columnType v="12" /> + <size v="255" /> + <scale v="0" /> + <notNull v="false" /> + <isUnique v="false" /> + <index v="false" /> + <title></title> + <description></description> + </entityFieldDb> + </entityFields> + </entityDb> </entities> </entityGroup> </aliasDefDb> diff --git a/entity/Address_entity/Address_entity.aod b/entity/Address_entity/Address_entity.aod index e50eff8e9633305a244b628b5df130da7fe34024..830a6fff9eb6ede8219e2d2560cdd94528c57540 100644 --- a/entity/Address_entity/Address_entity.aod +++ b/entity/Address_entity/Address_entity.aod @@ -62,6 +62,7 @@ <name>DATE_NEW</name> <tableName>ADDRESS</tableName> <columnName>DATE_NEW</columnName> + <state>READONLY</state> <valueProcess>%aditoprj%/entity/Address_entity/entityfields/date_new/valueProcess.js</valueProcess> </entityField> <entityField> @@ -94,6 +95,7 @@ <name>USER_NEW</name> <tableName>ADDRESS</tableName> <columnName>USER_NEW</columnName> + <state>READONLY</state> <valueProcess>%aditoprj%/entity/Address_entity/entityfields/user_new/valueProcess.js</valueProcess> </entityField> <entityField> diff --git a/entity/Comm_entity/Comm_entity.aod b/entity/Comm_entity/Comm_entity.aod new file mode 100644 index 0000000000000000000000000000000000000000..38b92f9e1dca19856872f8cc39086f58d3455e70 --- /dev/null +++ b/entity/Comm_entity/Comm_entity.aod @@ -0,0 +1,101 @@ +<?xml version="1.0" encoding="UTF-8"?> +<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.0.3" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.0.3"> + <name>Comm_entity</name> + <title>Kommunikation</title> + <majorModelMode>DISTRIBUTED</majorModelMode> + <alias>Data_alias</alias> + <conditionProcess>%aditoprj%/entity/Comm_entity/conditionProcess.js</conditionProcess> + <recordContainerType>DB</recordContainerType> + <caption>Kommunikation</caption> + <entityFields> + <entityField> + <name>ADDR</name> + <tableName>COMM</tableName> + <columnName>ADDR</columnName> + <caption>Adresse</caption> + </entityField> + <entityField> + <name>COMMID</name> + <tableName>COMM</tableName> + <columnName>COMMID</columnName> + </entityField> + <entityField> + <name>DATE_EDIT</name> + <tableName>COMM</tableName> + <columnName>DATE_EDIT</columnName> + </entityField> + <entityField> + <name>DATE_NEW</name> + <tableName>COMM</tableName> + <columnName>DATE_NEW</columnName> + <state>READONLY</state> + <valueProcess>%aditoprj%/entity/Comm_entity/entityfields/date_new/valueProcess.js</valueProcess> + </entityField> + <entityField> + <name>MEDIUM_ID</name> + <tableName>COMM</tableName> + <columnName>MEDIUM_ID</columnName> + <caption>Medium</caption> + </entityField> + <entityField> + <name>RELATION_ID</name> + <tableName>COMM</tableName> + <columnName>RELATION_ID</columnName> + <valueProcess>%aditoprj%/entity/Comm_entity/entityfields/relation_id/valueProcess.js</valueProcess> + </entityField> + <entityField> + <name>STANDARD</name> + <tableName>COMM</tableName> + <columnName>STANDARD</columnName> + </entityField> + <entityField> + <name>USER_EDIT</name> + <tableName>COMM</tableName> + <columnName>USER_EDIT</columnName> + </entityField> + <entityField> + <name>USER_NEW</name> + <tableName>COMM</tableName> + <columnName>USER_NEW</columnName> + <state>READONLY</state> + <valueProcess>%aditoprj%/entity/Comm_entity/entityfields/user_new/valueProcess.js</valueProcess> + </entityField> + <entityParameter> + <name>RelId_param</name> + <expose v="true" /> + <description>PARAMETER</description> + </entityParameter> + <entityIncomingField> + <name>PersComm_dfi</name> + <fieldType>DEPENDENCY_IN</fieldType> + <dependencies> + <entityDependency> + <name>b509cb67-6306-4f74-8ce8-0385052a9611</name> + <entityName>Pers_entity</entityName> + <fieldName>PersComm_dfo</fieldName> + <isOutgoing v="false" /> + </entityDependency> + </dependencies> + </entityIncomingField> + <entityIncomingField> + <name>OrgComm_dfi</name> + <fieldType>DEPENDENCY_IN</fieldType> + <dependencies> + <entityDependency> + <name>09723d40-72bc-4fcd-8283-fe085de73330</name> + <entityName>Org_entity</entityName> + <fieldName>OrgComm_dfo</fieldName> + <isOutgoing v="false" /> + </entityDependency> + </dependencies> + </entityIncomingField> + </entityFields> + <linkInformation> + <linkInformation> + <name>54875441-f1b0-47d1-9fa6-c1927863f3e3</name> + <tableName>COMM</tableName> + <primaryKey>COMMID</primaryKey> + <isUIDTable v="true" /> + </linkInformation> + </linkInformation> +</entity> diff --git a/entity/Comm_entity/conditionProcess.js b/entity/Comm_entity/conditionProcess.js new file mode 100644 index 0000000000000000000000000000000000000000..0d4b526962aaba146620a274b8addb118dd14bda --- /dev/null +++ b/entity/Comm_entity/conditionProcess.js @@ -0,0 +1,8 @@ +import("system.logging"); +import("system.result"); +import("system.vars"); + +if(vars.exists("$param.RelId_param") && vars.get("$param.RelId_param") != null) + result.string("COMM.RELATION_ID = ('" + vars.getString("$param.RelId_param") + "')"); +else + result.string("1 = 2"); \ No newline at end of file diff --git a/entity/Comm_entity/entityfields/date_new/valueProcess.js b/entity/Comm_entity/entityfields/date_new/valueProcess.js new file mode 100644 index 0000000000000000000000000000000000000000..eedddb3cf02507bf4da985cf9db27f79c8468b55 --- /dev/null +++ b/entity/Comm_entity/entityfields/date_new/valueProcess.js @@ -0,0 +1,8 @@ +import("system.logging"); +import("system.vars"); +import("system.result"); +import("system.neon"); + +if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW) + result.string(vars.getString("$sys.date")); + diff --git a/entity/Comm_entity/entityfields/relation_id/valueProcess.js b/entity/Comm_entity/entityfields/relation_id/valueProcess.js new file mode 100644 index 0000000000000000000000000000000000000000..2d085e3aff5efa91eca352d8fc20a4c2c7bbdd4a --- /dev/null +++ b/entity/Comm_entity/entityfields/relation_id/valueProcess.js @@ -0,0 +1,9 @@ +import("system.result"); +import("system.neon"); +import("system.vars"); + +if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW) +{ + if(vars.exists("$param.RelId_param") && vars.get("$param.RelId_param") != null) + result.string(vars.getString("$param.RelId_param")); +} \ No newline at end of file diff --git a/entity/Comm_entity/entityfields/user_new/valueProcess.js b/entity/Comm_entity/entityfields/user_new/valueProcess.js new file mode 100644 index 0000000000000000000000000000000000000000..f9abb66712ca12b68fe96e5a37b1bb123c484bc7 --- /dev/null +++ b/entity/Comm_entity/entityfields/user_new/valueProcess.js @@ -0,0 +1,7 @@ +import("system.logging"); +import("system.vars"); +import("system.result"); +import("system.neon"); + +if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW) + result.string(vars.getString("$sys.user")); \ No newline at end of file diff --git a/entity/Org_entity/Org_entity.aod b/entity/Org_entity/Org_entity.aod index 78a9fd3b28e5b502eb2e2e4d7d4914d1b68a61b3..24db71632f6a9f85c2994bf16396cad0fa40de85 100644 --- a/entity/Org_entity/Org_entity.aod +++ b/entity/Org_entity/Org_entity.aod @@ -205,6 +205,24 @@ <tableName>RELATION</tableName> <columnName>ADDRESS_ID</columnName> </entityField> + <entityOutgoingField> + <name>OrgComm_dfo</name> + <title>Kommunikation</title> + <fieldType>DEPENDENCY_OUT</fieldType> + <caption>Kommunikation</caption> + <dependency> + <name>dependency</name> + <entityName>Comm_entity</entityName> + <fieldName>OrgComm_dfi</fieldName> + </dependency> + <children> + <entityParameter> + <name>RelId_param</name> + <code>%aditoprj%/entity/Org_entity/entityfields/orgcomm_dfo/children/relid_param/code.js</code> + <triggerRecalculation v="true" /> + </entityParameter> + </children> + </entityOutgoingField> </entityFields> <linkInformation> <linkInformation> diff --git a/entity/Org_entity/entityfields/orgcomm_dfo/children/relid_param/code.js b/entity/Org_entity/entityfields/orgcomm_dfo/children/relid_param/code.js new file mode 100644 index 0000000000000000000000000000000000000000..aa257b8b78ed72ce888626a9fa22a890e3c9bf17 --- /dev/null +++ b/entity/Org_entity/entityfields/orgcomm_dfo/children/relid_param/code.js @@ -0,0 +1,4 @@ +import("system.result"); +import("system.vars"); + +result.string(vars.get("$field.RELATIONID")); \ No newline at end of file diff --git a/entity/Pers_entity/Pers_entity.aod b/entity/Pers_entity/Pers_entity.aod index 1117ceb3ea388a0605b534c113d6621c97b9ec83..b9553856da36749ca891b3bb2a7aba4e1a1be64d 100644 --- a/entity/Pers_entity/Pers_entity.aod +++ b/entity/Pers_entity/Pers_entity.aod @@ -220,6 +220,24 @@ </entityParameter> </children> </entityOutgoingField> + <entityOutgoingField> + <name>PersComm_dfo</name> + <title>Kommunikation</title> + <fieldType>DEPENDENCY_OUT</fieldType> + <caption>Kommunikation</caption> + <dependency> + <name>dependency</name> + <entityName>Comm_entity</entityName> + <fieldName>PersComm_dfi</fieldName> + </dependency> + <children> + <entityParameter> + <name>RelId_param</name> + <code>%aditoprj%/entity/Pers_entity/entityfields/perscomm_dfo/children/relid_param/code.js</code> + <triggerRecalculation v="true" /> + </entityParameter> + </children> + </entityOutgoingField> </entityFields> <linkInformation> <linkInformation> diff --git a/entity/Pers_entity/entityfields/perscomm_dfo/children/relid_param/code.js b/entity/Pers_entity/entityfields/perscomm_dfo/children/relid_param/code.js new file mode 100644 index 0000000000000000000000000000000000000000..aa257b8b78ed72ce888626a9fa22a890e3c9bf17 --- /dev/null +++ b/entity/Pers_entity/entityfields/perscomm_dfo/children/relid_param/code.js @@ -0,0 +1,4 @@ +import("system.result"); +import("system.vars"); + +result.string(vars.get("$field.RELATIONID")); \ No newline at end of file diff --git a/neonContext/Comm_context/Comm_context.aod b/neonContext/Comm_context/Comm_context.aod new file mode 100644 index 0000000000000000000000000000000000000000..2f4dc3cfac682e0ad1bb27a741dfecf6f4cfebbd --- /dev/null +++ b/neonContext/Comm_context/Comm_context.aod @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<neonContext xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.0.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonContext/1.0.0"> + <name>Comm_context</name> + <title>Kommunikation</title> + <majorModelMode>DISTRIBUTED</majorModelMode> + <entity>Comm_entity</entity> + <references> + <neonViewReference> + <name>a6ea1a77-09d3-4c36-90dc-3bcb4a22842a</name> + <view>CommMultiEdit_view</view> + </neonViewReference> + <neonViewReference> + <name>af0e1f4b-a859-4302-b8d8-05568b9a4655</name> + <view>CommList_view</view> + </neonViewReference> + <neonViewReference> + <name>9bccd737-1feb-48e3-9b77-9b6b4720a4f8</name> + <view>CommEdit_view</view> + </neonViewReference> + <neonViewReference> + <name>ba995694-e88f-4f50-b4e7-5018b034747f</name> + <view>CommFilter_view</view> + </neonViewReference> + </references> +</neonContext> diff --git a/neonView/CommEdit_view/CommEdit_view.aod b/neonView/CommEdit_view/CommEdit_view.aod new file mode 100644 index 0000000000000000000000000000000000000000..c6b2e2b8e7c8477c85b884f3a1251cdfa240ce9b --- /dev/null +++ b/neonView/CommEdit_view/CommEdit_view.aod @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.0.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.0.0"> + <name>CommEdit_view</name> + <majorModelMode>DISTRIBUTED</majorModelMode> + <layout> + <boxLayout> + <name>layout</name> + </boxLayout> + </layout> + <children> + <genericViewTemplate> + <name>Generic_template</name> + <entityField>#ENTITY</entityField> + <fields> + <entityFieldLink> + <name>baa7e569-6ee2-4c42-aaee-975d3cfb5977</name> + <entityField>MEDIUM_ID</entityField> + </entityFieldLink> + <entityFieldLink> + <name>6003ad0c-5e9d-4a56-a0a0-19f9a597a702</name> + <entityField>ADDR</entityField> + </entityFieldLink> + </fields> + </genericViewTemplate> + </children> +</neonView> diff --git a/neonView/CommFilter_view/CommFilter_view.aod b/neonView/CommFilter_view/CommFilter_view.aod new file mode 100644 index 0000000000000000000000000000000000000000..aebca82cc56e090995d2022d9ca310b6f3411a16 --- /dev/null +++ b/neonView/CommFilter_view/CommFilter_view.aod @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.0.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.0.0"> + <name>CommFilter_view</name> + <majorModelMode>DISTRIBUTED</majorModelMode> + <layout> + <boxLayout> + <name>layout</name> + </boxLayout> + </layout> + <children> + <tableViewTemplate> + <name>Table_template</name> + <entityField>#ENTITY</entityField> + <columns> + <neonTableColumn> + <name>8a7d17a8-e6b9-430e-90ea-4a50daa97cba</name> + <entityField>MEDIUM_ID</entityField> + </neonTableColumn> + <neonTableColumn> + <name>1f8b562b-142d-4fdc-82d0-2d0cc855cdd5</name> + <entityField>ADDR</entityField> + </neonTableColumn> + </columns> + </tableViewTemplate> + </children> +</neonView> diff --git a/neonView/CommList_view/CommList_view.aod b/neonView/CommList_view/CommList_view.aod new file mode 100644 index 0000000000000000000000000000000000000000..3235321ba69cb9dec50c532046c5299aae76550d --- /dev/null +++ b/neonView/CommList_view/CommList_view.aod @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.0.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.0.0"> + <name>CommList_view</name> + <majorModelMode>DISTRIBUTED</majorModelMode> + <layout> + <noneLayout> + <name>layout</name> + </noneLayout> + </layout> + <children> + <titledListViewTemplate> + <name>TitledList_template</name> + <entityField>#ENTITY</entityField> + <columns> + <neonTableColumn> + <name>5649723d-2478-4b4c-9e32-7944e643bc42</name> + <entityField>MEDIUM_ID</entityField> + </neonTableColumn> + <neonTableColumn> + <name>825df64b-901b-49ac-a759-3ee1c260a88a</name> + <entityField>ADDR</entityField> + </neonTableColumn> + </columns> + </titledListViewTemplate> + </children> +</neonView> diff --git a/neonView/CommMultiEdit_view/CommMultiEdit_view.aod b/neonView/CommMultiEdit_view/CommMultiEdit_view.aod new file mode 100644 index 0000000000000000000000000000000000000000..49892a2973c632fd0b43810b850844f683431bd6 --- /dev/null +++ b/neonView/CommMultiEdit_view/CommMultiEdit_view.aod @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.0.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.0.0"> + <name>CommMultiEdit_view</name> + <majorModelMode>DISTRIBUTED</majorModelMode> + <layout> + <noneLayout> + <name>layout</name> + </noneLayout> + </layout> + <children> + <genericMultipleViewTemplate> + <name>GenericMultiple_template</name> + <entityField>#ENTITY</entityField> + <children> + <neonTableColumn> + <name>b210222e-dfd3-4cec-bc2e-84b72aebb2b6</name> + <entityField>MEDIUM_ID</entityField> + </neonTableColumn> + <neonTableColumn> + <name>c20668f3-6722-4a38-86d6-0d29be06dbe1</name> + <entityField>ADDR</entityField> + </neonTableColumn> + </children> + </genericMultipleViewTemplate> + </children> +</neonView> diff --git a/neonView/OrgEdit_view/OrgEdit_view.aod b/neonView/OrgEdit_view/OrgEdit_view.aod index 3585d7d5a5683ba24f265dbdcb4b6a4890e24dc5..4e5902297968a6997cf1c77344af25241d9fc6c2 100644 --- a/neonView/OrgEdit_view/OrgEdit_view.aod +++ b/neonView/OrgEdit_view/OrgEdit_view.aod @@ -44,5 +44,10 @@ <entityField>OrgAddress_dfo</entityField> <view>AdressMultiEdit_view</view> </neonViewReference> + <neonViewReference> + <name>6355808f-ee94-4caf-95b1-3848e81c75b7</name> + <entityField>OrgComm_dfo</entityField> + <view>CommMultiEdit_view</view> + </neonViewReference> </children> </neonView> diff --git a/neonView/OrgPreview_view/OrgPreview_view.aod b/neonView/OrgPreview_view/OrgPreview_view.aod index e6a81a25797ffeb44c1ff4b05aee834ddd19a069..2807fd672f1b75ef82268bceb91ba7827f7919db 100644 --- a/neonView/OrgPreview_view/OrgPreview_view.aod +++ b/neonView/OrgPreview_view/OrgPreview_view.aod @@ -20,6 +20,11 @@ <entityField>OrgAddress_dfo</entityField> <view>AddressList_view</view> </neonViewReference> + <neonViewReference> + <name>7fbd6034-4213-41f9-bb0d-c73d55b88d82</name> + <entityField>OrgComm_dfo</entityField> + <view>CommList_view</view> + </neonViewReference> <genericViewTemplate> <name>OrgInfo_template</name> <showDrawer v="true" /> diff --git a/neonView/PersEdit_view/PersEdit_view.aod b/neonView/PersEdit_view/PersEdit_view.aod index c0d33091202946b66f711914e01a7d26be00e134..7326fe2858eaff46d9bd2d7781d0bfe252a580b2 100644 --- a/neonView/PersEdit_view/PersEdit_view.aod +++ b/neonView/PersEdit_view/PersEdit_view.aod @@ -55,5 +55,10 @@ <entityField>PersAddress_dfo</entityField> <view>AdressMultiEdit_view</view> </neonViewReference> + <neonViewReference> + <name>fc64789f-b4c6-401e-86e3-f484451c7689</name> + <entityField>PersComm_dfo</entityField> + <view>CommMultiEdit_view</view> + </neonViewReference> </children> </neonView> diff --git a/neonView/PersPreview_view/PersPreview_view.aod b/neonView/PersPreview_view/PersPreview_view.aod index a340bf1982fefdab26c72ce5146e6f6f0c5a941f..1171a3ae22d26be6d8d3cbd31938c6abd7a84761 100644 --- a/neonView/PersPreview_view/PersPreview_view.aod +++ b/neonView/PersPreview_view/PersPreview_view.aod @@ -20,6 +20,11 @@ <entityField>PersAddress_dfo</entityField> <view>AddressList_view</view> </neonViewReference> + <neonViewReference> + <name>41e3d75c-0456-4140-b651-eb45ffb53a35</name> + <entityField>PersComm_dfo</entityField> + <view>CommList_view</view> + </neonViewReference> <genericViewTemplate> <name>PersInfo_template</name> <showDrawer v="true" /> diff --git a/others/db_changes/masterChangelog.xml b/others/db_changes/masterChangelog.xml index 857ea874357ca9c803dfa8272f3f856945c6f11e..ce276eeb3f2635f0de98e5721a74388a2ef54d02 100644 --- a/others/db_changes/masterChangelog.xml +++ b/others/db_changes/masterChangelog.xml @@ -12,4 +12,5 @@ <include file="data/PERS_extendeddata.xml"/> <include file="data/example_history/extendHLink_62330df6.xml"/> <include file="struct/create_address.xml"/> + <include file="struct/create_comm.xml"/> </databaseChangeLog> diff --git a/others/db_changes/struct/create_comm.xml b/others/db_changes/struct/create_comm.xml new file mode 100644 index 0000000000000000000000000000000000000000..0fdb1ef77a55d82ff26f8da75a41896cc60d65aa --- /dev/null +++ b/others/db_changes/struct/create_comm.xml @@ -0,0 +1,22 @@ +<?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="t.feldmann" id="33b5d1ac-08cf-3331-90a8-8cbc1439bfca"> + <createTable tableName="COMM"> + <column name="COMMID" type="CHAR(36)"> + <constraints primaryKey="true" primaryKeyName="PK_COMM_COMMID"/> + </column> + <column name="ADDR" type="VARCHAR(255)"/> + <column name="MEDIUM_ID" type="INTEGER"/> + <column name="RELATION_ID" type="CHAR(36)"/> + <column name="STANDARD" type="INTEGER"/> + <column name="DATE_EDIT" type="TIMESTAMP"/> + <column name="DATE_NEW" type="TIMESTAMP"> + <constraints nullable="false"/> + </column> + <column name="USER_EDIT" type="VARCHAR(50)"/> + <column name="USER_NEW" type="VARCHAR(50)"> + <constraints nullable="false"/> + </column> + </createTable> +</changeSet> +</databaseChangeLog> \ No newline at end of file