-
a.schindlbeck authoreda.schindlbeck authored
SupportTicket_entity.aod 23.98 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.14" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.14">
<name>SupportTicket_entity</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/SupportTicket_entity/documentation.adoc</documentation>
<title>Support Ticket</title>
<contentTitleProcess>%aditoprj%/entity/SupportTicket_entity/contentTitleProcess.js</contentTitleProcess>
<afterUiInit>%aditoprj%/entity/SupportTicket_entity/afterUiInit.js</afterUiInit>
<onValidation>%aditoprj%/entity/SupportTicket_entity/onValidation.js</onValidation>
<useFavorites v="true" />
<iconId>VAADIN:CHAT</iconId>
<imageProcess>%aditoprj%/entity/SupportTicket_entity/imageProcess.js</imageProcess>
<titlePlural>Support Tickets</titlePlural>
<recordContainer>db</recordContainer>
<entityFields>
<entityProvider>
<name>#PROVIDER</name>
<dependencies>
<entityDependency>
<name>71f2720a-a7d1-422e-8dc6-4e60d586c812</name>
<entityName>ObjectProxy_entity</entityName>
<fieldName>SupportTickets</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
</entityProvider>
<entityField>
<name>CODE</name>
<title>ticket number</title>
<contentType>NUMBER</contentType>
<outputFormat>0000000</outputFormat>
<inputFormat>0000000</inputFormat>
<state>DISABLED</state>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/code/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>TASK_SUBJECT</name>
<title>subject</title>
<mandatory v="true" />
</entityField>
<entityField>
<name>TASK_STATUS</name>
<title>{$TICKET_STATUS}</title>
<consumer>KeywordTaskState</consumer>
<groupable v="true" />
<mandatory v="true" />
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_status/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_status/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>TASK_PRIORITY</name>
<title>Priority</title>
<consumer>KeywordTaskPriority</consumer>
<groupable v="true" />
<mandatory v="true" />
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_priority/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_priority/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>TASK_REQUESTOR_CONTACT_ID</name>
<title>{$TICKET_REQUESTOR}</title>
<consumer>ContactRequestors</consumer>
<linkedContext>Person</linkedContext>
<mandatory v="true" />
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_requestor_contact_id/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_requestor_contact_id/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>TASK_EDITOR_CONTACT_ID</name>
<title>{$TICKET_EDITOR}</title>
<consumer>ContactEditors</consumer>
<linkedContext>Person</linkedContext>
<displayValueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_editor_contact_id/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>TASK_START_DATE</name>
<title>Begin</title>
<contentType>DATE</contentType>
<resolution>MINUTE</resolution>
<outputFormat>dd.MM.yyyy HH:mm</outputFormat>
<inputFormat>dd.MM.yyyy HH:mm</inputFormat>
<groupable v="true" />
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_start_date/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>TASK_MATURITY_DATE</name>
<title>Maturity</title>
<contentType>DATE</contentType>
<resolution>MINUTE</resolution>
<outputFormat>dd.MM.yyyy HH:mm</outputFormat>
<inputFormat>dd.MM.yyyy HH:mm</inputFormat>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_maturity_date/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>TASK_TYPE</name>
<title>type</title>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_type/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>TASK_DESCRIPTION</name>
<title>description</title>
<contentType>LONG_TEXT</contentType>
</entityField>
<entityField>
<name>TASK_TASKID</name>
<title>TASKID (UID)</title>
<mandatory v="true" />
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_taskid/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>TASK_PRIORITY_ICON</name>
<colorProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_priority_icon/colorProcess.js</colorProcess>
<contentType>IMAGE</contentType>
<state>READONLY</state>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_priority_icon/valueProcess.js</valueProcess>
</entityField>
<entityParameter>
<name>FilterOnlyOwnTicket_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/filteronlyownticket_param/valueProcess.js</valueProcess>
<expose v="true" />
</entityParameter>
<entityConsumer>
<name>Links</name>
<dependency>
<name>dependency</name>
<entityName>TaskLink_entity</entityName>
<fieldName>Link</fieldName>
</dependency>
<children>
<entityParameter>
<name>TaskId_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/links/children/taskid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityConsumer>
<name>Attributes</name>
<stateProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/attributes/stateProcess.js</stateProcess>
<onValidation>%aditoprj%/entity/SupportTicket_entity/entityfields/attributes/onValidation.js</onValidation>
<dependency>
<name>dependency</name>
<entityName>AttributeRelation_entity</entityName>
<fieldName>AttributeRelations</fieldName>
</dependency>
<children>
<entityParameter>
<name>ObjectRowId_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/attributes/children/objectrowid_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>ObjectType_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/attributes/children/objecttype_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>ShowEmpty_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/attributes/children/showempty_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>FilteredAttributeIds_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/attributes/children/filteredattributeids_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>DisplaySimpleName_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/attributes/children/displaysimplename_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityConsumer>
<name>MainDocuments</name>
<stateProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/maindocuments/stateProcess.js</stateProcess>
<dependency>
<name>dependency</name>
<entityName>Document_entity</entityName>
<fieldName>MainDocuments</fieldName>
</dependency>
<children>
<entityParameter>
<name>AssignmentRowId_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/maindocuments/children/assignmentrowid_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>AssignmentTable_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/maindocuments/children/assignmenttable_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityConsumer>
<name>Documents</name>
<selectionMode>MULTI</selectionMode>
<dependency>
<name>dependency</name>
<entityName>Document_entity</entityName>
<fieldName>Documents</fieldName>
</dependency>
<children>
<entityParameter>
<name>AssignmentRowId_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/documents/children/assignmentrowid_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>AssignmentTable_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/documents/children/assignmenttable_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityConsumer>
<name>LogHistories</name>
<dependency>
<name>dependency</name>
<entityName>LogHistory_entity</entityName>
<fieldName>LogHistoryProvider</fieldName>
</dependency>
<children>
<entityParameter>
<name>tablenames_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/loghistories/children/tablenames_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityField>
<name>TASK_PROGRESS</name>
<title>Progress</title>
<consumer>KeywordProgress</consumer>
<mandatory v="true" />
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_progress/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_progress/displayValueProcess.js</displayValueProcess>
</entityField>
<entityConsumer>
<name>KeywordProgress</name>
<dependency>
<name>dependency</name>
<entityName>KeywordEntry_entity</entityName>
<fieldName>SpecificContainerKeywords</fieldName>
</dependency>
<children>
<entityParameter>
<name>ContainerName_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/keywordprogress/children/containername_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityField>
<name>TICKETTYPE</name>
<title>Ticket type</title>
<consumer>KeywordTickettype</consumer>
<mandatory v="true" />
<stateProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/tickettype/stateProcess.js</stateProcess>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/tickettype/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/tickettype/displayValueProcess.js</displayValueProcess>
<onValueChange>%aditoprj%/entity/SupportTicket_entity/entityfields/tickettype/onValueChange.js</onValueChange>
<onValueChangeTypes>
<element>MASK</element>
</onValueChangeTypes>
</entityField>
<entityField>
<name>TICKETID</name>
</entityField>
<entityField>
<name>TASK_ID</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_id/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>TASK_SUBJECT_DETAILS</name>
<title>subject</title>
<linkedContext>SupportTicket</linkedContext>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_subject_details/valueProcess.js</valueProcess>
</entityField>
<entityConsumer>
<name>KeywordTickettype</name>
<dependency>
<name>dependency</name>
<entityName>KeywordEntry_entity</entityName>
<fieldName>SpecificContainerKeywords</fieldName>
</dependency>
<children>
<entityParameter>
<name>ContainerName_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/keywordtickettype/children/containername_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityConsumer>
<name>KeywordTaskState</name>
<dependency>
<name>dependency</name>
<entityName>KeywordEntry_entity</entityName>
<fieldName>SpecificContainerKeywords</fieldName>
</dependency>
<children>
<entityParameter>
<name>ContainerName_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/keywordtaskstate/children/containername_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>WhitelistIds_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/keywordtaskstate/children/whitelistids_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityParameter>
<name>TicketType_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/tickettype_param/valueProcess.js</valueProcess>
<expose v="true" />
</entityParameter>
<entityConsumer>
<name>KeywordTaskPriority</name>
<dependency>
<name>dependency</name>
<entityName>KeywordEntry_entity</entityName>
<fieldName>SpecificContainerKeywords</fieldName>
</dependency>
<children>
<entityParameter>
<name>ContainerName_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/keywordtaskpriority/children/containername_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityConsumer>
<name>ContactEditors</name>
<dependency>
<name>dependency</name>
<entityName>Employee_entity</entityName>
<fieldName>Employees</fieldName>
</dependency>
</entityConsumer>
<entityConsumer>
<name>ContactRequestors</name>
<dependency>
<name>dependency</name>
<entityName>Employee_entity</entityName>
<fieldName>Employees</fieldName>
</dependency>
</entityConsumer>
<entityActionField>
<name>newActivity</name>
<title>New activity</title>
<onActionProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/newactivity/onActionProcess.js</onActionProcess>
<iconId>VAADIN:HOURGLASS_END</iconId>
<tooltipProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/newactivity/tooltipProcess.js</tooltipProcess>
</entityActionField>
<entityActionField>
<name>newTask</name>
<title>New task</title>
<onActionProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/newtask/onActionProcess.js</onActionProcess>
<iconId>VAADIN:TASKS</iconId>
</entityActionField>
<entityConsumer>
<name>ModuleTrees</name>
<dependency>
<name>dependency</name>
<entityName>ModuleTree_entity</entityName>
<fieldName>TreeProviders</fieldName>
</dependency>
<children>
<entityParameter>
<name>ContextName_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/moduletrees/children/contextname_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>ID_param</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/moduletrees/children/id_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityField>
<name>TASK_PARENT_ID</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_parent_id/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>TASK_PARENT_CONTEXT</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/task_parent_context/valueProcess.js</valueProcess>
</entityField>
<entityParameter>
<name>ParentContext_param</name>
<expose v="true" />
</entityParameter>
<entityParameter>
<name>ParentId_param</name>
<expose v="true" />
</entityParameter>
<entityActionField>
<name>newSupportticket</name>
<title>New Support ticket</title>
<onActionProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/newsupportticket/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CHAT</iconId>
</entityActionField>
<entityParameter>
<name>PresetLinks_param</name>
<expose v="true" />
</entityParameter>
<entityParameter>
<name>ObjectId_param</name>
<expose v="true" />
</entityParameter>
<entityParameter>
<name>RowId_param</name>
<expose v="true" />
</entityParameter>
<entityField>
<name>SUPPORTTICKET_OBJECTTYPE</name>
<valueProcess>%aditoprj%/entity/SupportTicket_entity/entityfields/supportticket_objecttype/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>COUNT</name>
<title>Count</title>
<contentType>NUMBER</contentType>
</entityField>
<entityAggregateField>
<name>COUNT_aggregate</name>
<parentField>COUNT</parentField>
<title>Count</title>
</entityAggregateField>
</entityFields>
<recordContainers>
<dbRecordContainer>
<name>db</name>
<alias>Data_alias</alias>
<isRequireContainerFiltering v="true" />
<fromClauseProcess>%aditoprj%/entity/SupportTicket_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
<conditionProcess>%aditoprj%/entity/SupportTicket_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
<orderClauseProcess>%aditoprj%/entity/SupportTicket_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
<onDBInsert>%aditoprj%/entity/SupportTicket_entity/recordcontainers/db/onDBInsert.js</onDBInsert>
<onDBUpdate>%aditoprj%/entity/SupportTicket_entity/recordcontainers/db/onDBUpdate.js</onDBUpdate>
<onDBDelete>%aditoprj%/entity/SupportTicket_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
<linkInformation>
<linkInformation>
<name>512c662b-33f6-4491-bd24-a8b862f2de84</name>
<tableName>TICKET</tableName>
<primaryKey>TICKETID</primaryKey>
<isUIDTable v="true" />
<readonly v="false" />
</linkInformation>
<linkInformation>
<name>4e818524-bb9c-46e7-a336-e48da60c06d1</name>
<tableName>TASK</tableName>
<primaryKey>TASKID</primaryKey>
<isUIDTable v="false" />
<readonly v="false" />
</linkInformation>
</linkInformation>
<recordFieldMappings>
<dbRecordFieldMapping>
<name>CODE.value</name>
<recordfield>TICKET.CODE</recordfield>
<isFilterable v="false" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_DESCRIPTION.value</name>
<recordfield>TASK.DESCRIPTION</recordfield>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_EDITOR_CONTACT_ID.value</name>
<recordfield>TASK.EDITOR_CONTACT_ID</recordfield>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_MATURITY_DATE.value</name>
<recordfield>TASK.MATURITY_DATE</recordfield>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_PRIORITY.value</name>
<recordfield>TASK.PRIORITY</recordfield>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_REQUESTOR_CONTACT_ID.value</name>
<recordfield>TASK.REQUESTOR_CONTACT_ID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_START_DATE.value</name>
<recordfield>TASK.START_DATE</recordfield>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_STATUS.value</name>
<recordfield>TASK.STATUS</recordfield>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_SUBJECT.value</name>
<recordfield>TASK.SUBJECT</recordfield>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_EDITOR_CONTACT_ID.displayValue</name>
<expression>%aditoprj%/entity/SupportTicket_entity/recordcontainers/db/recordfieldmappings/task_editor_contact_id.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_REQUESTOR_CONTACT_ID.displayValue</name>
<expression>%aditoprj%/entity/SupportTicket_entity/recordcontainers/db/recordfieldmappings/task_requestor_contact_id.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_PROGRESS.value</name>
<recordfield>TASK.PROGRESS</recordfield>
<isFilterable v="true" />
<isLookupFilter v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_PROGRESS.displayValue</name>
<expression>%aditoprj%/entity/SupportTicket_entity/recordcontainers/db/recordfieldmappings/task_progress.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_STATUS.displayValue</name>
<expression>%aditoprj%/entity/SupportTicket_entity/recordcontainers/db/recordfieldmappings/task_status.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_TYPE.value</name>
<recordfield>TASK.KIND</recordfield>
<isFilterable v="false" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_ID.value</name>
<recordfield>TICKET.TASK_ID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_TASKID.value</name>
<recordfield>TASK.TASKID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TICKETID.value</name>
<recordfield>TICKET.TICKETID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TICKETTYPE.value</name>
<recordfield>TICKET.TICKETTYPE</recordfield>
<isFilterable v="false" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_PARENT_ID.value</name>
<recordfield>TASK.PARENT_ID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TASK_PARENT_CONTEXT.value</name>
<recordfield>TASK.PARENT_CONTEXT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>COUNT.value</name>
<expression>%aditoprj%/entity/SupportTicket_entity/recordcontainers/db/recordfieldmappings/count.value/expression.js</expression>
</dbRecordFieldMapping>
<aggregateFieldDbMapping>
<name>COUNT_aggregate.value</name>
<recordfield>TICKET.TICKETID</recordfield>
<aggregateType>COUNT</aggregateType>
</aggregateFieldDbMapping>
</recordFieldMappings>
</dbRecordContainer>
</recordContainers>
</entity>