Skip to content
Snippets Groups Projects
Commit fe46dcc8 authored by Andre Loreth's avatar Andre Loreth
Browse files

#1034869: Aktivität aus Aufgabe erstellen und Aufgabe aus Aktivität erstellen

parent e30347e5
No related branches found
No related tags found
No related merge requests found
Showing
with 100 additions and 0 deletions
import("system.neon");
import("system.vars");
var params = {
"ParentId_param": vars.get("$field.TASKID"),
"ParentContext_param": "Task"
};
neon.openContext("Activity", "ActivityEdit_view", null, neon.OPERATINGSTATE_NEW, params)
\ No newline at end of file
import("system.neon");
import("system.vars");
var params = {
"ParentId_param": vars.get("$field.TASKID"),
"ParentContext_param": "Task"
};
neon.openContext("Task", "TaskEdit_view", null, neon.OPERATINGSTATE_NEW, params)
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$param.ParentContext_param"));
import("system.vars");
import("system.result");
import("system.logging");
result.string(vars.get("$param.ParentId_param"));
<?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>ModuleTree</name>
<title>Tree</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<entity>ModuleTree_entity</entity>
<references>
<neonViewReference>
<name>90d2e21e-1231-418e-8729-d29f2453dfdd</name>
<view>ModuleTree_view</view>
</neonViewReference>
</references>
</neonContext>
......@@ -29,5 +29,10 @@
<entityField>Links</entityField>
<view>ActivityLinkFilter_view</view>
</neonViewReference>
<neonViewReference>
<name>f6c6888a-f3d6-410a-b97b-30c34a9dd6a2</name>
<entityField>ModuleTrees</entityField>
<view>ModuleTree_view</view>
</neonViewReference>
</children>
</neonView>
<?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.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.0.1">
<name>ModuleTree_view</name>
<title>Tree</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<layout>
<boxLayout>
<name>layout</name>
</boxLayout>
</layout>
<children>
<treetableViewTemplate>
<name>Treetable</name>
<parentField>PARENT_ID</parentField>
<favoriteActionGroup3></favoriteActionGroup3>
<titleField>TITLE</titleField>
<descriptionField>DESCRIPTION</descriptionField>
<iconField>ICON</iconField>
<entityField>#ENTITY</entityField>
<title></title>
</treetableViewTemplate>
</children>
</neonView>
......@@ -39,5 +39,10 @@
<entityField>MainDocuments</entityField>
<view>DocumentFilter_view</view>
</neonViewReference>
<neonViewReference>
<name>4211b2cf-3a1f-4447-ad1c-f521d2d3f258</name>
<entityField>ModuleTrees</entityField>
<view>ModuleTree_view</view>
</neonViewReference>
</children>
</neonView>
<?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="a.loreth" id="31d7b6f2-c376-4bfa-ba42-9aab6f07737c">
<addColumn
tableName="ACTIVITY">
<column name="PARENT_CONTEXT" type="VARCHAR(64)" />
<column name="PARENT_ID" type="CHAR(36)" />
</addColumn>
</changeSet>
</databaseChangeLog>
<?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="a.loreth" id="a1890934-4f52-4623-a587-9d690505bbaf">
<addColumn
tableName="TASK">
<column name="PARENT_CONTEXT" type="VARCHAR(64)" />
<column name="PARENT_ID" type="CHAR(36)" />
</addColumn>
</changeSet>
</databaseChangeLog>
......@@ -37,6 +37,9 @@
<include file="data_alias/struct/create_timetracking.xml"/>
<include file="data_alias/struct/create_task.xml"/>
<include file="data_alias/struct/task_add_parent.xml" />
<include file="data_alias/struct/activity_add_parent.xml" />
<include file="data_alias/data/example_organisation/ORGANISATION_privat.xml"/>
<include file="data_alias/data/example_organisation/ORGANISATION_gfk.xml"/>
<include file="data_alias/data/example_organisation/ORGANISATION_mnf.xml"/>
......
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