Skip to content
Snippets Groups Projects
Commit dc0f3c0f authored by Gerhard Bachmaier's avatar Gerhard Bachmaier
Browse files

1066187: Gebiet - auto-zuordnung

parent 3ae4b6fd
No related branches found
No related tags found
No related merge requests found
<?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="Gerhard Bachmaier" id="3a1bb059-c040-435b-8978-bfddb1a6e2d4">
<addColumn tableName="DISTRICT">
<column name="DISTRICT_AUTOADD" type="SMALLINT(5)" />
</addColumn>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
......@@ -9,4 +9,5 @@
<include relativeToChangelogFile="true" file="insert_KeywordsDistrictOrigin.xml"/>
<include relativeToChangelogFile="true" file="alter_districtResponsibleDatatypes.xml"/>
<include relativeToChangelogFile="true" file="insert_KeywordsAdviserRoles.xml"/>
<include relativeToChangelogFile="true" file="alter_district_1066187.xml"/>
</databaseChangeLog>
......@@ -15576,6 +15576,20 @@
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DISTRICT_AUTOADD</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="5" />
<size v="5" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields>
</entityDb>
<entityDb>
......
......@@ -251,6 +251,13 @@
</entityParameter>
</children>
</entityConsumer>
<entityField>
<name>DISTRICT_AUTOADD</name>
<title>Auto assignment</title>
<contentType>BOOLEAN</contentType>
<dropDownProcess>%aditoprj%/entity/District_entity/entityfields/district_autoadd/dropDownProcess.js</dropDownProcess>
<valueProcess>%aditoprj%/entity/District_entity/entityfields/district_autoadd/valueProcess.js</valueProcess>
</entityField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......@@ -355,6 +362,11 @@
<name>totalTurnover.value</name>
<isLookupFilter v="false" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DISTRICT_AUTOADD.value</name>
<recordfield>DISTRICT.DISTRICT_AUTOADD</recordfield>
<isFilterable v="true" />
</dbRecordFieldMapping>
</recordFieldMappings>
</dbRecordContainer>
</recordContainers>
......
import("system.translate");
import("system.result");
result.object([
["1", translate.text("Yes")]
,["0", translate.text("No")]
]);
\ No newline at end of file
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
result.string("0");
\ No newline at end of file
......@@ -34,6 +34,10 @@
<name>941cb436-8b93-427d-ae2d-3731e55dd040</name>
<entityField>DISTRICT_STATUS</entityField>
</entityFieldLink>
<entityFieldLink>
<name>b7e851f6-0492-4298-98dd-87abb5d01255</name>
<entityField>DISTRICT_AUTOADD</entityField>
</entityFieldLink>
<entityFieldLink>
<name>f77428c6-eaff-4554-aedb-cf56d4c573d6</name>
<entityField>PARENTDISTRICT_DISTRICTID</entityField>
......
......@@ -44,6 +44,10 @@
<name>87184bb1-4d44-4872-bae7-9be903f71354</name>
<entityField>DISTRICT_STATUS</entityField>
</neonTreeTableColumn>
<neonTreeTableColumn>
<name>07781cf0-39f7-4338-8776-a936e2ac9f6e</name>
<entityField>DISTRICT_AUTOADD</entityField>
</neonTreeTableColumn>
</columns>
</treeTableViewTemplate>
</children>
......
......@@ -39,6 +39,10 @@
<name>98be594e-6209-4046-b0e9-07200c8c294e</name>
<entityField>DISTRICT_STATUS</entityField>
</entityFieldLink>
<entityFieldLink>
<name>82a03e53-5373-485c-b0e7-9ec72d7bece5</name>
<entityField>DISTRICT_AUTOADD</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
<scoreCardViewTemplate>
......
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