Newer
Older
<?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.1.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.1.0">
<name>Relation_entity</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<titleProcess>%aditoprj%/entity/Relation_entity/titleProcess.js</titleProcess>
<recordContainer>db</recordContainer>
<entityFields>
<entityIncomingField>
<name>#INCOMING</name>
</entityIncomingField>
<entityField>
<name>ADDRESS_ID</name>
</entityField>
<entityField>
<name>DATE_EDIT</name>
<valueProcess>%aditoprj%/entity/Relation_entity/entityfields/date_edit/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>DATE_NEW</name>
<valueProcess>%aditoprj%/entity/Relation_entity/entityfields/date_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>LANGUAGE</name>
</entityField>
<entityField>
<name>ORG_ID</name>
</entityField>
<entityField>
<name>PERS_ID</name>
</entityField>
<entityField>
<name>RELATIONID</name>
</entityField>
<entityField>
<name>STATUS</name>
</entityField>
<entityField>
<name>USER_EDIT</name>
<valueProcess>%aditoprj%/entity/Relation_entity/entityfields/user_edit/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>USER_NEW</name>
<valueProcess>%aditoprj%/entity/Relation_entity/entityfields/user_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>relationType</name>
<description>Relation type. Value is based on the existance or non-existance of ORG_ID and PERS_ID.
See RelationUtils.getRelationTypeByPersOrg for possible values</description>
<contentType>NUMBER</contentType>
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<valueProcess>%aditoprj%/entity/Relation_entity/entityfields/relationtype/valueProcess.js</valueProcess>
</entityField>
<entityOutgoingField>
<name>RelationPers_dfo</name>
<fieldType>DEPENDENCY_OUT</fieldType>
<dependency>
<name>dependency</name>
<entityName>Pers_entity</entityName>
<fieldName>RelationPers_dfi</fieldName>
</dependency>
<children>
<entityParameter>
<name>RelationId_param</name>
<code>%aditoprj%/entity/Relation_entity/entityfields/relationpers_dfo/children/relationid_param/code.js</code>
</entityParameter>
</children>
</entityOutgoingField>
<entityOutgoingField>
<name>RelationOrg_dfo</name>
<fieldType>DEPENDENCY_OUT</fieldType>
<dependency>
<name>dependency</name>
<entityName>Org_entity</entityName>
<fieldName>Org_dfi</fieldName>
</dependency>
<children>
<entityParameter>
<name>relationId_param</name>
<code>%aditoprj%/entity/Relation_entity/entityfields/relationorg_dfo/children/relationid_param/code.js</code>
</entityParameter>
</children>
</entityOutgoingField>
<entityIncomingField>
<name>ProductRelation_dfi</name>
<fieldType>DEPENDENCY_IN</fieldType>
<recordContainer>db</recordContainer>
<dependencies>
<entityDependency>
<name>ad58b5da-132a-46a8-abee-0671bfd2e006</name>
<entityName>Product_entity</entityName>
<fieldName>ProductRelation_dfo</fieldName>
<isOutgoing v="false" />
</entityDependency>
</dependencies>
</entityIncomingField>
<entityField>
<name>ORG_NAME</name>
<title>Organisation name</title>
</entityField>
<entityField>
<name>PERS_FIRSTNAME</name>
<title>Firstname</title>
</entityField>
<entityField>
<name>PERS_LASTNAME</name>
<title>Lastname</title>
</entityField>

Johannes Hörmann
committed
<entityIncomingField>
<name>ContractRelation_dfi</name>
<fieldType>DEPENDENCY_IN</fieldType>
<recordContainer>db</recordContainer>
<dependencies>
<entityDependency>
<name>c57332c1-19c2-466d-a59f-35f78ecb47af</name>

Johannes Hörmann
committed
<entityName>Contract_entity</entityName>
<fieldName>ContractRelation_dfo</fieldName>
<isOutgoing v="false" />
</entityDependency>
</dependencies>
</entityIncomingField>
<entityIncomingField>
<name>OfferRelation_dfi</name>
<fieldType>DEPENDENCY_IN</fieldType>
<recordContainer>db</recordContainer>
<dependencies>
<entityDependency>
<name>26d3e9ec-5a60-4108-b699-b8ba566f4832</name>
<entityName>Offer_entity</entityName>
<fieldName>OfferRelation_dfo</fieldName>
<isOutgoing v="false" />
</entityDependency>
</dependencies>
</entityIncomingField>
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
</entityFields>
<recordContainers>
<dbRecordContainer>
<name>db</name>
<alias>Data_alias</alias>
<fromClauseProcess>%aditoprj%/entity/Relation_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
<linkInformation>
<linkInformation>
<name>7b3fa460-44a1-40f3-89e3-1625ce9c6bb3</name>
<tableName>RELATION</tableName>
<primaryKey>RELATIONID</primaryKey>
<isUIDTable v="true" />
<readonly v="false" />
</linkInformation>
<linkInformation>
<name>6786a204-2cea-42ae-857d-4335bad6b5e4</name>
<tableName>ORG</tableName>
<primaryKey>ORGID</primaryKey>
<isUIDTable v="false" />
<readonly v="true" />
</linkInformation>
<linkInformation>
<name>d15ccb84-6928-4c44-b940-0f5d04826b55</name>
<tableName>PERS</tableName>
<primaryKey>PERSID</primaryKey>
<isUIDTable v="false" />
<readonly v="true" />
</linkInformation>
<linkInformation>
<name>b778622f-449a-4185-b7cb-9b373ba4024f</name>
<tableName>ADDRESS</tableName>
<primaryKey>ADDRESSID</primaryKey>
<isUIDTable v="false" />
<readonly v="true" />
</linkInformation>
</linkInformation>
<recordFieldMappings>
<dbRecordFieldMapping>
<name>ADDRESS_ID.value</name>
<recordfield>RELATION.ADDRESS_ID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DATE_EDIT.value</name>
<recordfield>RELATION.DATE_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DATE_NEW.value</name>
<recordfield>RELATION.DATE_NEW</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>LANGUAGE.value</name>
<recordfield>RELATION.LANGUAGE</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>ORG_ID.value</name>
<recordfield>RELATION.ORG_ID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>PERS_ID.value</name>
<recordfield>RELATION.PERS_ID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>RELATIONID.value</name>
<recordfield>RELATION.RELATIONID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>STATUS.value</name>
<recordfield>RELATION.STATUS</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_EDIT.value</name>
<recordfield>RELATION.USER_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_NEW.value</name>
<recordfield>RELATION.USER_NEW</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>ORG_NAME.value</name>
<recordfield>ORG.NAME</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>PERS_FIRSTNAME.value</name>
<recordfield>PERS.FIRSTNAME</recordfield>
<dbRecordFieldMapping>
<name>PERS_LASTNAME.value</name>
<recordfield>PERS.LASTNAME</recordfield>
</dbRecordFieldMapping>
</recordFieldMappings>
</dbRecordContainer>
</recordContainers>
</entity>