Something went wrong on our end
-
Sebastian Listl authored
#1064056: Implement classification sorting See merge request xrm/basic!339
Sebastian Listl authored#1064056: Implement classification sorting See merge request xrm/basic!339
ClassificationScore_entity.aod 5.57 KiB
<?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.3.15" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.15">
<name>ClassificationScore_entity</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/ClassificationScore_entity/documentation.adoc</documentation>
<title>Possible Value</title>
<contentTitleProcess>%aditoprj%/entity/ClassificationScore_entity/contentTitleProcess.js</contentTitleProcess>
<titlePlural>Possible Values</titlePlural>
<recordContainer>db</recordContainer>
<entityFields>
<entityProvider>
<name>#PROVIDER</name>
</entityProvider>
<entityField>
<name>CLASSIFICATIONSCOREID</name>
<valueProcess>%aditoprj%/entity/ClassificationScore_entity/entityfields/classificationscoreid/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>TITLE</name>
<title>Title</title>
<mandatory v="true" />
<displayValueProcess>%aditoprj%/entity/ClassificationScore_entity/entityfields/title/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>CLASSIFICATIONTYPE_ID</name>
<valueProcess>%aditoprj%/entity/ClassificationScore_entity/entityfields/classificationtype_id/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/ClassificationScore_entity/entityfields/classificationtype_id/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>SORT</name>
<title>Sorting</title>
<mandatory v="true" />
</entityField>
<entityField>
<name>SCORE</name>
<title>Score</title>
<contentType>NUMBER</contentType>
<outputFormat>#,##0.00</outputFormat>
<inputFormat>#,##0.00</inputFormat>
<mandatory v="true" />
</entityField>
<entityProvider>
<name>ClassificationScores</name>
<sortingField>SORT</sortingField>
<documentation>%aditoprj%/entity/ClassificationScore_entity/entityfields/classificationscores/documentation.adoc</documentation>
<children>
<entityParameter>
<name>ClassificationGroup_param</name>
<expose v="true" />
<mandatory v="true" />
</entityParameter>
<entityParameter>
<name>ClassificationTypeId_param</name>
<expose v="true" />
<mandatory v="true" />
</entityParameter>
<entityParameter>
<name>ClassificationType_param</name>
<expose v="true" />
<mandatory v="true" />
</entityParameter>
</children>
</entityProvider>
<entityParameter>
<name>ClassificationTypeId_param</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityField>
<name>MaxValue</name>
<valueProcess>%aditoprj%/entity/ClassificationScore_entity/entityfields/maxvalue/valueProcess.js</valueProcess>
</entityField>
<entityParameter>
<name>ClassificationGroup_param</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityParameter>
<name>ClassificationType_param</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
</entityFields>
<recordContainers>
<dbRecordContainer>
<name>db</name>
<alias>Data_alias</alias>
<conditionProcess>%aditoprj%/entity/ClassificationScore_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
<orderClauseProcess>%aditoprj%/entity/ClassificationScore_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
<onDBInsert>%aditoprj%/entity/ClassificationScore_entity/recordcontainers/db/onDBInsert.js</onDBInsert>
<onDBUpdate>%aditoprj%/entity/ClassificationScore_entity/recordcontainers/db/onDBUpdate.js</onDBUpdate>
<onDBDelete>%aditoprj%/entity/ClassificationScore_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
<linkInformation>
<linkInformation>
<name>e2fecaf8-bc95-4a4d-bd96-88731568b1a4</name>
<tableName>CLASSIFICATIONSCORE</tableName>
<primaryKey>CLASSIFICATIONSCOREID</primaryKey>
<isUIDTable v="true" />
<readonly v="false" />
</linkInformation>
</linkInformation>
<recordFieldMappings>
<dbRecordFieldMapping>
<name>CLASSIFICATIONSCOREID.value</name>
<recordfield>CLASSIFICATIONSCORE.CLASSIFICATIONSCOREID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>SCORE.value</name>
<recordfield>CLASSIFICATIONSCORE.SCORE</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>SORT.value</name>
<recordfield>CLASSIFICATIONSCORE.SORT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TITLE.value</name>
<recordfield>CLASSIFICATIONSCORE.TITLE</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>CLASSIFICATIONTYPE_ID.value</name>
<recordfield>CLASSIFICATIONSCORE.CLASSIFICATIONTYPE_ID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>CLASSIFICATIONTYPE_ID.displayValue</name>
<expression>%aditoprj%/entity/ClassificationScore_entity/recordcontainers/db/recordfieldmappings/classificationtype_id.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
</recordFieldMappings>
</dbRecordContainer>
</recordContainers>
</entity>